Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.00159/0.00159, allocations: 78.33 kB / 19.76 MB, free: 2.031 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.00168/0.00168, allocations: 156.5 kB / 23.01 MB, free: 4.941 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.438/1.438, allocations: 177.2 MB / 203.4 MB, free: 8.969 MB / 190.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 2.899/2.899, allocations: 394.2 MB / 0.6387 GB, free: 11.93 MB / 0.6075 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: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") [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.002241/0.002241, allocations: 71.88 kB / 1.009 GB, free: 14.47 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9651/0.9674, allocations: 181.8 MB / 1.187 GB, free: 16.19 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0377/1.005, allocations: 33.68 MB / 1.22 GB, free: 11.22 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0203/1.025, allocations: 10.03 MB / 1.229 GB, free: 4.562 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004182/1.03, allocations: 191.4 kB / 1.229 GB, free: 4.473 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.01142/1.041, allocations: 3.82 MB / 1.233 GB, free: 2.312 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.009571/1.051, allocations: 2.145 MB / 1.235 GB, free: 0.9727 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006512/1.057, allocations: 1.973 MB / 1.237 GB, free: 15.85 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01272/1.07, allocations: 7.969 MB / 1.245 GB, free: 12.19 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009228/1.079, allocations: 5.236 MB / 1.25 GB, free: 9.059 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007245/1.086, allocations: 3.496 MB / 1.254 GB, free: 7.051 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008237/1.095, allocations: 3.693 MB / 1.257 GB, free: 4.84 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.002159/1.097, allocations: 0.6817 MB / 1.258 GB, free: 4.836 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004712/1.101, allocations: 1.36 MB / 1.259 GB, free: 4.457 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.004419/1.106, allocations: 2.679 MB / 1.262 GB, free: 2.703 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.006076/1.112, allocations: 2.521 MB / 1.264 GB, free: 1.121 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01516/1.127, allocations: 10.46 MB / 1.274 GB, free: 9.566 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/1.127, allocations: 1.219 kB / 1.274 GB, free: 9.566 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.654e-06/1.127, allocations: 0 / 1.274 GB, free: 9.566 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.000327/1.127, allocations: 0 / 1.274 GB, free: 9.566 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01632/1.144, allocations: 5.457 MB / 1.28 GB, free: 5.945 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/1.144, allocations: 13.66 kB / 1.28 GB, free: 5.941 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006062/1.15, allocations: 1.003 MB / 1.281 GB, free: 5.453 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008874/1.159, allocations: 3.128 MB / 1.284 GB, free: 2.375 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003265/1.159, allocations: 357.9 kB / 1.284 GB, free: 2.023 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001383/1.16, allocations: 468.3 kB / 1.285 GB, free: 1.566 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01736/1.178, allocations: 8.675 MB / 1.293 GB, free: 8.344 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001164/1.178, allocations: 27.75 kB / 1.293 GB, free: 8.316 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006167/1.178, allocations: 212 kB / 1.293 GB, free: 8.109 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005617/1.179, allocations: 365.1 kB / 1.294 GB, free: 7.75 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01154/1.191, allocations: 5.929 MB / 1.299 GB, free: 1.805 MB / 1.139 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03479/1.225, allocations: 22.95 MB / 1.322 GB, free: 10.18 MB / 1.17 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003426/1.229, allocations: 1.991 MB / 1.324 GB, free: 8.18 MB / 1.17 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001928/1.231, allocations: 1.331 MB / 1.325 GB, free: 6.852 MB / 1.17 GB Notification: Performance of preOpt evalFunc (simulation): time 8.635e-05/1.231, allocations: 17.31 kB / 1.325 GB, free: 6.832 MB / 1.17 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.282e-05/1.231, allocations: 55.88 kB / 1.325 GB, free: 6.77 MB / 1.17 GB Notification: Performance of pre-optimization done (n=157): time 4.268e-06/1.231, allocations: 0 / 1.325 GB, free: 6.77 MB / 1.17 GB Notification: Performance of matching and sorting (n=160): time 0.01409/1.245, allocations: 6.644 MB / 1.332 GB, free: 84 kB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/1.245, allocations: 72.72 kB / 1.332 GB, free: 0 / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00231/1.247, allocations: 1.705 MB / 1.333 GB, free: 14.26 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0001301/1.247, allocations: 53.7 kB / 1.333 GB, free: 14.2 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001583/1.249, allocations: 2.203 MB / 1.336 GB, free: 11.98 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005234/1.25, allocations: 0.581 MB / 1.336 GB, free: 11.39 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006441/1.25, allocations: 415.9 kB / 1.337 GB, free: 10.98 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001272/1.25, allocations: 301.1 kB / 1.337 GB, free: 10.68 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/1.252, allocations: 1.058 MB / 1.338 GB, free: 9.617 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002249/1.254, allocations: 1.76 MB / 1.34 GB, free: 7.535 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004463/1.259, allocations: 3.049 MB / 1.343 GB, free: 4.176 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.53e-05/1.259, allocations: 8 kB / 1.343 GB, free: 4.168 MB / 1.186 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007543/1.266, allocations: 3.886 MB / 1.346 GB, free: 240 kB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 3.813e-05/1.266, allocations: 16 kB / 1.346 GB, free: 224 kB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.87e-05/1.266, allocations: 20.88 kB / 1.346 GB, free: 204 kB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002521/1.269, allocations: 0.9312 MB / 1.347 GB, free: 15.23 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/1.27, allocations: 431.2 kB / 1.348 GB, free: 14.8 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02216/1.293, allocations: 21.12 MB / 1.368 GB, free: 8.465 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002208/1.295, allocations: 123.9 kB / 1.368 GB, free: 8.344 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001891/1.295, allocations: 99.94 kB / 1.369 GB, free: 8.246 MB / 1.217 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 (227): * Single equations (assignments): 215 * 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,6,100.0%), (2,6,100.0%), (2,6,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%), (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.002942/1.298, allocations: 1.645 MB / 1.37 GB, free: 6.59 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004546/1.298, allocations: 250.5 kB / 1.37 GB, free: 6.344 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00579/1.304, allocations: 3.237 MB / 1.374 GB, free: 3.055 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/1.304, allocations: 16 kB / 1.374 GB, free: 3.039 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.412e-05/1.304, allocations: 8 kB / 1.374 GB, free: 3.031 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.755e-05/1.304, allocations: 11.97 kB / 1.374 GB, free: 3.02 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0116/1.316, allocations: 6.434 MB / 1.38 GB, free: 12.45 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/1.316, allocations: 4 kB / 1.38 GB, free: 12.45 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009916/1.317, allocations: 219.6 kB / 1.38 GB, free: 12.23 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002372/1.319, allocations: 0.8882 MB / 1.381 GB, free: 11.31 MB / 1.232 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001088/1.319, allocations: 32 kB / 1.381 GB, free: 11.28 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02201/1.341, allocations: 21.08 MB / 1.402 GB, free: 4.957 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.724e-06/1.341, allocations: 7.938 kB / 1.402 GB, free: 4.949 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005983/1.347, allocations: 3.352 MB / 1.405 GB, free: 1.484 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/1.349, allocations: 446.3 kB / 1.405 GB, free: 1.047 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002785/1.349, allocations: 35.98 kB / 1.405 GB, free: 1.012 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/1.35, allocations: 95.83 kB / 1.405 GB, free: 0.918 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003624/1.35, allocations: 152.9 kB / 1.406 GB, free: 0.7656 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/1.35, allocations: 48 kB / 1.406 GB, free: 0.7188 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.001587/1.352, allocations: 1.09 MB / 1.407 GB, free: 15.61 MB / 1.264 GB Notification: Performance of sort global known variables: time 9e-08/1.352, allocations: 0 / 1.407 GB, free: 15.61 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.003143/1.355, allocations: 0.8984 MB / 1.408 GB, free: 14.71 MB / 1.264 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 (109): * Single equations (assignments): 97 * 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,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,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002629/1.355, allocations: 155 kB / 1.408 GB, free: 14.55 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.009334/1.365, allocations: 4.292 MB / 1.412 GB, free: 10.11 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/1.365, allocations: 12 kB / 1.412 GB, free: 10.09 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.004371/1.369, allocations: 2.902 MB / 1.415 GB, free: 7.035 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003368/1.373, allocations: 0.7574 MB / 1.415 GB, free: 6.289 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01533/1.388, allocations: 7.816 MB / 1.423 GB, free: 14.38 MB / 1.279 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00425/1.392, allocations: 2.661 MB / 1.426 GB, free: 11.68 MB / 1.279 GB Notification: Performance of simCode: alias equations: time 0.001853/1.394, allocations: 0.5044 MB / 1.426 GB, free: 11.18 MB / 1.279 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000357/1.394, allocations: 132.5 kB / 1.426 GB, free: 11.05 MB / 1.279 GB Notification: Performance of SimCode: time 7.91e-07/1.394, allocations: 0 / 1.426 GB, free: 11.05 MB / 1.279 GB Notification: Performance of Templates: time 0.07762/1.472, allocations: 42.47 MB / 1.468 GB, free: 1.43 MB / 1.311 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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: 10.539571444969624]