Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.001573/0.001573, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001729/0.001729, allocations: 220.4 kB / 23.03 MB, free: 4.945 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.411/1.411, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.659/2.659, allocations: 476.8 MB / 0.7715 GB, free: 3.824 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="cs",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.001918/0.001918, allocations: 61.12 kB / 1.118 GB, free: 39.68 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.2946, allocations: 170 MB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0403/0.3349, allocations: 33.63 MB / 1.317 GB, free: 8.863 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01731/0.3522, allocations: 9.996 MB / 1.327 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003152/0.3553, allocations: 190.6 kB / 1.327 GB, free: 14.65 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.01033/0.3656, allocations: 3.813 MB / 1.331 GB, free: 10.83 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.006364/0.372, allocations: 2.161 MB / 1.333 GB, free: 8.66 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.005463/0.3775, allocations: 1.963 MB / 1.335 GB, free: 6.699 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01012/0.3876, allocations: 7.968 MB / 1.342 GB, free: 14.71 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009769/0.3974, allocations: 5.285 MB / 1.348 GB, free: 9.301 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005636/0.403, allocations: 3.49 MB / 1.351 GB, free: 5.801 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0065/0.4095, allocations: 3.933 MB / 1.355 GB, free: 1.855 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.001868/0.4114, allocations: 0.6797 MB / 1.356 GB, free: 1.176 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003641/0.415, allocations: 1.366 MB / 1.357 GB, free: 15.8 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.003997/0.419, allocations: 2.685 MB / 1.359 GB, free: 13.12 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.00542/0.4244, allocations: 2.518 MB / 1.362 GB, free: 10.59 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01321/0.4376, allocations: 10.46 MB / 1.372 GB, free: 100 kB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/0.4376, allocations: 4 kB / 1.372 GB, free: 96 kB / 1.061 GB Notification: Performance of FrontEnd: time 2.665e-06/0.4377, allocations: 0 / 1.372 GB, free: 96 kB / 1.061 GB Notification: Performance of Transformations before backend: time 0.0004019/0.4381, allocations: 0 / 1.372 GB, free: 96 kB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01449/0.4525, allocations: 5.455 MB / 1.377 GB, free: 10.58 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.554e-05/0.4526, allocations: 8.031 kB / 1.377 GB, free: 10.57 MB / 1.076 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001577/0.4527, allocations: 129.8 kB / 1.378 GB, free: 10.44 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001938/0.4547, allocations: 0.7062 MB / 1.378 GB, free: 9.727 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005399/0.4601, allocations: 0.9889 MB / 1.379 GB, free: 8.734 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007243/0.4673, allocations: 3.132 MB / 1.382 GB, free: 5.539 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003868/0.4677, allocations: 357.9 kB / 1.383 GB, free: 5.188 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001507/0.4692, allocations: 472.2 kB / 1.383 GB, free: 4.727 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01779/0.487, allocations: 8.667 MB / 1.392 GB, free: 11.51 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001957/0.4872, allocations: 23.77 kB / 1.392 GB, free: 11.49 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001178/0.4884, allocations: 208 kB / 1.392 GB, free: 11.29 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005868/0.489, allocations: 365.1 kB / 1.392 GB, free: 10.93 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01206/0.501, allocations: 5.937 MB / 1.398 GB, free: 4.973 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03649/0.5375, allocations: 23.75 MB / 1.421 GB, free: 12.54 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003835/0.5413, allocations: 1.987 MB / 1.423 GB, free: 10.54 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002085/0.5434, allocations: 1.341 MB / 1.424 GB, free: 9.199 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000118/0.5436, allocations: 17.25 kB / 1.424 GB, free: 9.18 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.508e-05/0.5436, allocations: 55.81 kB / 1.424 GB, free: 9.117 MB / 1.123 GB Notification: Performance of pre-optimization done (n=157): time 4.559e-06/0.5436, allocations: 4 kB / 1.424 GB, free: 9.113 MB / 1.123 GB Notification: Performance of matching and sorting (n=160): time 0.01448/0.5581, allocations: 6.659 MB / 1.431 GB, free: 2.406 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.706e-05/0.5582, allocations: 76.66 kB / 1.431 GB, free: 2.32 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003365/0.5615, allocations: 1.864 MB / 1.433 GB, free: 440 kB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.0002079/0.5617, allocations: 53.7 kB / 1.433 GB, free: 380 kB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.00176/0.5635, allocations: 2.192 MB / 1.435 GB, free: 14.16 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006411/0.5641, allocations: 0.5771 MB / 1.436 GB, free: 13.58 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008383/0.565, allocations: 408 kB / 1.436 GB, free: 13.17 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.5651, allocations: 301.1 kB / 1.436 GB, free: 12.88 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001716/0.5668, allocations: 1.062 MB / 1.437 GB, free: 11.81 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002331/0.5691, allocations: 1.76 MB / 1.439 GB, free: 9.73 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004144/0.5733, allocations: 3.052 MB / 1.442 GB, free: 6.367 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.357e-05/0.5733, allocations: 11.94 kB / 1.442 GB, free: 6.355 MB / 1.139 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007048/0.5804, allocations: 3.898 MB / 1.446 GB, free: 2.41 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 3.612e-05/0.5804, allocations: 16.95 kB / 1.446 GB, free: 2.395 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.815e-05/0.5804, allocations: 24 kB / 1.446 GB, free: 2.371 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00252/0.5829, allocations: 0.9311 MB / 1.447 GB, free: 1.402 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/0.5844, allocations: 423.2 kB / 1.447 GB, free: 0.9883 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02159/0.606, allocations: 21.38 MB / 1.468 GB, free: 10.23 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/0.6081, allocations: 123.9 kB / 1.468 GB, free: 10.11 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001987/0.6083, allocations: 100.1 kB / 1.468 GB, free: 10.01 MB / 1.17 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,100.0%), (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.002732/0.611, allocations: 1.648 MB / 1.47 GB, free: 8.348 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005248/0.6115, allocations: 270.4 kB / 1.47 GB, free: 8.082 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005499/0.617, allocations: 3.236 MB / 1.473 GB, free: 4.797 MB / 1.17 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.617, allocations: 16 kB / 1.473 GB, free: 4.781 MB / 1.17 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.864e-05/0.617, allocations: 16 kB / 1.473 GB, free: 4.766 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.478e-05/0.6171, allocations: 7.969 kB / 1.473 GB, free: 4.758 MB / 1.17 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01233/0.6294, allocations: 7.158 MB / 1.48 GB, free: 13.45 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.064e-05/0.6294, allocations: 4 kB / 1.48 GB, free: 13.45 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009199/0.6303, allocations: 223.6 kB / 1.481 GB, free: 13.23 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002405/0.6327, allocations: 0.8805 MB / 1.481 GB, free: 12.31 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001205/0.6328, allocations: 32 kB / 1.481 GB, free: 12.28 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02154/0.6544, allocations: 21.36 MB / 1.502 GB, free: 5.543 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/0.6544, allocations: 7.938 kB / 1.502 GB, free: 5.535 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005776/0.6602, allocations: 3.357 MB / 1.506 GB, free: 2.066 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001222/0.6614, allocations: 478.1 kB / 1.506 GB, free: 1.598 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002987/0.6617, allocations: 47.86 kB / 1.506 GB, free: 1.551 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001037/0.6627, allocations: 87.89 kB / 1.506 GB, free: 1.465 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000419/0.6631, allocations: 156.9 kB / 1.506 GB, free: 1.309 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.6633, allocations: 44 kB / 1.506 GB, free: 1.266 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.001739/0.665, allocations: 1.225 MB / 1.508 GB, free: 28 kB / 1.201 GB Notification: Performance of sort global known variables: time 9.1e-08/0.665, allocations: 0 / 1.508 GB, free: 28 kB / 1.201 GB Notification: Performance of remove unused functions: time 0.002802/0.6678, allocations: 0.9024 MB / 1.508 GB, free: 15.12 MB / 1.217 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 (109): * Single equations (assignments): 97 * 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,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,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00565/0.6734, allocations: 3.964 MB / 1.512 GB, free: 11.04 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.006747/0.6802, allocations: 4.295 MB / 1.517 GB, free: 6.594 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.267e-05/0.6802, allocations: 4 kB / 1.517 GB, free: 6.59 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.004227/0.6844, allocations: 2.906 MB / 1.519 GB, free: 3.527 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003413/0.6878, allocations: 0.831 MB / 1.52 GB, free: 2.707 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03842/0.7263, allocations: 25.22 MB / 1.545 GB, free: 8.383 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003415/0.7297, allocations: 2.661 MB / 1.547 GB, free: 5.688 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001707/0.7314, allocations: 0.5332 MB / 1.548 GB, free: 5.148 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001999/0.7334, allocations: 1.655 MB / 1.55 GB, free: 3.496 MB / 1.248 GB Notification: Performance of SimCode: time 1.022e-06/0.7334, allocations: 4 kB / 1.55 GB, free: 3.492 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7426/1.476, allocations: 75.3 MB / 1.623 GB, free: 290.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.54/18.01, allocations: 10.52 kB / 1.623 GB, free: 290.8 MB / 1.295 GB " [Timeout remaining time 282] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 299] Reference file matches [Calling sys.exit(0), Time elapsed: 25.413323271088302]