Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001291/0.001291, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001456/0.001456, allocations: 217.3 kB / 22.25 MB, free: 5.125 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.435/1.435, allocations: 230.6 MB / 256 MB, free: 7.965 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.242/3.242, allocations: 0.505 GB / 0.8101 GB, free: 22.06 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_L,fileNamePrefix="Buildings_latest_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_latest_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.002047/0.002047, allocations: 62.52 kB / 1.177 GB, free: 17.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3387/0.3408, allocations: 180.2 MB / 1.353 GB, free: 8.414 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.0419/0.3827, allocations: 34.28 MB / 1.386 GB, free: 6.031 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01888/0.4015, allocations: 10.68 MB / 1.397 GB, free: 11.32 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00325/0.4048, allocations: 198.5 kB / 1.397 GB, free: 11.12 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00993/0.4147, allocations: 3.889 MB / 1.401 GB, free: 7.227 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.005413/0.4201, allocations: 1.956 MB / 1.403 GB, free: 5.262 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.005747/0.4259, allocations: 2.198 MB / 1.405 GB, free: 3.066 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.009617/0.4355, allocations: 7.323 MB / 1.412 GB, free: 11.72 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009752/0.4452, allocations: 5.166 MB / 1.417 GB, free: 6.438 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005504/0.4507, allocations: 3.272 MB / 1.42 GB, free: 3.156 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006059/0.4568, allocations: 3.672 MB / 1.424 GB, free: 15.47 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.001755/0.4586, allocations: 0.6445 MB / 1.424 GB, free: 14.83 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004509/0.4631, allocations: 1.806 MB / 1.426 GB, free: 13.02 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.004149/0.4672, allocations: 2.611 MB / 1.429 GB, free: 10.4 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.005683/0.4729, allocations: 2.898 MB / 1.432 GB, free: 7.492 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.01363/0.4865, allocations: 10.13 MB / 1.441 GB, free: 13.32 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.4865, allocations: 4 kB / 1.441 GB, free: 13.32 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4865, allocations: 0 / 1.441 GB, free: 13.32 MB / 1.139 GB Notification: Performance of Transformations before backend: time 0.0003494/0.4869, allocations: 0 / 1.441 GB, free: 13.32 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: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.01502/0.5019, allocations: 5.056 MB / 1.446 GB, free: 8.207 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.5019, allocations: 11.97 kB / 1.446 GB, free: 8.195 MB / 1.139 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002114/0.5041, allocations: 0.682 MB / 1.447 GB, free: 7.504 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005921/0.51, allocations: 0.9813 MB / 1.448 GB, free: 6.52 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007565/0.5175, allocations: 3.003 MB / 1.451 GB, free: 3.449 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003085/0.5179, allocations: 349.7 kB / 1.451 GB, free: 3.105 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00127/0.5191, allocations: 472.3 kB / 1.452 GB, free: 2.645 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01549/0.5346, allocations: 7.663 MB / 1.459 GB, free: 10.63 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001366/0.5348, allocations: 27.77 kB / 1.459 GB, free: 10.61 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005061/0.5353, allocations: 200 kB / 1.459 GB, free: 10.41 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003747/0.5356, allocations: 316.9 kB / 1.46 GB, free: 10.1 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01096/0.5466, allocations: 5.706 MB / 1.465 GB, free: 4.375 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04274/0.5893, allocations: 34.56 MB / 1.499 GB, free: 14.59 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00284/0.5922, allocations: 1.559 MB / 1.501 GB, free: 13.02 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001752/0.5939, allocations: 1.125 MB / 1.502 GB, free: 11.9 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001217/0.594, allocations: 13.31 kB / 1.502 GB, free: 11.88 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.377e-05/0.5941, allocations: 47.88 kB / 1.502 GB, free: 11.83 MB / 1.201 GB Notification: Performance of pre-optimization done (n=133): time 3.697e-06/0.5941, allocations: 0 / 1.502 GB, free: 11.83 MB / 1.201 GB Notification: Performance of matching and sorting (n=136): time 0.014/0.6081, allocations: 6.21 MB / 1.508 GB, free: 5.578 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.727e-05/0.6082, allocations: 68.72 kB / 1.508 GB, free: 5.5 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002338/0.6105, allocations: 1.484 MB / 1.509 GB, free: 3.969 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.000121/0.6106, allocations: 45.7 kB / 1.509 GB, free: 3.918 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001598/0.6122, allocations: 2.073 MB / 1.511 GB, free: 1.824 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005638/0.6128, allocations: 0.4957 MB / 1.512 GB, free: 1.324 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006137/0.6134, allocations: 359.3 kB / 1.512 GB, free: 0.9648 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.6135, allocations: 305.1 kB / 1.513 GB, free: 0.6641 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/0.615, allocations: 0.9096 MB / 1.513 GB, free: 15.75 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002045/0.617, allocations: 1.597 MB / 1.515 GB, free: 13.85 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003774/0.6208, allocations: 2.729 MB / 1.518 GB, free: 10.8 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.28e-05/0.6208, allocations: 12 kB / 1.518 GB, free: 10.79 MB / 1.217 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.006769/0.6276, allocations: 3.515 MB / 1.521 GB, free: 7.23 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 3.623e-05/0.6276, allocations: 12 kB / 1.521 GB, free: 7.219 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.606e-05/0.6277, allocations: 27.94 kB / 1.521 GB, free: 7.191 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002722/0.6304, allocations: 0.8966 MB / 1.522 GB, free: 6.258 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001231/0.6316, allocations: 355.3 kB / 1.522 GB, free: 5.91 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02389/0.6555, allocations: 21.89 MB / 1.544 GB, free: 14.65 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/0.6571, allocations: 104 kB / 1.544 GB, free: 14.55 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00031/0.6574, allocations: 80 kB / 1.544 GB, free: 14.47 MB / 1.248 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.003368/0.6608, allocations: 1.613 MB / 1.545 GB, free: 12.84 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006338/0.6614, allocations: 218.6 kB / 1.546 GB, free: 12.63 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006196/0.6676, allocations: 2.967 MB / 1.549 GB, free: 9.613 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/0.6676, allocations: 12 kB / 1.549 GB, free: 9.602 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.56e-05/0.6677, allocations: 12 kB / 1.549 GB, free: 9.59 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.863e-05/0.6677, allocations: 11.95 kB / 1.549 GB, free: 9.578 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01516/0.6828, allocations: 7.285 MB / 1.556 GB, free: 2.07 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.376e-05/0.6829, allocations: 4 kB / 1.556 GB, free: 2.066 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007774/0.6836, allocations: 179.7 kB / 1.556 GB, free: 1.891 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002427/0.6861, allocations: 0.8182 MB / 1.557 GB, free: 1.035 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/0.6862, allocations: 32 kB / 1.557 GB, free: 1.004 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02188/0.7081, allocations: 20.73 MB / 1.577 GB, free: 10.89 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.198e-06/0.7081, allocations: 8 kB / 1.577 GB, free: 10.88 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005739/0.7138, allocations: 3.007 MB / 1.58 GB, free: 7.758 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001225/0.715, allocations: 394.5 kB / 1.58 GB, free: 7.371 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004363/0.7155, allocations: 35.92 kB / 1.58 GB, free: 7.336 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009732/0.7165, allocations: 63.92 kB / 1.58 GB, free: 7.273 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003681/0.7168, allocations: 136.6 kB / 1.581 GB, free: 7.137 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.916e-05/0.7169, allocations: 36 kB / 1.581 GB, free: 7.102 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.001697/0.7186, allocations: 0.9756 MB / 1.582 GB, free: 6.102 MB / 1.279 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7186, allocations: 0 / 1.582 GB, free: 6.102 MB / 1.279 GB Notification: Performance of remove unused functions: time 0.003082/0.7217, allocations: 0.7891 MB / 1.582 GB, free: 5.312 MB / 1.279 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.006312/0.728, allocations: 3.604 MB / 1.586 GB, free: 1.59 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.007313/0.7353, allocations: 3.922 MB / 1.59 GB, free: 13.52 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.798e-06/0.7353, allocations: 3.938 kB / 1.59 GB, free: 13.51 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.004347/0.7397, allocations: 2.666 MB / 1.592 GB, free: 10.69 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003993/0.7437, allocations: 0.7411 MB / 1.593 GB, free: 9.973 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.7598/1.503, allocations: 22.5 MB / 1.615 GB, free: 226.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004723/1.508, allocations: 3.111 MB / 1.618 GB, free: 225.6 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001425/1.51, allocations: 456.7 kB / 1.618 GB, free: 225.6 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001379/1.511, allocations: 1.535 MB / 1.62 GB, free: 224.3 MB / 1.295 GB Notification: Performance of SimCode: time 9.82e-07/1.511, allocations: 3.906 kB / 1.62 GB, free: 224.3 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1726/1.684, allocations: 63.45 MB / 1.682 GB, free: 187.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.75/16.43, allocations: 3.984 kB / 1.682 GB, free: 187.5 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 23.60015776590444]