Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001507/0.001507, allocations: 110.9 kB / 16.41 MB, free: 6.008 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.001747/0.001747, allocations: 182.3 kB / 17.34 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.329/1.329, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.607/2.607, allocations: 437 MB / 0.7112 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 64.12 kB / 1.019 GB, free: 9.465 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7775/0.7789, allocations: 151.6 MB / 1.167 GB, free: 3.902 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL): time 0.008182/0.7872, allocations: 5.553 MB / 1.173 GB, free: 14.32 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.004921/0.7921, allocations: 2.642 MB / 1.175 GB, free: 11.67 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006179/0.7928, allocations: 27.81 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.002112/0.795, allocations: 0.6783 MB / 1.176 GB, free: 10.96 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.001384/0.7964, allocations: 433.7 kB / 1.176 GB, free: 10.54 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.7977, allocations: 408.3 kB / 1.177 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.001408/0.7991, allocations: 0.9591 MB / 1.178 GB, free: 9.176 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007955/0.7999, allocations: 462.3 kB / 1.178 GB, free: 8.723 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007238/0.8006, allocations: 382.6 kB / 1.179 GB, free: 8.348 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000808/0.8015, allocations: 410.3 kB / 1.179 GB, free: 7.945 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.8016, allocations: 48 kB / 1.179 GB, free: 7.898 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008281/0.8024, allocations: 359.3 kB / 1.179 GB, free: 7.547 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0003158/0.8028, allocations: 251.3 kB / 1.18 GB, free: 7.301 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0004726/0.8033, allocations: 346.2 kB / 1.18 GB, free: 6.961 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001369/0.8046, allocations: 0.9674 MB / 1.181 GB, free: 5.992 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.8046, allocations: 4 kB / 1.181 GB, free: 5.988 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.323e-06/0.8047, allocations: 0 / 1.181 GB, free: 5.988 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.477e-05/0.8047, allocations: 4 kB / 1.181 GB, free: 5.984 MB / 0.9044 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.002004/0.8067, allocations: 0.9836 MB / 1.182 GB, free: 4.949 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.152e-05/0.8068, allocations: 8.031 kB / 1.182 GB, free: 4.941 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00149/0.8083, allocations: 199.9 kB / 1.182 GB, free: 4.746 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009629/0.8092, allocations: 0.5218 MB / 1.182 GB, free: 4.184 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.951e-05/0.8093, allocations: 41.38 kB / 1.183 GB, free: 4.145 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/0.8095, allocations: 52.45 kB / 1.183 GB, free: 4.094 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001172/0.8107, allocations: 0.8317 MB / 1.183 GB, free: 3.184 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.362e-05/0.8107, allocations: 12 kB / 1.183 GB, free: 3.172 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.135e-05/0.8108, allocations: 20 kB / 1.183 GB, free: 3.152 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001886/0.811, allocations: 60.95 kB / 1.183 GB, free: 3.09 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.812, allocations: 0.5774 MB / 1.184 GB, free: 2.516 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005112/0.8171, allocations: 4.581 MB / 1.189 GB, free: 13.58 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005185/0.8177, allocations: 296.6 kB / 1.189 GB, free: 13.28 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003235/0.818, allocations: 221.3 kB / 1.189 GB, free: 13.06 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 3.03e-05/0.818, allocations: 4.281 kB / 1.189 GB, free: 13.06 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.69e-05/0.8181, allocations: 38.84 kB / 1.189 GB, free: 13.01 MB / 0.92 GB Notification: Performance of pre-optimization done (n=33): time 3.116e-06/0.8181, allocations: 0 / 1.189 GB, free: 13.01 MB / 0.92 GB Notification: Performance of matching and sorting (n=40): time 0.005839/0.8239, allocations: 2.635 MB / 1.192 GB, free: 10.25 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.824, allocations: 55.41 kB / 1.192 GB, free: 10.18 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005319/0.8246, allocations: 466 kB / 1.192 GB, free: 9.715 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/0.8246, allocations: 33.7 kB / 1.192 GB, free: 9.676 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002231/0.8248, allocations: 343.6 kB / 1.192 GB, free: 9.336 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001156/0.825, allocations: 141.9 kB / 1.193 GB, free: 9.195 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001753/0.8251, allocations: 102.2 kB / 1.193 GB, free: 9.09 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.8253, allocations: 366.8 kB / 1.193 GB, free: 8.723 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003646/0.8257, allocations: 241 kB / 1.193 GB, free: 8.488 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004749/0.8262, allocations: 406.5 kB / 1.194 GB, free: 8.016 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008645/0.827, allocations: 0.674 MB / 1.194 GB, free: 7.27 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.827, allocations: 0 / 1.194 GB, free: 7.27 MB / 0.92 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001777/0.8288, allocations: 0.9211 MB / 1.195 GB, free: 6.332 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.8289, allocations: 11.94 kB / 1.195 GB, free: 6.32 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.8289, allocations: 11.98 kB / 1.195 GB, free: 6.309 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000858/0.8298, allocations: 218.7 kB / 1.195 GB, free: 6.086 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000534/0.8303, allocations: 119.8 kB / 1.196 GB, free: 5.969 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005417/0.8357, allocations: 5.341 MB / 1.201 GB, free: 216 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005585/0.8363, allocations: 31.97 kB / 1.201 GB, free: 184 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.711e-05/0.8364, allocations: 23.98 kB / 1.201 GB, free: 160 kB / 0.92 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.0005177/0.8369, allocations: 233.7 kB / 1.201 GB, free: 15.91 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001869/0.8371, allocations: 59.28 kB / 1.201 GB, free: 15.86 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001733/0.8389, allocations: 0.7734 MB / 1.202 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.626e-06/0.8389, allocations: 4 kB / 1.202 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.8389, allocations: 4 kB / 1.202 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.045e-06/0.8389, allocations: 3.984 kB / 1.202 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00286/0.8418, allocations: 1.498 MB / 1.203 GB, free: 13.47 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.8418, allocations: 7.938 kB / 1.203 GB, free: 13.46 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003775/0.8422, allocations: 67.88 kB / 1.203 GB, free: 13.39 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000687/0.8429, allocations: 210.3 kB / 1.204 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.634e-05/0.8429, allocations: 12 kB / 1.204 GB, free: 13.17 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004974/0.8479, allocations: 5.266 MB / 1.209 GB, free: 7.48 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.361e-06/0.848, allocations: 7.969 kB / 1.209 GB, free: 7.473 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001892/0.8499, allocations: 1.123 MB / 1.21 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000355/0.8502, allocations: 176.4 kB / 1.21 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.8503, allocations: 19.86 kB / 1.21 GB, free: 6.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003682/0.8507, allocations: 23.97 kB / 1.21 GB, free: 6.066 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.8508, allocations: 31.97 kB / 1.21 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.982e-05/0.8509, allocations: 11.98 kB / 1.21 GB, free: 6.023 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003864/0.8513, allocations: 314.9 kB / 1.21 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8513, allocations: 64 / 1.21 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007444/0.852, allocations: 172 kB / 1.211 GB, free: 5.551 MB / 0.9356 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.0001752/0.8522, allocations: 118.3 kB / 1.211 GB, free: 5.426 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.001793/0.854, allocations: 1.012 MB / 1.212 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/0.854, allocations: 0 / 1.212 GB, free: 4.375 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.001003/0.855, allocations: 0.6837 MB / 1.212 GB, free: 3.652 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009968/0.856, allocations: 184.9 kB / 1.213 GB, free: 3.477 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00233/0.8584, allocations: 1.301 MB / 1.214 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005993/0.859, allocations: 0.9455 MB / 1.215 GB, free: 1.148 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.8591, allocations: 43.42 kB / 1.215 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of SimCode: time 7.11e-07/0.8592, allocations: 0 / 1.215 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of Templates: time 0.0204/0.8796, allocations: 14.97 MB / 1.229 GB, free: 2.18 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches