Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.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.OnePhase.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.OnePhase.Lines.Examples.ACLine_RL") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.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.01038/0.01038, allocations: 95.92 kB / 15.73 MB, free: 6.039 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.00241/0.002411, allocations: 198.2 kB / 16.68 MB, free: 5.969 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.55/1.55, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.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.857/2.857, allocations: 437 MB / 0.7105 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 63.91 kB / 1.019 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3988/0.4001, allocations: 151.6 MB / 1.167 GB, free: 6.852 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.009382/0.4095, allocations: 5.467 MB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004897/0.4145, allocations: 2.626 MB / 1.175 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007193/0.4152, allocations: 23.88 kB / 1.175 GB, free: 14.69 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.002216/0.4175, allocations: 0.6884 MB / 1.175 GB, free: 14 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001364/0.4188, allocations: 421.7 kB / 1.176 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001237/0.4201, allocations: 395.1 kB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.00122/0.4213, allocations: 0.9513 MB / 1.177 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000682/0.422, allocations: 466.5 kB / 1.177 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005943/0.4226, allocations: 374.6 kB / 1.178 GB, free: 11.42 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000545/0.4232, allocations: 398.4 kB / 1.178 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 8.221e-05/0.4233, allocations: 48 kB / 1.178 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008205/0.4241, allocations: 371.2 kB / 1.178 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002653/0.4244, allocations: 251.3 kB / 1.179 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003485/0.4247, allocations: 346.3 kB / 1.179 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.4259, allocations: 0.9727 MB / 1.18 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.426, allocations: 0 / 1.18 GB, free: 9.055 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.813e-06/0.426, allocations: 3.938 kB / 1.18 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.426, allocations: 0 / 1.18 GB, free: 9.051 MB / 0.9356 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.001689/0.4277, allocations: 0.9884 MB / 1.181 GB, free: 8.012 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.4277, allocations: 12.03 kB / 1.181 GB, free: 8 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001355/0.4291, allocations: 196.3 kB / 1.181 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009194/0.43, allocations: 0.5222 MB / 1.182 GB, free: 7.246 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.662e-05/0.4301, allocations: 33.38 kB / 1.182 GB, free: 7.215 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001685/0.4302, allocations: 60.48 kB / 1.182 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001141/0.4314, allocations: 0.8318 MB / 1.183 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/0.4314, allocations: 4 kB / 1.183 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.284e-05/0.4315, allocations: 27.94 kB / 1.183 GB, free: 6.207 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001842/0.4317, allocations: 68.88 kB / 1.183 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008906/0.4326, allocations: 0.5697 MB / 1.183 GB, free: 5.57 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005024/0.4376, allocations: 4.578 MB / 1.188 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005259/0.4382, allocations: 291.3 kB / 1.188 GB, free: 360 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003082/0.4385, allocations: 229.3 kB / 1.188 GB, free: 128 kB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.203e-05/0.4386, allocations: 8.219 kB / 1.188 GB, free: 120 kB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.4386, allocations: 42.84 kB / 1.188 GB, free: 68 kB / 0.9356 GB Notification: Performance of pre-optimization done (n=33): time 2.615e-06/0.4386, allocations: 0 / 1.188 GB, free: 68 kB / 0.9356 GB Notification: Performance of matching and sorting (n=40): time 0.005708/0.4443, allocations: 2.643 MB / 1.191 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.4444, allocations: 55.41 kB / 1.191 GB, free: 13.23 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005844/0.445, allocations: 458 kB / 1.191 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/0.445, allocations: 29.7 kB / 1.191 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002738/0.4453, allocations: 352.5 kB / 1.192 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001448/0.4455, allocations: 158.7 kB / 1.192 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001791/0.4457, allocations: 102.2 kB / 1.192 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001946/0.4459, allocations: 358.8 kB / 1.192 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003654/0.4462, allocations: 241 kB / 1.193 GB, free: 11.53 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004951/0.4467, allocations: 406.4 kB / 1.193 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009288/0.4477, allocations: 0.674 MB / 1.194 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.4477, allocations: 0 / 1.194 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001743/0.4494, allocations: 0.9288 MB / 1.194 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.4495, allocations: 8 kB / 1.194 GB, free: 9.355 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.4495, allocations: 4 kB / 1.194 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007852/0.4503, allocations: 223 kB / 1.195 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005019/0.4508, allocations: 115.8 kB / 1.195 GB, free: 9.012 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005474/0.4563, allocations: 5.348 MB / 1.2 GB, free: 3.246 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006049/0.4569, allocations: 36.03 kB / 1.2 GB, free: 3.211 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.478e-05/0.457, allocations: 24 kB / 1.2 GB, free: 3.188 MB / 0.9512 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.0003995/0.4574, allocations: 221.6 kB / 1.2 GB, free: 2.961 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/0.4575, allocations: 67.55 kB / 1.2 GB, free: 2.895 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/0.459, allocations: 0.7811 MB / 1.201 GB, free: 2.09 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.518e-06/0.459, allocations: 4 kB / 1.201 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.4591, allocations: 0 / 1.201 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.559e-06/0.4591, allocations: 0 / 1.201 GB, free: 2.086 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002517/0.4616, allocations: 1.499 MB / 1.203 GB, free: 0.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.4616, allocations: 0 / 1.203 GB, free: 0.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003586/0.462, allocations: 67.88 kB / 1.203 GB, free: 444 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006648/0.4626, allocations: 206.9 kB / 1.203 GB, free: 228 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.579e-05/0.4627, allocations: 16 kB / 1.203 GB, free: 212 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005188/0.4679, allocations: 5.271 MB / 1.208 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.4679, allocations: 4.031 kB / 1.208 GB, free: 10.52 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/0.4698, allocations: 1.128 MB / 1.209 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003229/0.4702, allocations: 172.8 kB / 1.209 GB, free: 9.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.736e-05/0.4702, allocations: 15.92 kB / 1.209 GB, free: 9.137 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003213/0.4706, allocations: 27.91 kB / 1.209 GB, free: 9.109 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001056/0.4707, allocations: 40.02 kB / 1.209 GB, free: 9.07 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.74e-05/0.4707, allocations: 8 kB / 1.209 GB, free: 9.062 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0003751/0.4711, allocations: 310.9 kB / 1.21 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.71e-07/0.4711, allocations: 0 / 1.21 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0007392/0.4719, allocations: 168 kB / 1.21 GB, free: 8.598 MB / 0.9669 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.0001815/0.472, allocations: 115.5 kB / 1.21 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001607/0.4737, allocations: 1.02 MB / 1.211 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.4737, allocations: 0 / 1.211 GB, free: 7.414 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.00102/0.4747, allocations: 0.6759 MB / 1.212 GB, free: 6.699 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008421/0.4756, allocations: 190.3 kB / 1.212 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002191/0.4778, allocations: 1.267 MB / 1.213 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006148/0.4784, allocations: 0.9494 MB / 1.214 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000347/0.4787, allocations: 113 kB / 1.214 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.4789, allocations: 39.44 kB / 1.214 GB, free: 4.082 MB / 0.9669 GB Notification: Performance of SimCode: time 6.01e-07/0.4789, allocations: 4 kB / 1.214 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of Templates: time 0.01667/0.4955, allocations: 8.96 MB / 1.223 GB, free: 11.23 MB / 0.9825 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches