Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.terminal.phase.1..v.1.|R2.terminal.phase.1..v.1.|R3.terminal.phase.1..v.1.|E.vPhase.1..terminal.v.1.|R1.load1.i.1.|R2.load1.i.1.|R3.load1.i.1.|sc_load.load1.i.1.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 108.2 kB / 15.99 MB, free: 5.891 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.001409/0.001409, allocations: 195.9 kB / 16.91 MB, free: 5.746 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.35/1.35, allocations: 222.9 MB / 240.6 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.716/2.716, allocations: 469.8 MB / 0.7427 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001851, allocations: 69.95 kB / 0.9087 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2895, allocations: 159.2 MB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.0406/0.3301, allocations: 34.81 MB / 1.098 GB, free: 11.66 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.01666/0.3468, allocations: 9.851 MB / 1.108 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00306/0.3499, allocations: 135.2 kB / 1.108 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.009385/0.3593, allocations: 3.569 MB / 1.111 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.005521/0.3649, allocations: 1.87 MB / 1.113 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.00468/0.3696, allocations: 1.791 MB / 1.115 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.01057/0.3801, allocations: 7.994 MB / 1.123 GB, free: 2.395 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01688/0.3971, allocations: 11.7 MB / 1.134 GB, free: 6.586 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005658/0.4027, allocations: 3.423 MB / 1.138 GB, free: 3.152 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006515/0.4093, allocations: 3.906 MB / 1.141 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.00202/0.4113, allocations: 0.6797 MB / 1.142 GB, free: 14.55 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003379/0.4147, allocations: 1.443 MB / 1.143 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.002925/0.4177, allocations: 2.62 MB / 1.146 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.004555/0.4222, allocations: 3.093 MB / 1.149 GB, free: 7.379 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0107/0.433, allocations: 8.851 MB / 1.158 GB, free: 14.51 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.838e-06/0.433, allocations: 4 kB / 1.158 GB, free: 14.5 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.615e-06/0.433, allocations: 0 / 1.158 GB, free: 14.5 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003892/0.4334, allocations: 4 kB / 1.158 GB, free: 14.5 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01358/0.447, allocations: 5.405 MB / 1.163 GB, free: 9.023 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.546e-05/0.4471, allocations: 12.03 kB / 1.163 GB, free: 9.012 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004883/0.452, allocations: 0.9664 MB / 1.164 GB, free: 8.039 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005652/0.4577, allocations: 2.995 MB / 1.167 GB, free: 4.988 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002807/0.458, allocations: 353.9 kB / 1.167 GB, free: 4.641 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009386/0.4589, allocations: 464.3 kB / 1.168 GB, free: 4.188 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01601/0.4749, allocations: 7.918 MB / 1.175 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001944/0.4752, allocations: 23.72 kB / 1.175 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001109/0.4763, allocations: 212 kB / 1.176 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006205/0.4769, allocations: 365.1 kB / 1.176 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01237/0.4893, allocations: 5.937 MB / 1.182 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04516/0.5345, allocations: 36.21 MB / 1.217 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003767/0.5383, allocations: 2.139 MB / 1.219 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002271/0.5406, allocations: 1.481 MB / 1.221 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.5408, allocations: 17.31 kB / 1.221 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.11e-05/0.5408, allocations: 55.81 kB / 1.221 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=157): time 3.447e-06/0.5408, allocations: 4 kB / 1.221 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of matching and sorting (n=160): time 0.01541/0.5563, allocations: 7.532 MB / 1.228 GB, free: 2.398 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/0.5564, allocations: 76.66 kB / 1.228 GB, free: 2.312 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003096/0.5595, allocations: 1.86 MB / 1.23 GB, free: 436 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001952/0.5597, allocations: 53.7 kB / 1.23 GB, free: 376 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001709/0.5614, allocations: 2.131 MB / 1.232 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006062/0.562, allocations: 0.5507 MB / 1.233 GB, free: 13.65 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006518/0.5627, allocations: 407.7 kB / 1.233 GB, free: 13.25 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001267/0.5628, allocations: 305.1 kB / 1.233 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/0.5644, allocations: 1.058 MB / 1.234 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002255/0.5667, allocations: 1.756 MB / 1.236 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004151/0.5709, allocations: 3.052 MB / 1.239 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-05/0.5709, allocations: 11.94 kB / 1.239 GB, free: 6.43 MB / 0.9981 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006792/0.5777, allocations: 3.917 MB / 1.243 GB, free: 2.465 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.638e-05/0.5778, allocations: 20.03 kB / 1.243 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-05/0.5778, allocations: 23.98 kB / 1.243 GB, free: 2.422 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002505/0.5803, allocations: 0.9389 MB / 1.244 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001549/0.5819, allocations: 427.2 kB / 1.244 GB, free: 1.027 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4974/1.079, allocations: 22.76 MB / 1.266 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001868/1.081, allocations: 126.7 kB / 1.267 GB, free: 150.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001667/1.081, allocations: 93.7 kB / 1.267 GB, free: 150.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (227): * Single equations (assignments): 215 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,6,100.0%), (2,6,100.0%), (2,6,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,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.002289/1.084, allocations: 1.645 MB / 1.268 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004439/1.084, allocations: 258.8 kB / 1.268 GB, free: 150.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004598/1.089, allocations: 3.269 MB / 1.272 GB, free: 149.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-05/1.089, allocations: 13.78 kB / 1.272 GB, free: 149.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.462e-05/1.089, allocations: 11.38 kB / 1.272 GB, free: 149.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.661e-05/1.089, allocations: 7.922 kB / 1.272 GB, free: 149.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01151/1.1, allocations: 7.542 MB / 1.279 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/1.1, allocations: 4.5 kB / 1.279 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/1.101, allocations: 215.1 kB / 1.279 GB, free: 145.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002212/1.104, allocations: 0.9028 MB / 1.28 GB, free: 145.6 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/1.104, allocations: 33.66 kB / 1.28 GB, free: 145.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01564/1.119, allocations: 22.74 MB / 1.302 GB, free: 126.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.693e-06/1.119, allocations: 8.156 kB / 1.302 GB, free: 126.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004788/1.124, allocations: 3.386 MB / 1.306 GB, free: 124.8 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001021/1.125, allocations: 0.5314 MB / 1.306 GB, free: 124.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003147/1.126, allocations: 39.12 kB / 1.306 GB, free: 124.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009788/1.127, allocations: 95.42 kB / 1.306 GB, free: 124.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003768/1.127, allocations: 138.3 kB / 1.306 GB, free: 124.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/1.127, allocations: 46.56 kB / 1.307 GB, free: 124.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001508/1.129, allocations: 1.223 MB / 1.308 GB, free: 123.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/1.129, allocations: 3.828 kB / 1.308 GB, free: 123.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002963/1.132, allocations: 0.9048 MB / 1.309 GB, free: 123.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 simulation (109): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%), (2,6,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002514/1.132, allocations: 155.4 kB / 1.309 GB, free: 123.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006893/1.139, allocations: 5.199 MB / 1.314 GB, free: 121.2 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 9.778e-06/1.139, allocations: 3.375 kB / 1.314 GB, free: 121.2 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003355/1.142, allocations: 3.002 MB / 1.317 GB, free: 119.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003177/1.145, allocations: 0.8196 MB / 1.318 GB, free: 118.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01146/1.157, allocations: 10.34 MB / 1.328 GB, free: 113 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002526/1.159, allocations: 3.276 MB / 1.331 GB, free: 111.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006163/1.16, allocations: 158.6 kB / 1.331 GB, free: 111.1 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/1.16, allocations: 0 / 1.331 GB, free: 111.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.3128/1.473, allocations: 339.6 MB / 1.663 GB, free: 13.81 MB / 1.232 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches