Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 99.66 kB / 18.94 MB, free: 2.84 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001484/0.001484, allocations: 220 kB / 22.24 MB, free: 5.109 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 230.6 MB / 256 MB, free: 7.832 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.151/3.151, allocations: 0.4892 GB / 0.7943 GB, free: 35.66 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002994/0.002994, allocations: 67.08 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3443, allocations: 176.1 MB / 1.325 GB, free: 2.375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.04182/0.3861, allocations: 31.52 MB / 1.356 GB, free: 2.758 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01884/0.4049, allocations: 10.29 MB / 1.366 GB, free: 8.438 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002795/0.4077, allocations: 190.6 kB / 1.366 GB, free: 8.25 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01021/0.4179, allocations: 3.73 MB / 1.37 GB, free: 4.512 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.005868/0.4238, allocations: 1.952 MB / 1.372 GB, free: 2.551 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.006077/0.4299, allocations: 2.142 MB / 1.374 GB, free: 420 kB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.009785/0.4397, allocations: 7.322 MB / 1.381 GB, free: 9.062 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009231/0.4489, allocations: 5.1 MB / 1.386 GB, free: 3.84 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005307/0.4542, allocations: 3.287 MB / 1.389 GB, free: 0.543 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00594/0.4602, allocations: 3.453 MB / 1.392 GB, free: 13.07 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001738/0.4619, allocations: 0.6484 MB / 1.393 GB, free: 12.43 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004123/0.466, allocations: 1.657 MB / 1.395 GB, free: 10.77 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.003816/0.4698, allocations: 2.619 MB / 1.397 GB, free: 8.145 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.004978/0.4748, allocations: 2.335 MB / 1.4 GB, free: 5.801 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.0134/0.4882, allocations: 10.18 MB / 1.409 GB, free: 11.59 MB / 1.108 GB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.4882, allocations: 4 kB / 1.409 GB, free: 11.58 MB / 1.108 GB Notification: Performance of FrontEnd: time 1.563e-06/0.4882, allocations: 0 / 1.409 GB, free: 11.58 MB / 1.108 GB Notification: Performance of Transformations before backend: time 0.0002833/0.4885, allocations: 0 / 1.409 GB, free: 11.58 MB / 1.108 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01237/0.5009, allocations: 5.041 MB / 1.414 GB, free: 6.48 MB / 1.108 GB Notification: Performance of prepare preOptimizeDAE: time 4.68e-05/0.5009, allocations: 16.03 kB / 1.414 GB, free: 6.465 MB / 1.108 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001071/0.502, allocations: 0.682 MB / 1.415 GB, free: 5.773 MB / 1.108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004936/0.5069, allocations: 0.9735 MB / 1.416 GB, free: 4.797 MB / 1.108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007037/0.514, allocations: 3.007 MB / 1.419 GB, free: 1.719 MB / 1.108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003037/0.5143, allocations: 345.7 kB / 1.419 GB, free: 1.379 MB / 1.108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000818/0.5151, allocations: 460.3 kB / 1.42 GB, free: 0.9297 MB / 1.108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01297/0.5281, allocations: 7.98 MB / 1.428 GB, free: 8.527 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001234/0.5282, allocations: 19.83 kB / 1.428 GB, free: 8.508 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004646/0.5287, allocations: 200 kB / 1.428 GB, free: 8.312 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003665/0.529, allocations: 316.9 kB / 1.428 GB, free: 8 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01009/0.5391, allocations: 5.702 MB / 1.434 GB, free: 2.281 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03148/0.5706, allocations: 22.69 MB / 1.456 GB, free: 10.93 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002591/0.5732, allocations: 1.544 MB / 1.457 GB, free: 9.383 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001617/0.5748, allocations: 1.12 MB / 1.458 GB, free: 8.262 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 6.978e-05/0.5749, allocations: 21.25 kB / 1.458 GB, free: 8.238 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.884e-05/0.5749, allocations: 47.86 kB / 1.458 GB, free: 8.184 MB / 1.154 GB Notification: Performance of pre-optimization done (n=133): time 3.226e-06/0.5749, allocations: 0 / 1.458 GB, free: 8.184 MB / 1.154 GB Notification: Performance of matching and sorting (n=136): time 0.01371/0.5886, allocations: 6.207 MB / 1.465 GB, free: 1.934 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.151e-05/0.5887, allocations: 64.72 kB / 1.465 GB, free: 1.859 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002089/0.5908, allocations: 1.523 MB / 1.466 GB, free: 296 kB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 9.554e-05/0.5909, allocations: 49.7 kB / 1.466 GB, free: 240 kB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001545/0.5924, allocations: 2.073 MB / 1.468 GB, free: 14.14 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004584/0.5929, allocations: 0.4997 MB / 1.469 GB, free: 13.64 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005282/0.5934, allocations: 347.4 kB / 1.469 GB, free: 13.29 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001388/0.5935, allocations: 301.1 kB / 1.469 GB, free: 12.99 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/0.5949, allocations: 0.9174 MB / 1.47 GB, free: 12.07 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001981/0.5969, allocations: 1.597 MB / 1.472 GB, free: 10.17 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003661/0.6006, allocations: 2.733 MB / 1.474 GB, free: 7.121 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.6006, allocations: 4 kB / 1.474 GB, free: 7.117 MB / 1.17 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006343/0.6069, allocations: 3.516 MB / 1.478 GB, free: 3.555 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.117e-05/0.6069, allocations: 16 kB / 1.478 GB, free: 3.539 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.272e-05/0.607, allocations: 23.94 kB / 1.478 GB, free: 3.516 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002693/0.6097, allocations: 0.9081 MB / 1.479 GB, free: 2.57 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001165/0.6108, allocations: 347.4 kB / 1.479 GB, free: 2.23 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02317/0.634, allocations: 21.73 MB / 1.5 GB, free: 11.13 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001657/0.6357, allocations: 107.9 kB / 1.5 GB, free: 11.02 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/0.6358, allocations: 84 kB / 1.5 GB, free: 10.94 MB / 1.201 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002757/0.6386, allocations: 1.61 MB / 1.502 GB, free: 9.32 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003567/0.6389, allocations: 214.6 kB / 1.502 GB, free: 9.109 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005577/0.6445, allocations: 2.967 MB / 1.505 GB, free: 6.094 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.298e-05/0.6445, allocations: 12 kB / 1.505 GB, free: 6.082 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.267e-05/0.6445, allocations: 8 kB / 1.505 GB, free: 6.074 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.338e-05/0.6446, allocations: 15.97 kB / 1.505 GB, free: 6.059 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/0.6568, allocations: 6.707 MB / 1.512 GB, free: 15.2 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.676e-06/0.6568, allocations: 8 kB / 1.512 GB, free: 15.19 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007934/0.6576, allocations: 179.7 kB / 1.512 GB, free: 15.02 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002499/0.6601, allocations: 0.8264 MB / 1.513 GB, free: 14.15 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.706e-05/0.6602, allocations: 32 kB / 1.513 GB, free: 14.12 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02119/0.6814, allocations: 20.59 MB / 1.533 GB, free: 8.152 MB / 1.233 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.6814, allocations: 8.094 kB / 1.533 GB, free: 8.145 MB / 1.233 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005436/0.6868, allocations: 3.022 MB / 1.536 GB, free: 5 MB / 1.233 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001149/0.688, allocations: 390.5 kB / 1.536 GB, free: 4.617 MB / 1.233 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/0.6882, allocations: 32 kB / 1.536 GB, free: 4.586 MB / 1.233 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000792/0.689, allocations: 71.91 kB / 1.536 GB, free: 4.516 MB / 1.233 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003543/0.6893, allocations: 132.6 kB / 1.536 GB, free: 4.387 MB / 1.233 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.661e-05/0.6894, allocations: 36 kB / 1.536 GB, free: 4.352 MB / 1.233 GB Notification: Performance of sorting global known variables: time 0.001451/0.6909, allocations: 0.9795 MB / 1.537 GB, free: 3.348 MB / 1.233 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6909, allocations: 0 / 1.537 GB, free: 3.348 MB / 1.233 GB Notification: Performance of remove unused functions: time 0.002555/0.6934, allocations: 0.7852 MB / 1.538 GB, free: 2.562 MB / 1.233 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005562/0.699, allocations: 3.603 MB / 1.542 GB, free: 14.85 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.006192/0.7052, allocations: 3.918 MB / 1.546 GB, free: 10.77 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.7052, allocations: 3.938 kB / 1.546 GB, free: 10.77 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.00397/0.7092, allocations: 2.666 MB / 1.548 GB, free: 7.945 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003152/0.7123, allocations: 0.7349 MB / 1.549 GB, free: 7.234 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03806/0.7504, allocations: 22.52 MB / 1.571 GB, free: 15.69 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003643/0.754, allocations: 2.565 MB / 1.573 GB, free: 13.09 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001387/0.7554, allocations: 454 kB / 1.574 GB, free: 12.65 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001992/0.7574, allocations: 1.538 MB / 1.575 GB, free: 11.11 MB / 1.279 GB Notification: Performance of SimCode: time 1.102e-06/0.7574, allocations: 0 / 1.575 GB, free: 11.11 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8049/1.562, allocations: 65.75 MB / 1.639 GB, free: 247.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.28/14.84, allocations: 2.188 kB / 1.639 GB, free: 247.1 MB / 1.295 GB " [Timeout remaining time 285] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.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: 21.941286502871662]