Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.00121/0.00121, allocations: 97.92 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.001349/0.001349, allocations: 216.7 kB / 23.03 MB, free: 4.949 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.373/1.373, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.047/3.047, allocations: 0.5003 GB / 0.8062 GB, free: 28.31 MB / 0.6231 GB " [Timeout remaining time 177] 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,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL",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.001876/0.001876, allocations: 62.78 kB / 1.171 GB, free: 19.57 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3527/0.3546, allocations: 179 MB / 1.345 GB, free: 15.95 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.03261/0.3872, allocations: 25.56 MB / 1.37 GB, free: 6.305 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01558/0.4028, allocations: 8.064 MB / 1.378 GB, free: 14.22 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002531/0.4053, allocations: 154.8 kB / 1.378 GB, free: 14.07 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.007637/0.4129, allocations: 2.769 MB / 1.381 GB, free: 11.29 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.004811/0.4177, allocations: 1.671 MB / 1.383 GB, free: 9.613 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004462/0.4222, allocations: 1.683 MB / 1.384 GB, free: 7.93 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.007861/0.4301, allocations: 6.135 MB / 1.39 GB, free: 1.773 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005423/0.4355, allocations: 3.777 MB / 1.394 GB, free: 13.91 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004376/0.4399, allocations: 2.672 MB / 1.397 GB, free: 11.23 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005166/0.445, allocations: 2.998 MB / 1.399 GB, free: 8.219 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0009059/0.4459, allocations: 0.5078 MB / 1.4 GB, free: 7.711 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002591/0.4485, allocations: 1.213 MB / 1.401 GB, free: 6.496 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.002208/0.4507, allocations: 2.108 MB / 1.403 GB, free: 4.383 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002688/0.4534, allocations: 1.922 MB / 1.405 GB, free: 2.453 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.008817/0.4622, allocations: 8.118 MB / 1.413 GB, free: 10.3 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.4622, allocations: 4 kB / 1.413 GB, free: 10.3 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4623, allocations: 0 / 1.413 GB, free: 10.3 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001737/0.4624, allocations: 0 / 1.413 GB, free: 10.3 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: 976 * Number of variables: 976 Notification: Performance of Generate backend data structure: time 0.008066/0.4705, allocations: 4.252 MB / 1.417 GB, free: 5.996 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.4705, allocations: 16.03 kB / 1.417 GB, free: 5.98 MB / 1.107 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.459e-05/0.4706, allocations: 95.48 kB / 1.417 GB, free: 5.887 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007355/0.4714, allocations: 0.5382 MB / 1.418 GB, free: 5.34 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004139/0.4755, allocations: 0.814 MB / 1.419 GB, free: 4.523 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004675/0.4802, allocations: 2.541 MB / 1.421 GB, free: 1.914 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002045/0.4804, allocations: 271.6 kB / 1.421 GB, free: 1.648 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006961/0.4811, allocations: 380.2 kB / 1.422 GB, free: 1.277 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00991/0.491, allocations: 6.446 MB / 1.428 GB, free: 10.47 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.849e-05/0.4911, allocations: 11.89 kB / 1.428 GB, free: 10.46 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003627/0.4914, allocations: 160 kB / 1.428 GB, free: 10.3 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005898/0.492, allocations: 282.9 kB / 1.428 GB, free: 10.02 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007146/0.4992, allocations: 4.531 MB / 1.433 GB, free: 5.484 MB / 1.123 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02333/0.5225, allocations: 18 MB / 1.45 GB, free: 2.961 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001597/0.5241, allocations: 1.06 MB / 1.451 GB, free: 1.891 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001287/0.5254, allocations: 0.957 MB / 1.452 GB, free: 0.9336 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 6.437e-05/0.5255, allocations: 17 kB / 1.452 GB, free: 0.918 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.5255, allocations: 43.56 kB / 1.452 GB, free: 0.8672 MB / 1.139 GB Notification: Performance of pre-optimization done (n=110): time 3.046e-06/0.5255, allocations: 0 / 1.452 GB, free: 0.8672 MB / 1.139 GB Notification: Performance of matching and sorting (n=131): time 0.02087/0.5464, allocations: 9.11 MB / 1.461 GB, free: 7.699 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.5464, allocations: 64.72 kB / 1.461 GB, free: 7.621 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00196/0.5484, allocations: 1.49 MB / 1.463 GB, free: 6.133 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.5485, allocations: 53.69 kB / 1.463 GB, free: 6.074 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001227/0.5497, allocations: 1.707 MB / 1.465 GB, free: 4.348 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004291/0.5501, allocations: 495.8 kB / 1.465 GB, free: 3.859 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005217/0.5507, allocations: 331.4 kB / 1.465 GB, free: 3.531 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.5508, allocations: 309.1 kB / 1.466 GB, free: 3.227 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001319/0.5521, allocations: 0.9135 MB / 1.467 GB, free: 2.312 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001775/0.5539, allocations: 1.459 MB / 1.468 GB, free: 0.6133 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003276/0.5572, allocations: 2.554 MB / 1.47 GB, free: 13.82 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/0.5572, allocations: 8 kB / 1.47 GB, free: 13.81 MB / 1.17 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.005766/0.5629, allocations: 3.271 MB / 1.474 GB, free: 10.5 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.563, allocations: 16.06 kB / 1.474 GB, free: 10.49 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.567e-05/0.563, allocations: 16 kB / 1.474 GB, free: 10.47 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002297/0.5653, allocations: 0.7334 MB / 1.474 GB, free: 9.711 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001505/0.5668, allocations: 383.4 kB / 1.475 GB, free: 9.336 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01656/0.5834, allocations: 16.02 MB / 1.49 GB, free: 8.277 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/0.585, allocations: 103.8 kB / 1.491 GB, free: 8.176 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001371/0.5851, allocations: 72 kB / 1.491 GB, free: 8.105 MB / 1.186 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 (193): * Single equations (assignments): 184 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002638/0.5878, allocations: 1.321 MB / 1.492 GB, free: 6.777 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003926/0.5881, allocations: 210.7 kB / 1.492 GB, free: 6.57 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005011/0.5932, allocations: 2.769 MB / 1.495 GB, free: 3.758 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.5932, allocations: 15.94 kB / 1.495 GB, free: 3.742 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.5932, allocations: 8 kB / 1.495 GB, free: 3.734 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.351e-05/0.5932, allocations: 11.91 kB / 1.495 GB, free: 3.723 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009867/0.6031, allocations: 5.877 MB / 1.501 GB, free: 13.69 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.124e-05/0.6031, allocations: 8 kB / 1.501 GB, free: 13.68 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001152/0.6042, allocations: 231.7 kB / 1.501 GB, free: 13.45 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002006/0.6062, allocations: 0.6638 MB / 1.501 GB, free: 12.76 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-05/0.6063, allocations: 32 kB / 1.501 GB, free: 12.73 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01598/0.6223, allocations: 15.78 MB / 1.517 GB, free: 11.92 MB / 1.217 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.6223, allocations: 7.938 kB / 1.517 GB, free: 11.91 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006425/0.6287, allocations: 3.99 MB / 1.521 GB, free: 7.816 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009445/0.6297, allocations: 390.6 kB / 1.521 GB, free: 7.434 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002336/0.6299, allocations: 35.94 kB / 1.521 GB, free: 7.398 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008586/0.6308, allocations: 83.89 kB / 1.521 GB, free: 7.316 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003128/0.6311, allocations: 116.7 kB / 1.521 GB, free: 7.203 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.108e-05/0.6312, allocations: 52.06 kB / 1.521 GB, free: 7.152 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.00138/0.6326, allocations: 0.9942 MB / 1.522 GB, free: 6.168 MB / 1.217 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6326, allocations: 0 / 1.522 GB, free: 6.168 MB / 1.217 GB Notification: Performance of remove unused functions: time 0.002196/0.6348, allocations: 0.6836 MB / 1.523 GB, free: 5.484 MB / 1.217 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 6 (RL_3.phase1.i_p[1],RL_3.phase1.i_p[2],RL_3.phase2.i_p[1],RL_3.phase2.i_p[2],RL_3.phase3.i_p[1],RL_3.phase3.i_p[2]) * 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 (101): * Single equations (assignments): 92 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 9 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 9 systems {(2,2,100.0%), (2,2,100.0%), (2,2,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%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006463/0.6412, allocations: 4.589 MB / 1.528 GB, free: 0.7734 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.005464/0.6467, allocations: 3.381 MB / 1.531 GB, free: 13.27 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 1.095e-05/0.6467, allocations: 4 kB / 1.531 GB, free: 13.27 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.003273/0.65, allocations: 2.253 MB / 1.533 GB, free: 10.9 MB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002848/0.6528, allocations: 0.6692 MB / 1.534 GB, free: 10.25 MB / 1.232 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03644/0.6893, allocations: 21.29 MB / 1.555 GB, free: 4.086 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002823/0.6921, allocations: 2.105 MB / 1.557 GB, free: 1.945 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001494/0.6936, allocations: 489.4 kB / 1.557 GB, free: 1.465 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001555/0.6951, allocations: 1.284 MB / 1.558 GB, free: 184 kB / 1.248 GB Notification: Performance of SimCode: time 8.62e-07/0.6951, allocations: 0 / 1.558 GB, free: 184 kB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8358/1.531, allocations: 61.64 MB / 1.618 GB, free: 248.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.51/16.04, allocations: 6.531 kB / 1.618 GB, free: 248.1 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL.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.324248119955882]