Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.v.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001456/0.001457, allocations: 104.7 kB / 15.98 MB, free: 6.344 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.001462/0.001462, allocations: 196.1 kB / 16.91 MB, free: 6.184 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.333/1.333, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.566/2.566, allocations: 469.8 MB / 0.7427 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 67.45 kB / 0.9087 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3022, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01726/0.3195, allocations: 14.7 MB / 1.078 GB, free: 384 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.5145/0.834, allocations: 10.24 MB / 1.088 GB, free: 12.61 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001496/0.8356, allocations: 50.16 kB / 1.089 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.003869/0.8395, allocations: 1.584 MB / 1.09 GB, free: 11.68 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.005969/0.8455, allocations: 1.628 MB / 1.092 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.002053/0.8476, allocations: 0.6905 MB / 1.092 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.004217/0.8518, allocations: 2.756 MB / 1.095 GB, free: 9.152 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00289/0.8547, allocations: 1.588 MB / 1.097 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003085/0.8578, allocations: 1.524 MB / 1.098 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002551/0.8604, allocations: 1.198 MB / 1.099 GB, free: 7.32 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0006744/0.8611, allocations: 165.6 kB / 1.099 GB, free: 7.316 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002471/0.8635, allocations: 0.7819 MB / 1.1 GB, free: 7.086 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.00115/0.8647, allocations: 0.6059 MB / 1.101 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002404/0.8671, allocations: 0.9562 MB / 1.102 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.003717/0.8708, allocations: 2.213 MB / 1.104 GB, free: 5.582 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.715e-06/0.8708, allocations: 0 / 1.104 GB, free: 5.582 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.993e-06/0.8709, allocations: 1.406 kB / 1.104 GB, free: 5.582 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001333/0.871, allocations: 0 / 1.104 GB, free: 5.582 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005677/0.8767, allocations: 2.169 MB / 1.106 GB, free: 4.238 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.8767, allocations: 9.938 kB / 1.106 GB, free: 4.238 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01172/0.8885, allocations: 2.103 MB / 1.108 GB, free: 4.105 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002951/0.8914, allocations: 1.214 MB / 1.109 GB, free: 3.398 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.314e-05/0.8915, allocations: 89.91 kB / 1.109 GB, free: 3.355 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002752/0.8918, allocations: 119.7 kB / 1.109 GB, free: 3.312 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005794/0.8976, allocations: 2.676 MB / 1.112 GB, free: 2.234 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.444e-05/0.8977, allocations: 8.672 kB / 1.112 GB, free: 2.23 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/0.8979, allocations: 49.67 kB / 1.112 GB, free: 2.195 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006176/0.8985, allocations: 194.3 kB / 1.112 GB, free: 2.176 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007221/0.9057, allocations: 2.793 MB / 1.115 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01602/0.9217, allocations: 10.51 MB / 1.125 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006391/0.9282, allocations: 2.328 MB / 1.128 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003006/0.9312, allocations: 1.28 MB / 1.129 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 7.974e-05/0.9313, allocations: 10.19 kB / 1.129 GB, free: 9.203 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.402e-05/0.9313, allocations: 47.78 kB / 1.129 GB, free: 9.148 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=89): time 4.127e-06/0.9314, allocations: 4 kB / 1.129 GB, free: 9.145 MB / 0.8575 GB Notification: Performance of matching and sorting (n=153): time 0.05917/0.9905, allocations: 16.48 MB / 1.145 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.04e-05/0.9906, allocations: 71.22 kB / 1.145 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002134/0.9928, allocations: 1.182 MB / 1.146 GB, free: 356 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0002572/0.993, allocations: 51.27 kB / 1.146 GB, free: 304 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006847/0.9937, allocations: 0.7431 MB / 1.147 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007129/0.9944, allocations: 0.5103 MB / 1.147 GB, free: 15.18 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006953/0.9952, allocations: 291.8 kB / 1.148 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.9953, allocations: 305.1 kB / 1.148 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003585/0.9989, allocations: 1.507 MB / 1.149 GB, free: 13.94 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003877/1.003, allocations: 1.788 MB / 1.151 GB, free: 12.84 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007484/1.01, allocations: 3.366 MB / 1.155 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/1.01, allocations: 2.094 kB / 1.155 GB, free: 10.9 MB / 0.8731 GB Notification: Performance of matching and sorting (n=190) (initialization): time 0.01373/1.024, allocations: 5.281 MB / 1.16 GB, free: 7.695 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.789e-05/1.024, allocations: 8 kB / 1.16 GB, free: 7.688 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.531e-05/1.024, allocations: 4 kB / 1.16 GB, free: 7.684 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007016/1.031, allocations: 1.891 MB / 1.162 GB, free: 5.77 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002008/1.033, allocations: 415.3 kB / 1.162 GB, free: 5.363 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.033/1.066, allocations: 24.16 MB / 1.186 GB, free: 12.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002935/1.069, allocations: 308.1 kB / 1.186 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003633/1.07, allocations: 67.95 kB / 1.186 GB, free: 11.73 MB / 0.9044 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (2,8,100.0%), (3,17,100.0%), (3,17,100.0%), (2,16,100.0%), (2,16,100.0%), (2,8,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001236/1.071, allocations: 467.6 kB / 1.186 GB, free: 11.26 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005664/1.071, allocations: 173.9 kB / 1.186 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0144/1.086, allocations: 5.32 MB / 1.192 GB, free: 5.723 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.86e-05/1.086, allocations: 16 kB / 1.192 GB, free: 5.707 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-05/1.086, allocations: 23.94 kB / 1.192 GB, free: 5.684 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.921e-05/1.086, allocations: 7.969 kB / 1.192 GB, free: 5.676 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01745/1.103, allocations: 7.426 MB / 1.199 GB, free: 14.12 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/1.103, allocations: 4.344 kB / 1.199 GB, free: 14.12 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001613/1.105, allocations: 359.4 kB / 1.199 GB, free: 13.77 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006015/1.111, allocations: 1.716 MB / 1.201 GB, free: 12.03 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001818/1.111, allocations: 43.97 kB / 1.201 GB, free: 11.98 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0302/1.141, allocations: 23.32 MB / 1.224 GB, free: 3.551 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.874e-06/1.142, allocations: 10.12 kB / 1.224 GB, free: 3.543 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0129/1.154, allocations: 4.885 MB / 1.229 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/1.156, allocations: 494.7 kB / 1.229 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005313/1.156, allocations: 31.98 kB / 1.229 GB, free: 14.04 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002428/1.159, allocations: 315.5 kB / 1.229 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005309/1.159, allocations: 153 kB / 1.23 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001644/1.159, allocations: 51.97 kB / 1.23 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001264/1.161, allocations: 0.7899 MB / 1.23 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of sort global known variables: time 3.327e-06/1.161, allocations: 0 / 1.23 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002397/1.163, allocations: 0.6645 MB / 1.231 GB, free: 12.08 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003454/1.163, allocations: 143.1 kB / 1.231 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.01211/1.176, allocations: 5.429 MB / 1.236 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/1.176, allocations: 0 / 1.236 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00711/1.183, allocations: 3.347 MB / 1.24 GB, free: 2.941 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002784/1.185, allocations: 0.5614 MB / 1.24 GB, free: 2.398 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/1.196, allocations: 5.124 MB / 1.245 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001649/1.197, allocations: 1.568 MB / 1.247 GB, free: 11.61 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006103/1.198, allocations: 127.3 kB / 1.247 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of SimCode: time 4.71e-07/1.198, allocations: 0 / 1.247 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of Templates: time 0.09931/1.297, allocations: 85.7 MB / 1.331 GB, free: 5.852 MB / 1.045 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches