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.002261/0.00226, allocations: 118.1 kB / 16.42 MB, free: 6.012 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.00234/0.00234, allocations: 183.4 kB / 17.35 MB, free: 5.629 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.472/1.472, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.824/2.824, allocations: 469.4 MB / 0.7428 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 59.89 kB / 1.065 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9636/0.9651, allocations: 159.1 MB / 1.221 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008644/0.9738, allocations: 5.554 MB / 1.226 GB, free: 12.78 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.005281/0.9791, allocations: 2.642 MB / 1.229 GB, free: 10.13 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006806/0.9798, allocations: 23.88 kB / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002147/0.982, allocations: 0.6842 MB / 1.23 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.9834, allocations: 421.8 kB / 1.23 GB, free: 9.008 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001209/0.9846, allocations: 407 kB / 1.23 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.00147/0.9861, allocations: 0.9669 MB / 1.231 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008104/0.9869, allocations: 458.3 kB / 1.232 GB, free: 7.188 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007613/0.9877, allocations: 386.5 kB / 1.232 GB, free: 6.809 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007787/0.9885, allocations: 410.4 kB / 1.233 GB, free: 6.406 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001586/0.9886, allocations: 48 kB / 1.233 GB, free: 6.359 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009203/0.9896, allocations: 363.2 kB / 1.233 GB, free: 6.004 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0003478/0.9899, allocations: 247.3 kB / 1.233 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0005297/0.9905, allocations: 346.3 kB / 1.233 GB, free: 5.422 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001447/0.9919, allocations: 0.9791 MB / 1.234 GB, free: 4.441 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.9919, allocations: 4 kB / 1.234 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.104e-06/0.992, allocations: 0 / 1.234 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.098e-05/0.992, allocations: 0 / 1.234 GB, free: 4.438 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.002131/0.9941, allocations: 0.9737 MB / 1.235 GB, free: 3.414 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.9942, allocations: 8.625 kB / 1.235 GB, free: 3.406 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001501/0.9957, allocations: 195.8 kB / 1.236 GB, free: 3.215 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009731/0.9967, allocations: 0.5257 MB / 1.236 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.316e-05/0.9967, allocations: 45.36 kB / 1.236 GB, free: 2.609 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001702/0.9969, allocations: 44.56 kB / 1.236 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.9983, allocations: 0.8356 MB / 1.237 GB, free: 1.648 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.391e-05/0.9984, allocations: 4 kB / 1.237 GB, free: 1.645 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.886e-05/0.9984, allocations: 23.98 kB / 1.237 GB, free: 1.621 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002088/0.9987, allocations: 64.95 kB / 1.237 GB, free: 1.559 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001061/0.9997, allocations: 0.5774 MB / 1.238 GB, free: 0.9766 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004967/1.005, allocations: 4.569 MB / 1.242 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004758/1.005, allocations: 299.2 kB / 1.242 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000309/1.006, allocations: 233.3 kB / 1.243 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.991e-05/1.006, allocations: 8.219 kB / 1.243 GB, free: 11.52 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/1.006, allocations: 34.84 kB / 1.243 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=33): time 2.385e-06/1.006, allocations: 0 / 1.243 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of matching and sorting (n=40): time 0.005867/1.011, allocations: 2.635 MB / 1.245 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/1.012, allocations: 55.41 kB / 1.245 GB, free: 8.645 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006049/1.012, allocations: 466 kB / 1.246 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.037e-05/1.012, allocations: 29.7 kB / 1.246 GB, free: 8.141 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002866/1.013, allocations: 343.6 kB / 1.246 GB, free: 7.801 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001502/1.013, allocations: 142 kB / 1.246 GB, free: 7.66 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/1.013, allocations: 106.1 kB / 1.246 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0002128/1.013, allocations: 366.7 kB / 1.247 GB, free: 7.184 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003984/1.013, allocations: 237 kB / 1.247 GB, free: 6.953 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005505/1.014, allocations: 410.4 kB / 1.247 GB, free: 6.477 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009817/1.015, allocations: 0.6779 MB / 1.248 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.015, allocations: 0 / 1.248 GB, free: 5.727 MB / 0.9669 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00186/1.017, allocations: 0.9138 MB / 1.249 GB, free: 4.797 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/1.017, allocations: 8.062 kB / 1.249 GB, free: 4.789 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.447e-05/1.017, allocations: 8 kB / 1.249 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008519/1.018, allocations: 226.4 kB / 1.249 GB, free: 4.551 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005422/1.018, allocations: 115.8 kB / 1.249 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005588/1.024, allocations: 5.352 MB / 1.254 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004864/1.025, allocations: 27.97 kB / 1.254 GB, free: 14.64 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.934e-05/1.025, allocations: 24 kB / 1.254 GB, free: 14.62 MB / 0.9825 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.0003485/1.025, allocations: 222.1 kB / 1.255 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001324/1.025, allocations: 63.48 kB / 1.255 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001516/1.027, allocations: 0.7735 MB / 1.255 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/1.027, allocations: 3.984 kB / 1.255 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/1.027, allocations: 4 kB / 1.255 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003029/1.027, allocations: 168.4 kB / 1.256 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001009/1.027, allocations: 11.94 kB / 1.256 GB, free: 13.33 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003263/1.027, allocations: 23.97 kB / 1.256 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.41e-05/1.027, allocations: 35.94 kB / 1.256 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001997/1.029, allocations: 0.8617 MB / 1.257 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001192/1.031, allocations: 0.9642 MB / 1.258 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003306/1.031, allocations: 235.8 kB / 1.258 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003897/1.031, allocations: 314.9 kB / 1.258 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of Backend: time 7.41e-07/1.031, allocations: 0 / 1.258 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.002366/1.034, allocations: 1.07 MB / 1.259 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of SimCode: time 0.002762/1.037, allocations: 1.778 MB / 1.261 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of Templates: time 0.02103/1.058, allocations: 11.1 MB / 1.272 GB, free: 12.95 MB / 0.9981 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