Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|load_sc_1.v.1.|load_sc_1.v.2.|load_sc_2.v.1.|load_sc_2.v.2.|load_sc_3.v.1.|load_sc_3.v.2.|load_sc_1.i.1.|load_sc_1.i.2.|load_sc_2.i.1.|load_sc_2.i.2.|load_sc_3.i.1.|load_sc_3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001712/0.001712, allocations: 112.2 kB / 16.42 MB, free: 6.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001897/0.001897, allocations: 187.9 kB / 17.35 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.855/1.855, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.924/2.924, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002692/0.002692, allocations: 63.89 kB / 1.055 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.383/1.386, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.01245/1.399, allocations: 5.541 MB / 1.214 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.007409/1.406, allocations: 2.65 MB / 1.216 GB, free: 5.445 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008898/1.407, allocations: 23.81 kB / 1.216 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002805/1.41, allocations: 0.6846 MB / 1.217 GB, free: 4.734 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001907/1.412, allocations: 405.7 kB / 1.217 GB, free: 4.336 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001691/1.414, allocations: 407 kB / 1.218 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001953/1.416, allocations: 0.9591 MB / 1.219 GB, free: 2.973 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001202/1.417, allocations: 462.3 kB / 1.219 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001033/1.418, allocations: 374.6 kB / 1.22 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00109/1.419, allocations: 410.4 kB / 1.22 GB, free: 1.754 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002015/1.419, allocations: 48 kB / 1.22 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001287/1.42, allocations: 363.3 kB / 1.22 GB, free: 1.352 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004609/1.421, allocations: 243.4 kB / 1.221 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007445/1.422, allocations: 358.1 kB / 1.221 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.002126/1.424, allocations: 0.9674 MB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/1.424, allocations: 0 / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.809e-06/1.424, allocations: 3.984 kB / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.154e-05/1.424, allocations: 0 / 1.222 GB, free: 15.79 MB / 0.9512 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.00305/1.427, allocations: 0.9852 MB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.297e-05/1.427, allocations: 12.03 kB / 1.223 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002563/1.43, allocations: 191.9 kB / 1.223 GB, free: 14.55 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001527/1.431, allocations: 0.5218 MB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.547e-05/1.431, allocations: 41.36 kB / 1.224 GB, free: 13.96 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002591/1.432, allocations: 56.45 kB / 1.224 GB, free: 13.9 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002007/1.434, allocations: 0.8241 MB / 1.224 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.35e-05/1.434, allocations: 7.938 kB / 1.224 GB, free: 12.98 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/1.434, allocations: 23.98 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003222/1.434, allocations: 76.92 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/1.436, allocations: 0.5658 MB / 1.225 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006865/1.443, allocations: 4.569 MB / 1.23 GB, free: 7.398 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007617/1.443, allocations: 299.3 kB / 1.23 GB, free: 7.098 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005064/1.444, allocations: 225.3 kB / 1.23 GB, free: 6.875 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.891e-05/1.444, allocations: 4.281 kB / 1.23 GB, free: 6.871 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.749e-05/1.444, allocations: 38.84 kB / 1.23 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=33): time 3.055e-06/1.444, allocations: 0 / 1.23 GB, free: 6.824 MB / 0.9512 GB Notification: Performance of matching and sorting (n=40): time 0.009296/1.453, allocations: 2.632 MB / 1.233 GB, free: 4.062 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.177e-05/1.453, allocations: 59.41 kB / 1.233 GB, free: 3.992 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009239/1.454, allocations: 462 kB / 1.233 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.143e-05/1.454, allocations: 37.69 kB / 1.233 GB, free: 3.484 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.000358/1.455, allocations: 343.6 kB / 1.234 GB, free: 3.141 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001889/1.455, allocations: 138 kB / 1.234 GB, free: 3.004 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003004/1.455, allocations: 106.2 kB / 1.234 GB, free: 2.891 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002446/1.456, allocations: 370.7 kB / 1.234 GB, free: 2.52 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006147/1.456, allocations: 233 kB / 1.234 GB, free: 2.293 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008194/1.457, allocations: 414.4 kB / 1.235 GB, free: 1.816 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001485/1.459, allocations: 0.674 MB / 1.235 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.275e-06/1.459, allocations: 4 kB / 1.235 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002911/1.461, allocations: 0.9176 MB / 1.236 GB, free: 136 kB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.017e-05/1.462, allocations: 14 kB / 1.236 GB, free: 124 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.043e-05/1.462, allocations: 15.97 kB / 1.236 GB, free: 108 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001342/1.463, allocations: 222.3 kB / 1.237 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008942/1.464, allocations: 115.8 kB / 1.237 GB, free: 15.77 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00867/1.472, allocations: 5.336 MB / 1.242 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000823/1.473, allocations: 31.97 kB / 1.242 GB, free: 9.98 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/1.473, allocations: 23.94 kB / 1.242 GB, free: 9.957 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0006178/1.474, allocations: 229.6 kB / 1.242 GB, free: 9.723 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002394/1.474, allocations: 63.34 kB / 1.242 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002438/1.477, allocations: 0.7695 MB / 1.243 GB, free: 8.875 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.028e-05/1.477, allocations: 8 kB / 1.243 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.416e-06/1.477, allocations: 0 / 1.243 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004266/1.477, allocations: 168.4 kB / 1.243 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001459/1.477, allocations: 8 kB / 1.243 GB, free: 8.676 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005767/1.478, allocations: 23.97 kB / 1.243 GB, free: 8.652 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/1.478, allocations: 35.94 kB / 1.243 GB, free: 8.617 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003153/1.481, allocations: 0.8654 MB / 1.244 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002039/1.483, allocations: 0.9608 MB / 1.245 GB, free: 6.758 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005487/1.484, allocations: 235.8 kB / 1.245 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0006287/1.485, allocations: 318.8 kB / 1.246 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of Backend: time 5.81e-07/1.485, allocations: 0 / 1.246 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.003635/1.488, allocations: 1.066 MB / 1.247 GB, free: 5.109 MB / 0.9669 GB Notification: Performance of SimCode: time 0.004259/1.493, allocations: 1.781 MB / 1.248 GB, free: 3.281 MB / 0.9669 GB Notification: Performance of Templates: time 0.03334/1.526, allocations: 11.34 MB / 1.259 GB, free: 8.062 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches