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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 107.6 kB / 18.19 MB, free: 3.879 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 189.9 kB / 21.34 MB, free: 0.7383 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.446/1.446, allocations: 225.6 MB / 249.9 MB, free: 13.46 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.097/3.097, allocations: 489.7 MB / 0.7761 GB, free: 33.6 MB / 0.6231 GB [Timeout remaining time 87] 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=500,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=500,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.001947/0.001947, allocations: 70.16 kB / 1.127 GB, free: 36.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4203/0.4223, allocations: 172.1 MB / 1.295 GB, free: 11.71 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04647/0.4687, allocations: 35.7 MB / 1.33 GB, free: 7.898 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.02188/0.4906, allocations: 10.05 MB / 1.34 GB, free: 13.82 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004604/0.4952, allocations: 143.3 kB / 1.34 GB, free: 13.68 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.01147/0.5067, allocations: 3.872 MB / 1.343 GB, free: 9.801 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.007908/0.5146, allocations: 2.138 MB / 1.346 GB, free: 7.652 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.006913/0.5215, allocations: 2.026 MB / 1.348 GB, free: 5.629 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.01363/0.5351, allocations: 7.97 MB / 1.355 GB, free: 13.63 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01486/0.55, allocations: 7.133 MB / 1.362 GB, free: 6.387 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008023/0.558, allocations: 3.42 MB / 1.366 GB, free: 2.957 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009032/0.567, allocations: 3.937 MB / 1.369 GB, free: 15.01 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.003198/0.5702, allocations: 0.6797 MB / 1.37 GB, free: 14.33 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005767/0.576, allocations: 1.467 MB / 1.372 GB, free: 12.86 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.00615/0.5822, allocations: 2.689 MB / 1.374 GB, free: 10.16 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.00912/0.5913, allocations: 3.104 MB / 1.377 GB, free: 7.047 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.01969/0.611, allocations: 10.41 MB / 1.387 GB, free: 12.61 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 8.886e-06/0.611, allocations: 0 / 1.387 GB, free: 12.61 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.645e-06/0.611, allocations: 0 / 1.387 GB, free: 12.61 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0004582/0.6114, allocations: 0 / 1.387 GB, free: 12.61 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.02025/0.6317, allocations: 5.534 MB / 1.393 GB, free: 6.992 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.6318, allocations: 11.97 kB / 1.393 GB, free: 6.98 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00659/0.6383, allocations: 0.9889 MB / 1.394 GB, free: 5.988 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008766/0.6471, allocations: 3.2 MB / 1.397 GB, free: 2.734 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003996/0.6475, allocations: 357.9 kB / 1.397 GB, free: 2.383 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002014/0.6495, allocations: 468.3 kB / 1.398 GB, free: 1.926 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01995/0.6695, allocations: 7.91 MB / 1.405 GB, free: 9.652 MB / 1.108 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001453/0.6696, allocations: 19.83 kB / 1.405 GB, free: 9.633 MB / 1.108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008254/0.6704, allocations: 208 kB / 1.406 GB, free: 9.43 MB / 1.108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006144/0.6711, allocations: 365.1 kB / 1.406 GB, free: 9.07 MB / 1.108 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01418/0.6852, allocations: 5.937 MB / 1.412 GB, free: 3.117 MB / 1.108 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05176/0.737, allocations: 36.02 MB / 1.447 GB, free: 11.87 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003994/0.741, allocations: 2.002 MB / 1.449 GB, free: 9.844 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002222/0.7432, allocations: 1.332 MB / 1.45 GB, free: 8.516 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 9.106e-05/0.7433, allocations: 21.3 kB / 1.45 GB, free: 8.496 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.854e-05/0.7434, allocations: 63.8 kB / 1.45 GB, free: 8.426 MB / 1.154 GB Notification: Performance of pre-optimization done (n=157): time 3.868e-06/0.7434, allocations: 0 / 1.45 GB, free: 8.426 MB / 1.154 GB Notification: Performance of matching and sorting (n=160): time 0.01615/0.7595, allocations: 7.571 MB / 1.458 GB, free: 0.5898 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.095e-05/0.7596, allocations: 64.72 kB / 1.458 GB, free: 0.5156 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003113/0.7627, allocations: 1.868 MB / 1.46 GB, free: 14.62 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002553/0.763, allocations: 53.7 kB / 1.46 GB, free: 14.56 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.001885/0.7648, allocations: 2.184 MB / 1.462 GB, free: 12.36 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007505/0.7656, allocations: 0.5926 MB / 1.462 GB, free: 11.76 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006816/0.7663, allocations: 400 kB / 1.463 GB, free: 11.36 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001494/0.7664, allocations: 305.1 kB / 1.463 GB, free: 11.06 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00174/0.7682, allocations: 1.058 MB / 1.464 GB, free: 10 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002382/0.7706, allocations: 1.764 MB / 1.466 GB, free: 7.914 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004433/0.775, allocations: 3.049 MB / 1.469 GB, free: 4.551 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.357e-05/0.775, allocations: 8 kB / 1.469 GB, free: 4.543 MB / 1.17 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.007262/0.7823, allocations: 3.907 MB / 1.473 GB, free: 0.5898 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.869e-05/0.7823, allocations: 12 kB / 1.473 GB, free: 0.5781 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.445e-05/0.7823, allocations: 28.12 kB / 1.473 GB, free: 0.5508 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002671/0.785, allocations: 0.9234 MB / 1.473 GB, free: 15.59 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/0.7867, allocations: 427.2 kB / 1.474 GB, free: 15.17 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02447/0.8111, allocations: 22.78 MB / 1.496 GB, free: 6.711 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002394/0.8135, allocations: 123.8 kB / 1.496 GB, free: 6.59 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002624/0.8138, allocations: 92 kB / 1.496 GB, free: 6.5 MB / 1.201 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.003356/0.8171, allocations: 1.648 MB / 1.498 GB, free: 4.84 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006932/0.8178, allocations: 270.4 kB / 1.498 GB, free: 4.574 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006104/0.8239, allocations: 3.236 MB / 1.501 GB, free: 1.289 MB / 1.201 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.8239, allocations: 12 kB / 1.501 GB, free: 1.277 MB / 1.201 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.725e-05/0.824, allocations: 12 kB / 1.501 GB, free: 1.266 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.511e-05/0.824, allocations: 7.969 kB / 1.501 GB, free: 1.258 MB / 1.201 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0137/0.8377, allocations: 7.529 MB / 1.509 GB, free: 9.57 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.8377, allocations: 4 kB / 1.509 GB, free: 9.566 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009562/0.8387, allocations: 215.6 kB / 1.509 GB, free: 9.355 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00251/0.8412, allocations: 0.8887 MB / 1.51 GB, free: 8.43 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001358/0.8413, allocations: 35.98 kB / 1.51 GB, free: 8.395 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02426/0.8656, allocations: 22.74 MB / 1.532 GB, free: 15.97 MB / 1.248 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.588e-06/0.8656, allocations: 7.938 kB / 1.532 GB, free: 15.96 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006512/0.8721, allocations: 3.361 MB / 1.535 GB, free: 12.49 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001578/0.8737, allocations: 0.5383 MB / 1.536 GB, free: 11.93 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003099/0.874, allocations: 32 kB / 1.536 GB, free: 11.9 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/0.8751, allocations: 107.8 kB / 1.536 GB, free: 11.8 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004373/0.8755, allocations: 137 kB / 1.536 GB, free: 11.66 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001079/0.8756, allocations: 44 kB / 1.536 GB, free: 11.62 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002003/0.8776, allocations: 1.229 MB / 1.537 GB, free: 10.38 MB / 1.248 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8776, allocations: 0 / 1.537 GB, free: 10.38 MB / 1.248 GB Notification: Performance of remove unused functions: time 0.003478/0.8811, allocations: 0.9062 MB / 1.538 GB, free: 9.473 MB / 1.248 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.0003547/0.8814, allocations: 155.5 kB / 1.538 GB, free: 9.312 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.007362/0.8888, allocations: 4.303 MB / 1.543 GB, free: 4.855 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.117e-05/0.8888, allocations: 8.062 kB / 1.543 GB, free: 4.848 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.004755/0.8936, allocations: 2.886 MB / 1.545 GB, free: 1.805 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003937/0.8975, allocations: 0.8308 MB / 1.546 GB, free: 0.9922 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01744/0.9149, allocations: 8.467 MB / 1.555 GB, free: 8.418 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004491/0.9194, allocations: 3.275 MB / 1.558 GB, free: 5.113 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007941/0.9202, allocations: 163.4 kB / 1.558 GB, free: 4.957 MB / 1.264 GB Notification: Performance of SimCode: time 1.463e-06/0.9202, allocations: 0 / 1.558 GB, free: 4.957 MB / 1.264 GB Notification: Performance of Templates: time 0.9234/1.844, allocations: 340.1 MB / 1.89 GB, free: 34.42 MB / 1.311 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/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