Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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.001311/0.001311, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001504/0.001504, allocations: 211.8 kB / 22.24 MB, free: 4.855 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.467/1.467, allocations: 230.6 MB / 256 MB, free: 7.789 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.326/3.326, allocations: 0.5107 GB / 0.8158 GB, free: 17.75 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_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.002106/0.002106, allocations: 63.2 kB / 1.186 GB, free: 13.72 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3323, allocations: 181.9 MB / 1.363 GB, free: 14.03 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02642/0.3588, allocations: 19.51 MB / 1.382 GB, free: 10.45 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.01196/0.3707, allocations: 6.485 MB / 1.389 GB, free: 3.945 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001776/0.3725, allocations: 115.1 kB / 1.389 GB, free: 3.832 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.006175/0.3787, allocations: 2.245 MB / 1.391 GB, free: 1.582 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003951/0.3826, allocations: 1.248 MB / 1.392 GB, free: 336 kB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00416/0.3868, allocations: 1.286 MB / 1.394 GB, free: 15.04 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.006474/0.3932, allocations: 4.847 MB / 1.398 GB, free: 10.18 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005806/0.3991, allocations: 3.135 MB / 1.401 GB, free: 6.977 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003635/0.4027, allocations: 2.169 MB / 1.403 GB, free: 4.801 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00436/0.407, allocations: 2.336 MB / 1.406 GB, free: 2.457 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001383/0.4084, allocations: 428 kB / 1.406 GB, free: 2.039 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002709/0.4111, allocations: 0.9362 MB / 1.407 GB, free: 1.102 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.00281/0.414, allocations: 1.711 MB / 1.409 GB, free: 15.39 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.003339/0.4173, allocations: 1.545 MB / 1.41 GB, free: 13.84 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.008592/0.4259, allocations: 6.573 MB / 1.417 GB, free: 7.242 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.4259, allocations: 0 / 1.417 GB, free: 7.242 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4259, allocations: 0 / 1.417 GB, free: 7.242 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002031/0.4261, allocations: 4 kB / 1.417 GB, free: 7.238 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.008628/0.4347, allocations: 3.466 MB / 1.42 GB, free: 3.723 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.4348, allocations: 8.031 kB / 1.42 GB, free: 3.715 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006962/0.4355, allocations: 458.5 kB / 1.421 GB, free: 3.254 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003387/0.4388, allocations: 0.6545 MB / 1.421 GB, free: 2.598 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004964/0.4438, allocations: 1.997 MB / 1.423 GB, free: 0.5469 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002712/0.4441, allocations: 218.3 kB / 1.423 GB, free: 340 kB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008507/0.4449, allocations: 308 kB / 1.424 GB, free: 32 kB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009836/0.4548, allocations: 5.234 MB / 1.429 GB, free: 10.52 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.501e-05/0.4549, allocations: 15.89 kB / 1.429 GB, free: 10.5 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003397/0.4552, allocations: 128 kB / 1.429 GB, free: 10.38 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004441/0.4556, allocations: 225.7 kB / 1.429 GB, free: 10.15 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007071/0.4627, allocations: 3.746 MB / 1.433 GB, free: 6.395 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02145/0.4842, allocations: 13.58 MB / 1.446 GB, free: 8.465 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001923/0.4861, allocations: 1.234 MB / 1.447 GB, free: 7.219 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001527/0.4876, allocations: 0.9835 MB / 1.448 GB, free: 6.238 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 5.965e-05/0.4877, allocations: 13 kB / 1.448 GB, free: 6.227 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.543e-05/0.4877, allocations: 43.56 kB / 1.448 GB, free: 6.176 MB / 1.139 GB Notification: Performance of pre-optimization done (n=107): time 3.086e-06/0.4877, allocations: 0 / 1.448 GB, free: 6.176 MB / 1.139 GB Notification: Performance of matching and sorting (n=138): time 0.02576/0.5135, allocations: 8.432 MB / 1.456 GB, free: 13.74 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/0.5136, allocations: 64.72 kB / 1.457 GB, free: 13.67 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001617/0.5152, allocations: 1.157 MB / 1.458 GB, free: 12.5 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001379/0.5153, allocations: 49.7 kB / 1.458 GB, free: 12.45 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001013/0.5163, allocations: 1.335 MB / 1.459 GB, free: 11.1 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004767/0.5168, allocations: 0.4919 MB / 1.459 GB, free: 10.61 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004871/0.5173, allocations: 291.5 kB / 1.46 GB, free: 10.31 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001229/0.5174, allocations: 305.1 kB / 1.46 GB, free: 10.01 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001422/0.5188, allocations: 0.9213 MB / 1.461 GB, free: 9.09 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/0.5206, allocations: 1.326 MB / 1.462 GB, free: 7.594 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003404/0.524, allocations: 2.433 MB / 1.465 GB, free: 4.988 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.837e-06/0.524, allocations: 4 kB / 1.465 GB, free: 4.984 MB / 1.154 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.006614/0.5306, allocations: 3.43 MB / 1.468 GB, free: 1.535 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 3.424e-05/0.5306, allocations: 13.88 kB / 1.468 GB, free: 1.523 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.425e-05/0.5307, allocations: 15.98 kB / 1.468 GB, free: 1.508 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003495/0.5342, allocations: 1.177 MB / 1.469 GB, free: 332 kB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001048/0.5352, allocations: 255.6 kB / 1.469 GB, free: 76 kB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01963/0.5548, allocations: 13.35 MB / 1.482 GB, free: 2.383 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/0.5563, allocations: 87.97 kB / 1.483 GB, free: 2.297 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/0.5566, allocations: 64 kB / 1.483 GB, free: 2.234 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001997/0.5586, allocations: 1.114 MB / 1.484 GB, free: 1.109 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000397/0.5589, allocations: 178.9 kB / 1.484 GB, free: 0.9336 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006169/0.5651, allocations: 3.122 MB / 1.487 GB, free: 13.79 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/0.5651, allocations: 23.94 kB / 1.487 GB, free: 13.77 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.108e-05/0.5652, allocations: 12 kB / 1.487 GB, free: 13.75 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.462e-05/0.5652, allocations: 3.984 kB / 1.487 GB, free: 13.75 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01195/0.5771, allocations: 5.905 MB / 1.493 GB, free: 7.715 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-05/0.5771, allocations: 4 kB / 1.493 GB, free: 7.711 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006688/0.5778, allocations: 151.8 kB / 1.493 GB, free: 7.562 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00313/0.5809, allocations: 1.076 MB / 1.494 GB, free: 6.48 MB / 1.186 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001214/0.5811, allocations: 27.94 kB / 1.494 GB, free: 6.453 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01917/0.6002, allocations: 13.04 MB / 1.507 GB, free: 9.078 MB / 1.201 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.6002, allocations: 7.938 kB / 1.507 GB, free: 9.07 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005909/0.6061, allocations: 3.12 MB / 1.51 GB, free: 5.863 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001228/0.6074, allocations: 366.8 kB / 1.51 GB, free: 5.504 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002322/0.6076, allocations: 28 kB / 1.51 GB, free: 5.477 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008158/0.6084, allocations: 79.89 kB / 1.51 GB, free: 5.398 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003977/0.6088, allocations: 132.6 kB / 1.51 GB, free: 5.27 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.376e-05/0.6089, allocations: 36 kB / 1.51 GB, free: 5.234 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.00118/0.6101, allocations: 0.771 MB / 1.511 GB, free: 4.461 MB / 1.201 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6101, allocations: 3.938 kB / 1.511 GB, free: 4.457 MB / 1.201 GB Notification: Performance of remove unused functions: time 0.002127/0.6122, allocations: 0.6602 MB / 1.512 GB, free: 3.797 MB / 1.201 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006102/0.6183, allocations: 3.709 MB / 1.515 GB, free: 15.98 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.005505/0.6238, allocations: 2.997 MB / 1.518 GB, free: 12.96 MB / 1.217 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/0.6238, allocations: 4.75 kB / 1.518 GB, free: 12.96 MB / 1.217 GB Notification: Performance of simCode: created simulation system equations: time 0.003418/0.6273, allocations: 1.888 MB / 1.52 GB, free: 11.03 MB / 1.217 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/0.6297, allocations: 0.5 MB / 1.521 GB, free: 10.54 MB / 1.217 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03328/0.663, allocations: 19.19 MB / 1.539 GB, free: 6.758 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002654/0.6656, allocations: 1.765 MB / 1.541 GB, free: 4.961 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001149/0.6668, allocations: 354.1 kB / 1.541 GB, free: 4.609 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001382/0.6682, allocations: 1.015 MB / 1.542 GB, free: 3.594 MB / 1.232 GB Notification: Performance of SimCode: time 8.12e-07/0.6682, allocations: 3.938 kB / 1.542 GB, free: 3.59 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1202/0.7883, allocations: 55.87 MB / 1.597 GB, free: 12.5 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.84/13.62, allocations: 3.938 kB / 1.597 GB, free: 12.5 MB / 1.295 GB " [Timeout remaining time 286] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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: 21.221257037017494]