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.001038/0.001038, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.00871/0.00871, allocations: 170.4 kB / 16.27 MB, free: 6.648 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.397/1.397, allocations: 223.3 MB / 240.3 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.677/2.677, allocations: 462.7 MB / 0.7364 GB, free: 352 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003746, allocations: 9.812 kB / 0.9028 GB, free: 36.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.3614, allocations: 159.6 MB / 1.059 GB, free: 5.508 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.006406/0.3679, allocations: 5.164 MB / 1.064 GB, free: 328 kB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.005013/0.3729, allocations: 2.615 MB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004693/0.3734, allocations: 23.81 kB / 1.066 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.3738, allocations: 103.1 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0009822/0.3748, allocations: 386.1 kB / 1.067 GB, free: 13.19 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001097/0.3759, allocations: 371.2 kB / 1.067 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001336/0.3772, allocations: 1.255 MB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001337/0.3786, allocations: 0.7785 MB / 1.069 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000504/0.3791, allocations: 318.5 kB / 1.069 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005344/0.3796, allocations: 390.4 kB / 1.07 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.571e-05/0.3797, allocations: 24 kB / 1.07 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007547/0.3805, allocations: 431.1 kB / 1.07 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002397/0.3807, allocations: 227.4 kB / 1.07 GB, free: 9.398 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003202/0.3811, allocations: 343.9 kB / 1.071 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001043/0.3821, allocations: 0.9578 MB / 1.072 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.3821, allocations: 0 / 1.072 GB, free: 8.094 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3821, allocations: 7.938 kB / 1.072 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.3821, allocations: 0 / 1.072 GB, free: 8.086 MB / 0.8262 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.001554/0.3837, allocations: 0.8492 MB / 1.073 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.3838, allocations: 8.031 kB / 1.073 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001373/0.3851, allocations: 199.8 kB / 1.073 GB, free: 6.98 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007717/0.3859, allocations: 498.4 kB / 1.073 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.204e-05/0.386, allocations: 33.38 kB / 1.073 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.3861, allocations: 56.55 kB / 1.073 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001177/0.3873, allocations: 0.8318 MB / 1.074 GB, free: 5.457 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.586e-05/0.3874, allocations: 7.906 kB / 1.074 GB, free: 5.449 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.79e-05/0.3874, allocations: 16 kB / 1.074 GB, free: 5.434 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001852/0.3876, allocations: 72.94 kB / 1.074 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009061/0.3885, allocations: 0.5735 MB / 1.075 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004357/0.3929, allocations: 4.596 MB / 1.079 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005345/0.3935, allocations: 303.2 kB / 1.08 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003202/0.3938, allocations: 225.3 kB / 1.08 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.869e-05/0.3938, allocations: 4.281 kB / 1.08 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.596e-05/0.3939, allocations: 34.78 kB / 1.08 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=33): time 2.675e-06/0.3939, allocations: 4 kB / 1.08 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of matching and sorting (n=40): time 0.005894/0.3998, allocations: 2.63 MB / 1.082 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.02e-05/0.3998, allocations: 59.34 kB / 1.082 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005308/0.4004, allocations: 466 kB / 1.083 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.004e-05/0.4004, allocations: 33.7 kB / 1.083 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002586/0.4007, allocations: 343.5 kB / 1.083 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.4008, allocations: 145.9 kB / 1.083 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.613e-05/0.4009, allocations: 57.69 kB / 1.083 GB, free: 11.38 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0002202/0.4011, allocations: 358.8 kB / 1.084 GB, free: 11.02 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003942/0.4015, allocations: 241 kB / 1.084 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005415/0.4021, allocations: 402.5 kB / 1.084 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009745/0.4031, allocations: 0.6817 MB / 1.085 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.4031, allocations: 0 / 1.085 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001714/0.4048, allocations: 0.9211 MB / 1.086 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.718e-05/0.4049, allocations: 9.406 kB / 1.086 GB, free: 8.617 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.968e-06/0.4049, allocations: 4 kB / 1.086 GB, free: 8.613 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007792/0.4057, allocations: 226.9 kB / 1.086 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005103/0.4062, allocations: 111.8 kB / 1.086 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005237/0.4114, allocations: 4.934 MB / 1.091 GB, free: 2.938 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005037/0.4119, allocations: 31.97 kB / 1.091 GB, free: 2.906 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.896e-05/0.412, allocations: 27.98 kB / 1.091 GB, free: 2.879 MB / 0.8419 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.0003629/0.4124, allocations: 225.5 kB / 1.091 GB, free: 2.648 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.4125, allocations: 59.25 kB / 1.091 GB, free: 2.59 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001577/0.4141, allocations: 0.7812 MB / 1.092 GB, free: 1.793 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/0.4141, allocations: 4 kB / 1.092 GB, free: 1.789 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4141, allocations: 7.938 kB / 1.092 GB, free: 1.781 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.4141, allocations: 3.984 kB / 1.092 GB, free: 1.777 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002539/0.4167, allocations: 1.499 MB / 1.094 GB, free: 196 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.4167, allocations: 0 / 1.094 GB, free: 196 kB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003793/0.4171, allocations: 64.14 kB / 1.094 GB, free: 132 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006998/0.4178, allocations: 214.5 kB / 1.094 GB, free: 15.91 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.536e-05/0.4178, allocations: 12 kB / 1.094 GB, free: 15.9 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004803/0.4226, allocations: 4.868 MB / 1.099 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.4227, allocations: 11.95 kB / 1.099 GB, free: 10.62 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001873/0.4246, allocations: 1.131 MB / 1.1 GB, free: 9.438 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002592/0.4248, allocations: 172.4 kB / 1.1 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.853e-05/0.4249, allocations: 12 kB / 1.1 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003434/0.4253, allocations: 27.91 kB / 1.1 GB, free: 9.211 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.277e-05/0.4254, allocations: 39.97 kB / 1.1 GB, free: 9.172 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.851e-05/0.4254, allocations: 12 kB / 1.1 GB, free: 9.16 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000402/0.4258, allocations: 322.9 kB / 1.1 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.884e-06/0.4258, allocations: 0 / 1.1 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007652/0.4266, allocations: 167.9 kB / 1.101 GB, free: 8.684 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * 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,2,100.0%), (2,4,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002031/0.4268, allocations: 119.2 kB / 1.101 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001699/0.4285, allocations: 1 MB / 1.102 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.178e-06/0.4285, allocations: 0 / 1.102 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0009605/0.4296, allocations: 0.676 MB / 1.102 GB, free: 6.805 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.4306, allocations: 172.2 kB / 1.102 GB, free: 6.637 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00241/0.433, allocations: 1.55 MB / 1.104 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005728/0.4336, allocations: 0.9494 MB / 1.105 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0004276/0.4341, allocations: 121 kB / 1.105 GB, free: 3.941 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001096/0.4342, allocations: 35.44 kB / 1.105 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of SimCode: time 4.7e-07/0.4342, allocations: 0 / 1.105 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of Templates: time 0.01721/0.4514, allocations: 8.422 MB / 1.113 GB, free: 11.59 MB / 0.8731 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/jenkins/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