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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001538/0.001538, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 225.6 MB / 249.4 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.856/2.856, allocations: 496.2 MB / 0.7819 GB, free: 12.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002292/0.002292, allocations: 63.91 kB / 1.136 GB, free: 12.46 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.025, allocations: 173.6 MB / 1.305 GB, free: 33.44 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03227/1.058, allocations: 36.82 MB / 1.341 GB, free: 9.105 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0164/1.074, allocations: 10.29 MB / 1.351 GB, free: 2.133 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003964/1.078, allocations: 147.6 kB / 1.352 GB, free: 2.086 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.009888/1.088, allocations: 3.949 MB / 1.355 GB, free: 15.77 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.007511/1.095, allocations: 2.148 MB / 1.358 GB, free: 14.42 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.006689/1.102, allocations: 2.023 MB / 1.36 GB, free: 13.25 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.01217/1.114, allocations: 7.965 MB / 1.367 GB, free: 9.609 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01159/1.126, allocations: 4.91 MB / 1.372 GB, free: 7.121 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007206/1.133, allocations: 3.427 MB / 1.375 GB, free: 5.539 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008624/1.142, allocations: 3.932 MB / 1.379 GB, free: 3.906 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.003176/1.145, allocations: 0.679 MB / 1.38 GB, free: 3.906 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006378/1.151, allocations: 1.47 MB / 1.381 GB, free: 3.609 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.006563/1.158, allocations: 2.684 MB / 1.384 GB, free: 2.438 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.01184/1.17, allocations: 3.106 MB / 1.387 GB, free: 456 kB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.02493/1.195, allocations: 10.42 MB / 1.397 GB, free: 13.09 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.195, allocations: 3.938 kB / 1.397 GB, free: 13.09 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.204e-06/1.195, allocations: 1.094 kB / 1.397 GB, free: 13.09 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0004486/1.195, allocations: 0 / 1.397 GB, free: 13.09 MB / 1.092 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.02109/1.216, allocations: 5.533 MB / 1.403 GB, free: 9.371 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.959e-05/1.216, allocations: 9.438 kB / 1.403 GB, free: 9.371 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007088/1.223, allocations: 0.9849 MB / 1.404 GB, free: 8.891 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008962/1.232, allocations: 3.195 MB / 1.407 GB, free: 6.801 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005165/1.233, allocations: 353.9 kB / 1.407 GB, free: 6.641 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002505/1.235, allocations: 473 kB / 1.407 GB, free: 6.48 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02594/1.261, allocations: 7.907 MB / 1.415 GB, free: 1.516 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002688/1.261, allocations: 27.7 kB / 1.415 GB, free: 1.496 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002065/1.264, allocations: 207.8 kB / 1.415 GB, free: 1.344 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000694/1.264, allocations: 369.5 kB / 1.416 GB, free: 1.25 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01608/1.28, allocations: 5.941 MB / 1.422 GB, free: 14.18 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06283/1.343, allocations: 36.01 MB / 1.457 GB, free: 10.09 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004/1.347, allocations: 1.994 MB / 1.459 GB, free: 8.086 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002307/1.349, allocations: 1.333 MB / 1.46 GB, free: 6.758 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001436/1.35, allocations: 17.31 kB / 1.46 GB, free: 6.742 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.607e-05/1.35, allocations: 63.75 kB / 1.46 GB, free: 6.672 MB / 1.139 GB Notification: Performance of pre-optimization done (n=157): time 3.897e-06/1.35, allocations: 0 / 1.46 GB, free: 6.672 MB / 1.139 GB Notification: Performance of matching and sorting (n=160): time 0.01701/1.367, allocations: 7.574 MB / 1.467 GB, free: 14.83 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.132e-05/1.367, allocations: 68.72 kB / 1.468 GB, free: 14.75 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003611/1.37, allocations: 1.86 MB / 1.469 GB, free: 12.86 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002448/1.371, allocations: 53.7 kB / 1.469 GB, free: 12.8 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001795/1.372, allocations: 2.192 MB / 1.472 GB, free: 10.59 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007221/1.373, allocations: 0.5809 MB / 1.472 GB, free: 10.01 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008472/1.374, allocations: 404 kB / 1.473 GB, free: 9.605 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001261/1.374, allocations: 309.1 kB / 1.473 GB, free: 9.301 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/1.376, allocations: 1.058 MB / 1.474 GB, free: 8.238 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00239/1.378, allocations: 1.76 MB / 1.476 GB, free: 6.156 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004335/1.383, allocations: 3.052 MB / 1.479 GB, free: 2.789 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-05/1.383, allocations: 4 kB / 1.479 GB, free: 2.785 MB / 1.154 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007396/1.39, allocations: 3.91 MB / 1.482 GB, free: 14.83 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 4.125e-05/1.39, allocations: 16 kB / 1.482 GB, free: 14.81 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.793e-05/1.39, allocations: 20 kB / 1.482 GB, free: 14.79 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002622/1.393, allocations: 0.9353 MB / 1.483 GB, free: 13.82 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/1.394, allocations: 423.3 kB / 1.484 GB, free: 13.41 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02352/1.418, allocations: 22.77 MB / 1.506 GB, free: 4.957 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002947/1.421, allocations: 127.9 kB / 1.506 GB, free: 4.832 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005762/1.421, allocations: 96 kB / 1.506 GB, free: 4.738 MB / 1.186 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.004503/1.426, allocations: 1.645 MB / 1.508 GB, free: 3.082 MB / 1.186 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009005/1.427, allocations: 270.4 kB / 1.508 GB, free: 2.816 MB / 1.186 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006238/1.433, allocations: 3.244 MB / 1.511 GB, free: 15.53 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/1.433, allocations: 16 kB / 1.511 GB, free: 15.51 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-05/1.433, allocations: 12 kB / 1.511 GB, free: 15.5 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.622e-05/1.433, allocations: 7.969 kB / 1.511 GB, free: 15.49 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01789/1.451, allocations: 7.522 MB / 1.519 GB, free: 7.812 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.424e-05/1.451, allocations: 4 kB / 1.519 GB, free: 7.809 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/1.452, allocations: 219.7 kB / 1.519 GB, free: 7.594 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002625/1.455, allocations: 0.8964 MB / 1.52 GB, free: 6.66 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001926/1.455, allocations: 28 kB / 1.52 GB, free: 6.633 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02482/1.48, allocations: 22.74 MB / 1.542 GB, free: 14.21 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.745e-06/1.48, allocations: 4 kB / 1.542 GB, free: 14.2 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006482/1.486, allocations: 3.365 MB / 1.545 GB, free: 10.73 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00168/1.488, allocations: 0.5384 MB / 1.546 GB, free: 10.17 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003481/1.488, allocations: 39.98 kB / 1.546 GB, free: 10.13 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001064/1.489, allocations: 91.83 kB / 1.546 GB, free: 10.04 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004611/1.49, allocations: 137.2 kB / 1.546 GB, free: 9.906 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001249/1.49, allocations: 52 kB / 1.546 GB, free: 9.855 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.001956/1.492, allocations: 1.229 MB / 1.547 GB, free: 8.613 MB / 1.232 GB Notification: Performance of sort global known variables: time 9e-08/1.492, allocations: 3.938 kB / 1.547 GB, free: 8.609 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.003469/1.495, allocations: 0.9023 MB / 1.548 GB, free: 7.707 MB / 1.232 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.0003144/1.496, allocations: 159 kB / 1.548 GB, free: 7.543 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.007076/1.503, allocations: 4.299 MB / 1.552 GB, free: 3.09 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 8.306e-06/1.503, allocations: 0 / 1.552 GB, free: 3.09 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.004727/1.507, allocations: 2.906 MB / 1.555 GB, free: 28 kB / 1.232 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004171/1.512, allocations: 0.83 MB / 1.556 GB, free: 15.21 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01658/1.528, allocations: 7.839 MB / 1.564 GB, free: 7.27 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004411/1.533, allocations: 3.213 MB / 1.567 GB, free: 4.027 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.002221/1.535, allocations: 0.5293 MB / 1.567 GB, free: 3.492 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004086/1.535, allocations: 139.4 kB / 1.568 GB, free: 3.355 MB / 1.248 GB Notification: Performance of SimCode: time 1.473e-06/1.535, allocations: 0 / 1.568 GB, free: 3.355 MB / 1.248 GB Notification: Performance of Templates: time 0.08693/1.622, allocations: 42.87 MB / 1.609 GB, free: 9.098 MB / 1.295 GB " [Timeout remaining time 298] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 400] 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/jenkins/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: 11.183372100815177]