Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.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_10_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_10_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.001144/0.001144, allocations: 91.92 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001716/0.001716, allocations: 180.3 kB / 16.92 MB, free: 6.289 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.355/1.355, allocations: 223.3 MB / 241 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.567/2.567, allocations: 437.8 MB / 0.7128 GB, free: 6.969 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003505/0.0003506, allocations: 8 kB / 0.8735 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6385/0.6389, allocations: 153.8 MB / 1.024 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.03552/0.6745, allocations: 33.99 MB / 1.057 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01597/0.6905, allocations: 9.821 MB / 1.066 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003061/0.6936, allocations: 127.2 kB / 1.067 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002575/0.6962, allocations: 0.7055 MB / 1.067 GB, free: 3.059 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.005582/0.7018, allocations: 1.905 MB / 1.069 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004408/0.7062, allocations: 1.614 MB / 1.071 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.01164/0.7179, allocations: 11.2 MB / 1.082 GB, free: 4.305 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0194/0.7373, allocations: 12.16 MB / 1.094 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004784/0.7421, allocations: 2.419 MB / 1.096 GB, free: 5.609 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005423/0.7476, allocations: 3.207 MB / 1.099 GB, free: 2.391 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001271/0.7489, allocations: 280 kB / 1.099 GB, free: 2.117 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00323/0.7521, allocations: 1.263 MB / 1.101 GB, free: 0.8516 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002947/0.7551, allocations: 2.104 MB / 1.103 GB, free: 14.74 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.004322/0.7594, allocations: 2.532 MB / 1.105 GB, free: 12.19 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.008709/0.7681, allocations: 8.598 MB / 1.113 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.7682, allocations: 0 / 1.113 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.003e-06/0.7682, allocations: 0 / 1.113 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.000256/0.7684, allocations: 0 / 1.113 GB, free: 3.57 MB / 0.8575 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.01025/0.7787, allocations: 4.356 MB / 1.118 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.679e-05/0.7787, allocations: 8.031 kB / 1.118 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005416/0.7842, allocations: 0.9626 MB / 1.119 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005438/0.7896, allocations: 2.999 MB / 1.122 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002818/0.7899, allocations: 361.9 kB / 1.122 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001014/0.7909, allocations: 468.2 kB / 1.122 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01262/0.8036, allocations: 7.902 MB / 1.13 GB, free: 2.035 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.934e-05/0.8037, allocations: 23.86 kB / 1.13 GB, free: 2.012 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004718/0.8042, allocations: 208 kB / 1.13 GB, free: 1.809 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000498/0.8047, allocations: 369.1 kB / 1.131 GB, free: 1.445 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01012/0.8148, allocations: 5.937 MB / 1.136 GB, free: 11.49 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03697/0.8518, allocations: 36.26 MB / 1.172 GB, free: 3.996 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003361/0.8552, allocations: 2.131 MB / 1.174 GB, free: 1.852 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001927/0.8572, allocations: 1.48 MB / 1.175 GB, free: 380 kB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.825e-05/0.8573, allocations: 17.31 kB / 1.175 GB, free: 360 kB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.427e-05/0.8573, allocations: 55.81 kB / 1.175 GB, free: 296 kB / 0.92 GB Notification: Performance of pre-optimization done (n=157): time 4.559e-06/0.8573, allocations: 4 kB / 1.175 GB, free: 292 kB / 0.92 GB Notification: Performance of matching and sorting (n=160): time 0.01396/0.8713, allocations: 7.575 MB / 1.183 GB, free: 8.434 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.633e-05/0.8714, allocations: 68.72 kB / 1.183 GB, free: 8.355 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002497/0.8739, allocations: 1.86 MB / 1.185 GB, free: 6.469 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 0.000181/0.8741, allocations: 57.7 kB / 1.185 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001398/0.8755, allocations: 2.115 MB / 1.187 GB, free: 4.266 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005022/0.876, allocations: 0.5624 MB / 1.187 GB, free: 3.695 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002407/0.8762, allocations: 174.1 kB / 1.188 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.756e-05/0.8763, allocations: 305.1 kB / 1.188 GB, free: 3.219 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001561/0.8779, allocations: 1.062 MB / 1.189 GB, free: 2.152 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002002/0.8799, allocations: 1.764 MB / 1.191 GB, free: 68 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003696/0.8836, allocations: 3.053 MB / 1.194 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.8836, allocations: 4 kB / 1.194 GB, free: 12.7 MB / 0.9512 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006366/0.89, allocations: 3.929 MB / 1.197 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.153e-05/0.8901, allocations: 12 kB / 1.197 GB, free: 8.711 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-05/0.8901, allocations: 28.03 kB / 1.198 GB, free: 8.684 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002465/0.8926, allocations: 0.935 MB / 1.198 GB, free: 7.711 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001495/0.8941, allocations: 423.3 kB / 1.199 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01902/0.9131, allocations: 21.09 MB / 1.219 GB, free: 0.6133 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001921/0.915, allocations: 127.8 kB / 1.22 GB, free: 500 kB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001515/0.9152, allocations: 96 kB / 1.22 GB, free: 404 kB / 0.9669 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.002742/0.918, allocations: 1.64 MB / 1.221 GB, free: 14.74 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004525/0.9184, allocations: 257 kB / 1.221 GB, free: 14.49 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005423/0.9238, allocations: 3.264 MB / 1.225 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.82e-05/0.9239, allocations: 19.98 kB / 1.225 GB, free: 11.15 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.939e-05/0.9239, allocations: 12 kB / 1.225 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.528e-05/0.9239, allocations: 11.91 kB / 1.225 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01128/0.9352, allocations: 7.557 MB / 1.232 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.375e-06/0.9353, allocations: 8.094 kB / 1.232 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009207/0.9362, allocations: 211.6 kB / 1.232 GB, free: 3.207 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002332/0.9385, allocations: 0.896 MB / 1.233 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/0.9386, allocations: 32 kB / 1.233 GB, free: 2.242 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5599/1.499, allocations: 21.02 MB / 1.254 GB, free: 201.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.715e-06/1.499, allocations: 9.781 kB / 1.254 GB, free: 201.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005878/1.505, allocations: 3.383 MB / 1.257 GB, free: 201.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001091/1.506, allocations: 0.5319 MB / 1.258 GB, free: 201.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003328/1.506, allocations: 43.11 kB / 1.258 GB, free: 201.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001801/1.508, allocations: 92.28 kB / 1.258 GB, free: 201.1 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005773/1.508, allocations: 145.3 kB / 1.258 GB, free: 201.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000174/1.509, allocations: 48.91 kB / 1.258 GB, free: 201.1 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002688/1.511, allocations: 1.22 MB / 1.259 GB, free: 200.9 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6.22e-07/1.511, allocations: 0 / 1.259 GB, free: 200.9 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.005348/1.517, allocations: 0.9064 MB / 1.26 GB, free: 200.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.000436/1.517, allocations: 152.8 kB / 1.26 GB, free: 200.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.009268/1.526, allocations: 4.426 MB / 1.264 GB, free: 198.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/1.526, allocations: 5.375 kB / 1.264 GB, free: 198.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004154/1.531, allocations: 2.998 MB / 1.267 GB, free: 196.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004931/1.536, allocations: 0.7598 MB / 1.268 GB, free: 196.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/1.55, allocations: 10.34 MB / 1.278 GB, free: 190.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003735/1.553, allocations: 3.281 MB / 1.281 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006473/1.554, allocations: 157.6 kB / 1.282 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of SimCode: time 1.022e-06/1.554, allocations: 0 / 1.282 GB, free: 189.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.2453/1.799, allocations: 339.1 MB / 1.613 GB, free: 6.43 MB / 1.139 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches