Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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.001713/0.001713, allocations: 114.5 kB / 18.94 MB, free: 2.934 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.00211/0.00211, allocations: 217 kB / 22.25 MB, free: 5.082 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 8.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.253/3.253, allocations: 0.505 GB / 0.8101 GB, free: 22.07 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",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.00199/0.00199, allocations: 73.06 kB / 1.177 GB, free: 17.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3712, allocations: 180.2 MB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04253/0.4137, allocations: 34.83 MB / 1.387 GB, free: 5.512 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02765/0.4414, allocations: 15.32 MB / 1.402 GB, free: 6.152 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004669/0.4461, allocations: 210.4 kB / 1.402 GB, free: 5.945 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01106/0.4571, allocations: 3.819 MB / 1.406 GB, free: 2.117 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.009283/0.4664, allocations: 3.007 MB / 1.409 GB, free: 15.09 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.007137/0.4735, allocations: 2.395 MB / 1.411 GB, free: 12.7 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0136/0.4871, allocations: 8.816 MB / 1.42 GB, free: 3.855 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01324/0.5004, allocations: 5.549 MB / 1.425 GB, free: 14.18 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009419/0.5098, allocations: 4.203 MB / 1.429 GB, free: 9.969 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008647/0.5184, allocations: 4.19 MB / 1.433 GB, free: 5.766 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.002979/0.5214, allocations: 0.7148 MB / 1.434 GB, free: 5.051 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005735/0.5272, allocations: 1.74 MB / 1.436 GB, free: 3.309 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.005509/0.5327, allocations: 2.887 MB / 1.438 GB, free: 424 kB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.008439/0.5411, allocations: 3.381 MB / 1.442 GB, free: 13.02 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.01804/0.5591, allocations: 11.2 MB / 1.453 GB, free: 1.781 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 8.235e-06/0.5592, allocations: 0 / 1.453 GB, free: 1.781 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.863e-06/0.5592, allocations: 0 / 1.453 GB, free: 1.781 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0003864/0.5595, allocations: 0 / 1.453 GB, free: 1.781 MB / 1.139 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01775/0.5773, allocations: 6.037 MB / 1.459 GB, free: 11.68 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.5773, allocations: 11.97 kB / 1.459 GB, free: 11.67 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002572/0.5799, allocations: 0.7232 MB / 1.459 GB, free: 10.93 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007857/0.5878, allocations: 1.168 MB / 1.46 GB, free: 9.762 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00992/0.5977, allocations: 3.45 MB / 1.464 GB, free: 6.223 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000403/0.5981, allocations: 370.4 kB / 1.464 GB, free: 5.859 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002085/0.6002, allocations: 0.4959 MB / 1.465 GB, free: 5.363 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01921/0.6194, allocations: 7.965 MB / 1.472 GB, free: 13.13 MB / 1.17 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001907/0.6196, allocations: 27.81 kB / 1.473 GB, free: 13.11 MB / 1.17 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001161/0.6207, allocations: 212 kB / 1.473 GB, free: 12.9 MB / 1.17 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001039/0.6218, allocations: 445.5 kB / 1.473 GB, free: 12.46 MB / 1.17 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01345/0.6352, allocations: 6.081 MB / 1.479 GB, free: 6.367 MB / 1.17 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04985/0.6851, allocations: 34.65 MB / 1.513 GB, free: 0.5273 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003136/0.6882, allocations: 1.92 MB / 1.515 GB, free: 14.59 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002682/0.6909, allocations: 1.74 MB / 1.516 GB, free: 12.86 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.691, allocations: 18 kB / 1.516 GB, free: 12.84 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.354e-05/0.6911, allocations: 64.5 kB / 1.517 GB, free: 12.77 MB / 1.217 GB Notification: Performance of pre-optimization done (n=171): time 4.378e-06/0.6911, allocations: 0 / 1.517 GB, free: 12.77 MB / 1.217 GB Notification: Performance of matching and sorting (n=276): time 0.147/0.8381, allocations: 38.7 MB / 1.554 GB, free: 6.016 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.659e-05/0.8381, allocations: 85.52 kB / 1.554 GB, free: 5.918 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004087/0.8422, allocations: 2.278 MB / 1.557 GB, free: 3.625 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0004816/0.8427, allocations: 73.7 kB / 1.557 GB, free: 3.547 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001899/0.8446, allocations: 2.338 MB / 1.559 GB, free: 1.188 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001275/0.8459, allocations: 0.9837 MB / 1.56 GB, free: 200 kB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001335/0.8472, allocations: 0.5025 MB / 1.56 GB, free: 15.68 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.8474, allocations: 309.1 kB / 1.561 GB, free: 15.38 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003248/0.8506, allocations: 1.977 MB / 1.563 GB, free: 13.4 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003915/0.8545, allocations: 2.599 MB / 1.565 GB, free: 10.56 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007501/0.862, allocations: 4.941 MB / 1.57 GB, free: 5.344 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.895e-05/0.862, allocations: 4 kB / 1.57 GB, free: 5.34 MB / 1.264 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01662/0.8787, allocations: 7.646 MB / 1.578 GB, free: 13.62 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 5.24e-05/0.8787, allocations: 12 kB / 1.578 GB, free: 13.61 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.862e-05/0.8787, allocations: 16 kB / 1.578 GB, free: 13.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0101/0.8888, allocations: 3.208 MB / 1.581 GB, free: 10.37 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001785/0.8906, allocations: 407.2 kB / 1.581 GB, free: 9.973 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6993/1.59, allocations: 33.3 MB / 1.614 GB, free: 228 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002809/1.593, allocations: 163.2 kB / 1.614 GB, free: 227.9 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004106/1.593, allocations: 105.2 kB / 1.614 GB, free: 227.9 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003636/1.597, allocations: 1.8 MB / 1.616 GB, free: 227.1 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008405/1.598, allocations: 352.2 kB / 1.616 GB, free: 227.1 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01497/1.613, allocations: 7.234 MB / 1.623 GB, free: 224.3 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.378e-05/1.613, allocations: 29.94 kB / 1.623 GB, free: 224.3 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001426/1.613, allocations: 29.06 kB / 1.623 GB, free: 224.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.899e-05/1.613, allocations: 14.84 kB / 1.623 GB, free: 224.3 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02606/1.639, allocations: 12.79 MB / 1.636 GB, free: 219.3 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.716e-05/1.639, allocations: 9.312 kB / 1.636 GB, free: 219.3 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/1.64, allocations: 230.5 kB / 1.636 GB, free: 219.3 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007809/1.648, allocations: 2.85 MB / 1.639 GB, free: 218.6 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004/1.648, allocations: 57.58 kB / 1.639 GB, free: 218.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03568/1.684, allocations: 32.08 MB / 1.67 GB, free: 200.5 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.815e-06/1.684, allocations: 11.34 kB / 1.67 GB, free: 200.5 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01048/1.694, allocations: 6.787 MB / 1.677 GB, free: 196.6 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002031/1.696, allocations: 0.7197 MB / 1.677 GB, free: 196.1 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006203/1.697, allocations: 62.67 kB / 1.677 GB, free: 196.1 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001744/1.699, allocations: 170.5 kB / 1.678 GB, free: 196 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008149/1.7, allocations: 264.5 kB / 1.678 GB, free: 195.8 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001792/1.7, allocations: 73.91 kB / 1.678 GB, free: 195.8 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001913/1.702, allocations: 1.524 MB / 1.679 GB, free: 195 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.702, allocations: 0 / 1.679 GB, free: 195 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003908/1.706, allocations: 1.369 MB / 1.681 GB, free: 194.3 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01008/1.716, allocations: 7.416 MB / 1.688 GB, free: 186.7 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.009194/1.725, allocations: 6.572 MB / 1.694 GB, free: 180 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.191e-05/1.725, allocations: 8.312 kB / 1.694 GB, free: 180 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.006374/1.731, allocations: 4.242 MB / 1.698 GB, free: 175.7 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004273/1.735, allocations: 1.12 MB / 1.7 GB, free: 174.7 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05619/1.792, allocations: 39.07 MB / 1.738 GB, free: 134.5 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003846/1.796, allocations: 3.636 MB / 1.741 GB, free: 130.9 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001789/1.797, allocations: 0.5595 MB / 1.742 GB, free: 130.3 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002005/1.799, allocations: 1.975 MB / 1.744 GB, free: 128.3 MB / 1.295 GB Notification: Performance of SimCode: time 1.163e-06/1.799, allocations: 0 / 1.744 GB, free: 128.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1689/1.968, allocations: 115.4 MB / 1.856 GB, free: 14.03 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.17/20.14, allocations: 13.98 kB / 1.856 GB, free: 14.02 MB / 1.295 GB " [Timeout remaining time 280] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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: 27.68350265105255]