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.0008156/0.0008156, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000845/0.000845, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8529/0.8529, allocations: 177.2 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 1.719/1.719, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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="me",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="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 0.9997 GB, free: 13.47 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.828e-05/1.992e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL): time 0.01749/0.01751, allocations: 25.06 MB / 1.024 GB, free: 4.324 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.0092/0.02671, allocations: 7.989 MB / 1.032 GB, free: 12.31 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001606/0.02832, allocations: 150.8 kB / 1.032 GB, free: 12.16 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.003032/0.03135, allocations: 2.783 MB / 1.035 GB, free: 9.375 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002458/0.03381, allocations: 1.717 MB / 1.036 GB, free: 7.648 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002349/0.03616, allocations: 1.691 MB / 1.038 GB, free: 5.957 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.4092/0.4454, allocations: 6.261 MB / 1.044 GB, free: 50.23 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004176/0.4496, allocations: 3.753 MB / 1.048 GB, free: 49.95 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003633/0.4532, allocations: 3.72 MB / 1.052 GB, free: 49.95 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001917/0.4551, allocations: 2.643 MB / 1.054 GB, free: 49.95 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0004152/0.4555, allocations: 0.5082 MB / 1.055 GB, free: 49.95 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001383/0.4569, allocations: 1.221 MB / 1.056 GB, free: 49.95 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.00105/0.458, allocations: 2.198 MB / 1.058 GB, free: 49.9 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.001028/0.459, allocations: 1.658 MB / 1.06 GB, free: 49.74 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.003803/0.4628, allocations: 8.21 MB / 1.068 GB, free: 49.01 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.4628, allocations: 0 / 1.068 GB, free: 49.01 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.723e-06/0.4628, allocations: 0 / 1.068 GB, free: 49.01 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.229e-05/0.4629, allocations: 0 / 1.068 GB, free: 49.01 MB / 0.9948 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.003802/0.4667, allocations: 4.217 MB / 1.072 GB, free: 46.66 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.4667, allocations: 8.781 kB / 1.072 GB, free: 46.66 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004322/0.4671, allocations: 0.5341 MB / 1.072 GB, free: 46.37 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/0.4692, allocations: 0.8294 MB / 1.073 GB, free: 46.12 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002941/0.4721, allocations: 2.534 MB / 1.076 GB, free: 44.97 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/0.4723, allocations: 273.5 kB / 1.076 GB, free: 44.86 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000436/0.4727, allocations: 371.8 kB / 1.076 GB, free: 44.74 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005914/0.4787, allocations: 6.444 MB / 1.082 GB, free: 41.64 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.383e-05/0.4787, allocations: 23.28 kB / 1.082 GB, free: 41.64 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002551/0.479, allocations: 157.8 kB / 1.083 GB, free: 41.53 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000343/0.4793, allocations: 286.7 kB / 1.083 GB, free: 41.5 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004794/0.4841, allocations: 4.515 MB / 1.087 GB, free: 39.99 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01367/0.4978, allocations: 17.98 MB / 1.105 GB, free: 28.14 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.4989, allocations: 1.055 MB / 1.106 GB, free: 27.75 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008792/0.4997, allocations: 0.9589 MB / 1.107 GB, free: 27.39 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 5.573e-05/0.4998, allocations: 12.28 kB / 1.107 GB, free: 27.39 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.4998, allocations: 45.56 kB / 1.107 GB, free: 27.34 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=110): time 2.484e-06/0.4998, allocations: 1.062 kB / 1.107 GB, free: 27.34 MB / 0.9948 GB Notification: Performance of matching and sorting (n=131): time 0.01236/0.5122, allocations: 9.101 MB / 1.116 GB, free: 23.77 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.5122, allocations: 66.09 kB / 1.116 GB, free: 23.7 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001378/0.5136, allocations: 1.525 MB / 1.117 GB, free: 23.12 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 7.347e-05/0.5137, allocations: 46.73 kB / 1.117 GB, free: 23.07 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006625/0.5143, allocations: 1.714 MB / 1.119 GB, free: 21.75 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000229/0.5146, allocations: 491.1 kB / 1.12 GB, free: 21.38 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003337/0.5149, allocations: 325.6 kB / 1.12 GB, free: 21.22 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 2.272e-05/0.5149, allocations: 306.9 kB / 1.12 GB, free: 20.92 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009417/0.5159, allocations: 0.9154 MB / 1.121 GB, free: 20.57 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.517, allocations: 1.461 MB / 1.122 GB, free: 19.56 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00211/0.5191, allocations: 2.552 MB / 1.125 GB, free: 18.05 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/0.5191, allocations: 5.25 kB / 1.125 GB, free: 18.05 MB / 0.9948 GB Notification: Performance of matching and sorting (n=226) (initialization): time 0.003541/0.5226, allocations: 3.27 MB / 1.128 GB, free: 16.82 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.5226, allocations: 13.47 kB / 1.128 GB, free: 16.82 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/0.5227, allocations: 20.33 kB / 1.128 GB, free: 16.82 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/0.5239, allocations: 0.7416 MB / 1.129 GB, free: 16.57 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009416/0.5248, allocations: 384.9 kB / 1.129 GB, free: 16.56 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008044/0.5329, allocations: 16 MB / 1.145 GB, free: 3.199 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008207/0.5337, allocations: 105.1 kB / 1.145 GB, free: 3.168 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.94e-05/0.5338, allocations: 76 kB / 1.145 GB, free: 3.152 MB / 0.9948 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.001631/0.5354, allocations: 1.312 MB / 1.146 GB, free: 2.57 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001805/0.5356, allocations: 211.3 kB / 1.147 GB, free: 2.461 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003072/0.5387, allocations: 2.769 MB / 1.149 GB, free: 1.312 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.5387, allocations: 17.28 kB / 1.149 GB, free: 1.309 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/0.5387, allocations: 6.312 kB / 1.149 GB, free: 1.309 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/0.5387, allocations: 5.266 kB / 1.149 GB, free: 1.309 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006727/0.5454, allocations: 5.899 MB / 1.155 GB, free: 14.94 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.5454, allocations: 11.11 kB / 1.155 GB, free: 14.94 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005914/0.546, allocations: 232.6 kB / 1.155 GB, free: 14.93 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001049/0.5471, allocations: 0.6638 MB / 1.156 GB, free: 14.7 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.043e-05/0.5472, allocations: 35.12 kB / 1.156 GB, free: 14.68 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008659/0.5558, allocations: 15.74 MB / 1.171 GB, free: 1.441 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5558, allocations: 5.906 kB / 1.171 GB, free: 1.441 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004221/0.56, allocations: 4.084 MB / 1.175 GB, free: 15.99 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000523/0.5606, allocations: 391.5 kB / 1.176 GB, free: 15.78 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/0.5607, allocations: 38.2 kB / 1.176 GB, free: 15.75 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004711/0.5612, allocations: 80.14 kB / 1.176 GB, free: 15.74 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/0.5614, allocations: 127.2 kB / 1.176 GB, free: 15.7 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.319e-05/0.5614, allocations: 41.53 kB / 1.176 GB, free: 15.69 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0008487/0.5623, allocations: 0.9911 MB / 1.177 GB, free: 15.16 MB / 1.026 GB Notification: Performance of sort global known variables: time 7e-08/0.5623, allocations: 0 / 1.177 GB, free: 15.16 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.001485/0.5638, allocations: 0.6902 MB / 1.178 GB, free: 15.11 MB / 1.026 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.003798/0.5676, allocations: 4.58 MB / 1.182 GB, free: 12.19 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.002921/0.5705, allocations: 3.372 MB / 1.185 GB, free: 10.04 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.5705, allocations: 3.562 kB / 1.185 GB, free: 10.04 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.001671/0.5722, allocations: 2.233 MB / 1.188 GB, free: 8.359 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.5737, allocations: 0.6796 MB / 1.188 GB, free: 8.008 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02098/0.5947, allocations: 21.21 MB / 1.209 GB, free: 2.168 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001746/0.5964, allocations: 2.113 MB / 1.211 GB, free: 16 kB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0009573/0.5974, allocations: 489.4 kB / 1.211 GB, free: 15.54 MB / 1.057 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001021/0.5984, allocations: 1.277 MB / 1.213 GB, free: 14.26 MB / 1.057 GB Notification: Performance of SimCode: time 7.51e-07/0.5984, allocations: 4 kB / 1.213 GB, free: 14.25 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07824/0.6766, allocations: 61.42 MB / 1.273 GB, free: 1.852 MB / 1.104 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.643/9.32, allocations: 11.33 kB / 1.273 GB, free: 1.844 MB / 1.104 GB " [Timeout remaining time 291] (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/jenkins/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: 13.498598646372557]