Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00138/0.00138, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001644/0.001644, allocations: 216.7 kB / 22.24 MB, free: 5.262 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.738 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.197/3.197, allocations: 0.4892 GB / 0.7943 GB, free: 35.63 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_R,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",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.002086/0.002086, allocations: 63.91 kB / 1.153 GB, free: 25.74 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3089, allocations: 176.1 MB / 1.325 GB, free: 2.398 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04316/0.3521, allocations: 33.68 MB / 1.358 GB, free: 0.6172 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01784/0.3699, allocations: 10.03 MB / 1.368 GB, free: 6.562 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002919/0.3728, allocations: 198.5 kB / 1.368 GB, free: 6.367 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.01043/0.3833, allocations: 3.816 MB / 1.372 GB, free: 2.543 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.00617/0.3894, allocations: 2.142 MB / 1.374 GB, free: 400 kB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.005742/0.3952, allocations: 1.967 MB / 1.376 GB, free: 14.43 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01083/0.406, allocations: 7.964 MB / 1.383 GB, free: 6.434 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01091/0.4169, allocations: 5.229 MB / 1.389 GB, free: 1.082 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006422/0.4233, allocations: 3.494 MB / 1.392 GB, free: 13.58 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007027/0.4304, allocations: 3.699 MB / 1.396 GB, free: 9.867 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.002155/0.4325, allocations: 0.6797 MB / 1.396 GB, free: 9.188 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00392/0.4365, allocations: 1.358 MB / 1.398 GB, free: 7.828 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.004018/0.4405, allocations: 2.677 MB / 1.4 GB, free: 5.145 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.005564/0.446, allocations: 2.521 MB / 1.403 GB, free: 2.613 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.01401/0.46, allocations: 10.46 MB / 1.413 GB, free: 8.121 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.384e-06/0.46, allocations: 4 kB / 1.413 GB, free: 8.117 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.514e-06/0.4601, allocations: 0 / 1.413 GB, free: 8.117 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0003292/0.4604, allocations: 7.984 kB / 1.413 GB, free: 8.109 MB / 1.107 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.01381/0.4742, allocations: 5.455 MB / 1.418 GB, free: 2.594 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.4742, allocations: 8.031 kB / 1.418 GB, free: 2.586 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001372/0.4756, allocations: 0.6984 MB / 1.419 GB, free: 1.879 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004825/0.4804, allocations: 0.985 MB / 1.42 GB, free: 0.8906 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008088/0.4885, allocations: 3.138 MB / 1.423 GB, free: 13.68 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003085/0.4888, allocations: 361.9 kB / 1.423 GB, free: 13.33 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001044/0.4899, allocations: 468.3 kB / 1.424 GB, free: 12.87 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01462/0.5045, allocations: 8.664 MB / 1.432 GB, free: 3.66 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001319/0.5046, allocations: 23.81 kB / 1.432 GB, free: 3.637 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000587/0.5052, allocations: 212 kB / 1.432 GB, free: 3.43 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005497/0.5058, allocations: 369.1 kB / 1.433 GB, free: 3.066 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01056/0.5163, allocations: 5.937 MB / 1.439 GB, free: 13.11 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03296/0.5493, allocations: 23.74 MB / 1.462 GB, free: 4.688 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00369/0.553, allocations: 1.987 MB / 1.464 GB, free: 2.684 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002068/0.555, allocations: 1.333 MB / 1.465 GB, free: 1.355 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 8.916e-05/0.5551, allocations: 13.31 kB / 1.465 GB, free: 1.34 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.394e-05/0.5552, allocations: 55.81 kB / 1.465 GB, free: 1.277 MB / 1.154 GB Notification: Performance of pre-optimization done (n=157): time 3.967e-06/0.5552, allocations: 8 kB / 1.465 GB, free: 1.27 MB / 1.154 GB Notification: Performance of matching and sorting (n=160): time 0.01398/0.5692, allocations: 6.667 MB / 1.472 GB, free: 10.56 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.5692, allocations: 68.72 kB / 1.472 GB, free: 10.48 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002552/0.5718, allocations: 1.903 MB / 1.474 GB, free: 8.551 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0001312/0.5719, allocations: 61.64 kB / 1.474 GB, free: 8.484 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001596/0.5735, allocations: 2.184 MB / 1.476 GB, free: 6.281 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005337/0.574, allocations: 0.581 MB / 1.476 GB, free: 5.695 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006694/0.5747, allocations: 408 kB / 1.477 GB, free: 5.289 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.5748, allocations: 309.1 kB / 1.477 GB, free: 4.984 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001695/0.5765, allocations: 1.058 MB / 1.478 GB, free: 3.922 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002295/0.5788, allocations: 1.768 MB / 1.48 GB, free: 1.832 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00415/0.583, allocations: 3.045 MB / 1.483 GB, free: 14.47 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.441e-05/0.583, allocations: 8 kB / 1.483 GB, free: 14.46 MB / 1.186 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00694/0.5899, allocations: 3.903 MB / 1.486 GB, free: 10.52 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/0.5899, allocations: 16 kB / 1.487 GB, free: 10.5 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.021e-05/0.59, allocations: 20 kB / 1.487 GB, free: 10.48 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002639/0.5926, allocations: 0.9312 MB / 1.487 GB, free: 9.516 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001665/0.5943, allocations: 431.3 kB / 1.488 GB, free: 9.094 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02255/0.6168, allocations: 21.38 MB / 1.509 GB, free: 2.336 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002087/0.6189, allocations: 131.9 kB / 1.509 GB, free: 2.207 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002127/0.6191, allocations: 96 kB / 1.509 GB, free: 2.113 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 (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.002823/0.622, allocations: 1.646 MB / 1.511 GB, free: 468 kB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005799/0.6225, allocations: 266.3 kB / 1.511 GB, free: 200 kB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005942/0.6285, allocations: 3.24 MB / 1.514 GB, free: 12.9 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.658e-05/0.6285, allocations: 19.94 kB / 1.514 GB, free: 12.88 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.516e-05/0.6285, allocations: 8 kB / 1.514 GB, free: 12.88 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.466e-05/0.6285, allocations: 7.969 kB / 1.514 GB, free: 12.87 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01318/0.6417, allocations: 7.166 MB / 1.521 GB, free: 5.555 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.738e-06/0.6417, allocations: 4 kB / 1.521 GB, free: 5.551 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009638/0.6427, allocations: 215.7 kB / 1.521 GB, free: 5.34 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002431/0.6451, allocations: 0.9004 MB / 1.522 GB, free: 4.402 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001119/0.6452, allocations: 32 kB / 1.522 GB, free: 4.371 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0223/0.6675, allocations: 21.34 MB / 1.543 GB, free: 13.66 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.6675, allocations: 4 kB / 1.543 GB, free: 13.65 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005905/0.6734, allocations: 3.377 MB / 1.546 GB, free: 10.16 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001451/0.6749, allocations: 474.2 kB / 1.547 GB, free: 9.699 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003405/0.6752, allocations: 32 kB / 1.547 GB, free: 9.668 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001094/0.6763, allocations: 92.08 kB / 1.547 GB, free: 9.578 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003816/0.6767, allocations: 152.9 kB / 1.547 GB, free: 9.426 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001054/0.6768, allocations: 43.94 kB / 1.547 GB, free: 9.383 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001802/0.6786, allocations: 1.225 MB / 1.548 GB, free: 8.145 MB / 1.248 GB Notification: Performance of sort global known variables: time 8e-08/0.6786, allocations: 0 / 1.548 GB, free: 8.145 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003223/0.6818, allocations: 0.9102 MB / 1.549 GB, free: 7.234 MB / 1.248 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.006164/0.688, allocations: 3.967 MB / 1.553 GB, free: 3.148 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.007034/0.695, allocations: 4.295 MB / 1.557 GB, free: 14.7 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/0.695, allocations: 4 kB / 1.557 GB, free: 14.69 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.004504/0.6995, allocations: 2.899 MB / 1.56 GB, free: 11.64 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003537/0.7031, allocations: 0.8334 MB / 1.561 GB, free: 10.82 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04051/0.7436, allocations: 25.22 MB / 1.585 GB, free: 500 kB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003696/0.7473, allocations: 2.665 MB / 1.588 GB, free: 13.79 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001806/0.7491, allocations: 0.5332 MB / 1.589 GB, free: 13.25 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002229/0.7513, allocations: 1.655 MB / 1.59 GB, free: 11.59 MB / 1.295 GB Notification: Performance of SimCode: time 7.92e-07/0.7513, allocations: 0 / 1.59 GB, free: 11.59 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7196/1.471, allocations: 75.05 MB / 1.663 GB, free: 227.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.48/15.95, allocations: 7.375 kB / 1.663 GB, free: 227.7 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat --tempDir=temp_Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.fmu > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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: 23.09704966377467]