Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001329/0.001329, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.461/1.461, allocations: 225.6 MB / 247.8 MB, free: 3.715 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.826/2.826, allocations: 476.7 MB / 0.7611 GB, free: 15.83 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001941/0.001941, allocations: 63.89 kB / 1.104 GB, free: 6.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8994/0.9014, allocations: 168.7 MB / 1.269 GB, free: 7.637 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine): time 0.01566/0.917, allocations: 14.25 MB / 1.283 GB, free: 14.01 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0159/0.9329, allocations: 9.51 MB / 1.292 GB, free: 7.535 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001556/0.9345, allocations: 58.91 kB / 1.292 GB, free: 7.512 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.004683/0.9392, allocations: 1.691 MB / 1.294 GB, free: 6.504 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.004986/0.9441, allocations: 1.572 MB / 1.295 GB, free: 5.57 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002307/0.9464, allocations: 0.7644 MB / 1.296 GB, free: 5.172 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003732/0.9502, allocations: 2.506 MB / 1.298 GB, free: 4.016 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001894/0.9521, allocations: 1.133 MB / 1.299 GB, free: 3.449 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002445/0.9545, allocations: 1.066 MB / 1.301 GB, free: 3.008 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002385/0.9569, allocations: 1.217 MB / 1.302 GB, free: 2.508 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003137/0.9572, allocations: 165.4 kB / 1.302 GB, free: 2.508 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001832/0.9591, allocations: 0.8077 MB / 1.303 GB, free: 2.273 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0008231/0.9599, allocations: 0.6316 MB / 1.303 GB, free: 1.973 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001433/0.9613, allocations: 0.9411 MB / 1.304 GB, free: 1.395 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.004552/0.9659, allocations: 2.769 MB / 1.307 GB, free: 436 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.9659, allocations: 1.156 kB / 1.307 GB, free: 436 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.703e-06/0.9659, allocations: 0 / 1.307 GB, free: 436 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.821e-05/0.9659, allocations: 0 / 1.307 GB, free: 436 kB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.00556/0.9715, allocations: 2.193 MB / 1.309 GB, free: 15.05 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.9715, allocations: 9.438 kB / 1.309 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002793/0.9718, allocations: 194.6 kB / 1.309 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01136/0.9832, allocations: 2.09 MB / 1.311 GB, free: 14.8 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00375/0.9869, allocations: 1.307 MB / 1.313 GB, free: 14.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.78e-05/0.987, allocations: 86.58 kB / 1.313 GB, free: 14.04 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004614/0.9875, allocations: 121.4 kB / 1.313 GB, free: 13.99 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007599/0.9951, allocations: 2.682 MB / 1.315 GB, free: 12.91 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.639e-05/0.9952, allocations: 12.14 kB / 1.315 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002306/0.9954, allocations: 54.83 kB / 1.315 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006358/0.996, allocations: 175 kB / 1.316 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008219/1.004, allocations: 2.801 MB / 1.318 GB, free: 12.12 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01918/1.023, allocations: 10.47 MB / 1.329 GB, free: 4.898 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006854/1.03, allocations: 2.447 MB / 1.331 GB, free: 4.129 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003245/1.034, allocations: 1.22 MB / 1.332 GB, free: 3.609 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.169e-05/1.034, allocations: 12.44 kB / 1.332 GB, free: 3.605 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.999e-05/1.034, allocations: 41.03 kB / 1.332 GB, free: 3.559 MB / 1.029 GB Notification: Performance of pre-optimization done (n=89): time 3.116e-06/1.034, allocations: 0 / 1.332 GB, free: 3.559 MB / 1.029 GB Notification: Performance of matching and sorting (n=131): time 0.04672/1.08, allocations: 13.34 MB / 1.345 GB, free: 12.62 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.665e-05/1.08, allocations: 69.09 kB / 1.345 GB, free: 12.56 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001624/1.082, allocations: 1.117 MB / 1.346 GB, free: 11.94 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001676/1.082, allocations: 47.14 kB / 1.346 GB, free: 11.89 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006179/1.083, allocations: 0.7279 MB / 1.347 GB, free: 11.25 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005198/1.083, allocations: 477.2 kB / 1.348 GB, free: 10.83 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005333/1.084, allocations: 262.5 kB / 1.348 GB, free: 10.68 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001822/1.084, allocations: 360.2 kB / 1.348 GB, free: 10.34 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003303/1.087, allocations: 1.346 MB / 1.349 GB, free: 9.645 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003532/1.091, allocations: 1.599 MB / 1.351 GB, free: 8.645 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006976/1.098, allocations: 2.996 MB / 1.354 GB, free: 6.914 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.244e-06/1.098, allocations: 2.938 kB / 1.354 GB, free: 6.914 MB / 1.045 GB Notification: Performance of matching and sorting (n=168) (initialization): time 0.01257/1.11, allocations: 4.405 MB / 1.358 GB, free: 4.48 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.769e-05/1.11, allocations: 7.656 kB / 1.358 GB, free: 4.48 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/1.111, allocations: 11.56 kB / 1.358 GB, free: 4.477 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005554/1.116, allocations: 1.435 MB / 1.36 GB, free: 3.688 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002158/1.118, allocations: 437 kB / 1.36 GB, free: 3.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03263/1.151, allocations: 26.7 MB / 1.386 GB, free: 10.15 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002797/1.154, allocations: 303.5 kB / 1.386 GB, free: 9.855 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001842/1.154, allocations: 63.97 kB / 1.387 GB, free: 9.793 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(2,4,100.0%), (1,1,100.0%), (2,4,100.0%), (3,9,100.0%), (1,1,100.0%), (1,1,100.0%), (3,9,100.0%), (3,9,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001028/1.155, allocations: 435 kB / 1.387 GB, free: 9.359 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003866/1.155, allocations: 167 kB / 1.387 GB, free: 9.195 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01189/1.167, allocations: 4.414 MB / 1.391 GB, free: 4.73 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.855e-05/1.167, allocations: 12 kB / 1.391 GB, free: 4.719 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.435e-05/1.167, allocations: 12 kB / 1.391 GB, free: 4.707 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.356e-05/1.167, allocations: 11.97 kB / 1.391 GB, free: 4.695 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01758/1.185, allocations: 6.721 MB / 1.398 GB, free: 13.8 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/1.185, allocations: 4 kB / 1.398 GB, free: 13.8 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001975/1.187, allocations: 379.3 kB / 1.398 GB, free: 13.43 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00517/1.192, allocations: 1.311 MB / 1.4 GB, free: 12.08 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002113/1.192, allocations: 35.97 kB / 1.4 GB, free: 12.04 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03238/1.225, allocations: 25.51 MB / 1.425 GB, free: 0.707 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.005e-06/1.225, allocations: 4 kB / 1.425 GB, free: 0.7031 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01364/1.238, allocations: 4.168 MB / 1.429 GB, free: 12.44 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/1.24, allocations: 463.8 kB / 1.429 GB, free: 11.97 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002768/1.24, allocations: 24 kB / 1.429 GB, free: 11.95 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001981/1.242, allocations: 311.5 kB / 1.429 GB, free: 11.64 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004132/1.242, allocations: 128.7 kB / 1.43 GB, free: 11.52 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001285/1.242, allocations: 51.97 kB / 1.43 GB, free: 11.46 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001228/1.244, allocations: 0.7526 MB / 1.43 GB, free: 10.71 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/1.244, allocations: 0 / 1.43 GB, free: 10.71 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.002546/1.246, allocations: 0.5664 MB / 1.431 GB, free: 10.14 MB / 1.123 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 13 systems {(1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (3,9,100.0%), (1,1,100.0%), (2,4,100.0%), (1,1,100.0%), (1,1,100.0%), (3,7,100.0%), (2,4,100.0%), (3,9,100.0%), (2,4,100.0%), (3,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01178/1.258, allocations: 4.763 MB / 1.436 GB, free: 5.277 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01256/1.271, allocations: 4.959 MB / 1.44 GB, free: 148 kB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/1.271, allocations: 4 kB / 1.44 GB, free: 144 kB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.007451/1.278, allocations: 3.425 MB / 1.444 GB, free: 12.55 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/1.281, allocations: 0.5513 MB / 1.444 GB, free: 12.01 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04668/1.327, allocations: 19.31 MB / 1.463 GB, free: 8.246 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001446/1.329, allocations: 1.473 MB / 1.465 GB, free: 6.738 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001737/1.331, allocations: 429.6 kB / 1.465 GB, free: 6.312 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009785/1.332, allocations: 0.6281 MB / 1.466 GB, free: 5.684 MB / 1.154 GB Notification: Performance of SimCode: time 1.382e-06/1.332, allocations: 0 / 1.466 GB, free: 5.684 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1637/1.495, allocations: 51.98 MB / 1.516 GB, free: 2.328 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.92/20.42, allocations: 12 kB / 1.516 GB, free: 2.316 MB / 1.201 GB " [Timeout remaining time 279] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 26.70365791209042]