Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|R1.load1.i.1.|R1.load1.i.2.|R2.load1.i.1.|R2.load1.i.2.|R3.load1.i.1.|R3.load1.i.2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009403/0.0009404, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001181/0.001181, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.537/1.537, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.446/2.446, allocations: 390.9 MB / 0.666 GB, free: 2.516 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003722/0.0003723, allocations: 12 kB / 0.8154 GB, free: 13.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8925/0.8929, allocations: 142.4 MB / 0.9545 GB, free: 7.723 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.03206/0.925, allocations: 30.35 MB / 0.9841 GB, free: 0.5938 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.02229/0.9473, allocations: 13.92 MB / 0.9977 GB, free: 3.141 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003616/0.951, allocations: 131.2 kB / 0.9978 GB, free: 3.012 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002648/0.9536, allocations: 0.717 MB / 0.9985 GB, free: 2.289 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007674/0.9613, allocations: 2.401 MB / 1.001 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004633/0.966, allocations: 1.387 MB / 1.002 GB, free: 14.49 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01297/0.979, allocations: 9.781 MB / 1.012 GB, free: 4.676 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02026/0.9993, allocations: 9.869 MB / 1.021 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006206/1.006, allocations: 2.962 MB / 1.024 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006175/1.012, allocations: 3.387 MB / 1.028 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.001685/1.013, allocations: 292 kB / 1.028 GB, free: 4.086 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003504/1.017, allocations: 0.8116 MB / 1.029 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003572/1.021, allocations: 2.283 MB / 1.031 GB, free: 0.9844 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.00265/1.023, allocations: 1.132 MB / 1.032 GB, free: 15.84 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01044/1.034, allocations: 9.159 MB / 1.041 GB, free: 6.66 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.849e-06/1.034, allocations: 4 kB / 1.041 GB, free: 6.656 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.595e-06/1.034, allocations: 3.938 kB / 1.041 GB, free: 6.652 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0003721/1.034, allocations: 0 / 1.041 GB, free: 6.652 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01173/1.046, allocations: 4.893 MB / 1.046 GB, free: 1.684 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/1.046, allocations: 8.031 kB / 1.046 GB, free: 1.676 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007512/1.053, allocations: 1.141 MB / 1.047 GB, free: 0.5273 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007463/1.061, allocations: 3.232 MB / 1.05 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004038/1.061, allocations: 382 kB / 1.05 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001679/1.063, allocations: 495.9 kB / 1.051 GB, free: 12.36 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02126/1.084, allocations: 7.966 MB / 1.059 GB, free: 4.113 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002901/1.085, allocations: 23.81 kB / 1.059 GB, free: 4.09 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002189/1.087, allocations: 216 kB / 1.059 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001206/1.088, allocations: 441.6 kB / 1.059 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0155/1.104, allocations: 6.049 MB / 1.065 GB, free: 13.38 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05586/1.159, allocations: 35.2 MB / 1.1 GB, free: 7 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003701/1.163, allocations: 2.026 MB / 1.102 GB, free: 4.969 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003082/1.166, allocations: 1.85 MB / 1.103 GB, free: 3.121 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001982/1.167, allocations: 18 kB / 1.103 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.855e-05/1.167, allocations: 60.5 kB / 1.103 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=171): time 4.799e-06/1.167, allocations: 4 kB / 1.103 GB, free: 3.031 MB / 0.8575 GB Notification: Performance of matching and sorting (n=276): time 0.1424/1.309, allocations: 38.97 MB / 1.141 GB, free: 11.96 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.434e-05/1.309, allocations: 81.58 kB / 1.142 GB, free: 11.87 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004348/1.314, allocations: 2.258 MB / 1.144 GB, free: 9.594 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0005155/1.314, allocations: 73.7 kB / 1.144 GB, free: 9.516 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001861/1.316, allocations: 2.28 MB / 1.146 GB, free: 7.211 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001098/1.317, allocations: 0.9318 MB / 1.147 GB, free: 6.266 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/1.317, allocations: 60 kB / 1.147 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0002563/1.318, allocations: 428 kB / 1.147 GB, free: 5.781 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003195/1.321, allocations: 1.962 MB / 1.149 GB, free: 3.816 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003948/1.325, allocations: 2.591 MB / 1.152 GB, free: 0.9844 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003683/1.328, allocations: 2.364 MB / 1.154 GB, free: 14.6 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.004e-05/1.328, allocations: 7.938 kB / 1.154 GB, free: 14.59 MB / 0.92 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01499/1.343, allocations: 7.728 MB / 1.162 GB, free: 6.793 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.269e-05/1.344, allocations: 17.55 kB / 1.162 GB, free: 6.777 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.981e-05/1.344, allocations: 16 kB / 1.162 GB, free: 6.762 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009066/1.353, allocations: 3.198 MB / 1.165 GB, free: 3.547 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001687/1.354, allocations: 411.2 kB / 1.165 GB, free: 3.148 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04361/1.398, allocations: 31.09 MB / 1.196 GB, free: 3.238 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002927/1.401, allocations: 163.8 kB / 1.196 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004119/1.401, allocations: 108 kB / 1.196 GB, free: 2.973 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * 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 (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(10,71.0%) 28,(10,65.0%) 28,(6,77.8%) 24,(6,77.8%) 24,(5,92.0%) 17,(5,92.0%) 17} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003573/1.405, allocations: 1.805 MB / 1.198 GB, free: 1.156 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007726/1.406, allocations: 332.1 kB / 1.198 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01403/1.42, allocations: 7.334 MB / 1.205 GB, free: 9.414 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.135e-05/1.42, allocations: 24 kB / 1.205 GB, free: 9.391 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.898e-05/1.42, allocations: 36 kB / 1.205 GB, free: 9.355 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.267e-05/1.42, allocations: 15.91 kB / 1.205 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02466/1.445, allocations: 12.89 MB / 1.218 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.857e-05/1.445, allocations: 12.03 kB / 1.218 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009272/1.446, allocations: 227.6 kB / 1.218 GB, free: 12.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007828/1.454, allocations: 2.849 MB / 1.221 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002823/1.454, allocations: 48 kB / 1.221 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04196/1.496, allocations: 29.93 MB / 1.25 GB, free: 10.39 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.407e-06/1.496, allocations: 12.12 kB / 1.25 GB, free: 10.38 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/1.509, allocations: 6.848 MB / 1.257 GB, free: 3.316 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002194/1.511, allocations: 0.7937 MB / 1.258 GB, free: 2.5 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004827/1.512, allocations: 55.95 kB / 1.258 GB, free: 2.445 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/1.513, allocations: 171.8 kB / 1.258 GB, free: 2.277 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009305/1.514, allocations: 253.2 kB / 1.258 GB, free: 2.027 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001778/1.514, allocations: 76 kB / 1.258 GB, free: 1.953 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002442/1.517, allocations: 1.506 MB / 1.26 GB, free: 456 kB / 1.014 GB Notification: Performance of sort global known variables: time 1.1e-07/1.517, allocations: 0 / 1.26 GB, free: 456 kB / 1.014 GB Notification: Performance of remove unused functions: time 0.6215/2.138, allocations: 1.366 MB / 1.261 GB, free: 272.5 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * 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 (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(5,84.0%) 17,(6,77.8%) 24,(10,65.0%) 28,(5,92.0%) 17,(6,77.8%) 24,(10,65.0%) 28} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007129/2.139, allocations: 174.9 kB / 1.261 GB, free: 272.4 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.01511/2.154, allocations: 6.899 MB / 1.268 GB, free: 271.5 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.377e-05/2.154, allocations: 2.641 kB / 1.268 GB, free: 271.5 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.009579/2.164, allocations: 4.423 MB / 1.272 GB, free: 270.5 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006052/2.17, allocations: 1.03 MB / 1.273 GB, free: 270.5 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01947/2.189, allocations: 11.94 MB / 1.285 GB, free: 264.4 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005761/2.195, allocations: 3.644 MB / 1.288 GB, free: 263.1 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.002686/2.198, allocations: 0.5606 MB / 1.289 GB, free: 263 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004982/2.198, allocations: 160.3 kB / 1.289 GB, free: 263 MB / 1.014 GB Notification: Performance of SimCode: time 1.303e-06/2.198, allocations: 0 / 1.289 GB, free: 263 MB / 1.014 GB Notification: Performance of Templates: time 0.1095/2.308, allocations: 71.65 MB / 1.359 GB, free: 205.5 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches