Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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_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_11_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_11_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.005193/0.005193, allocations: 102.6 kB / 15.73 MB, free: 6.488 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.001161/0.001161, allocations: 196.2 kB / 16.68 MB, free: 6.363 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.399/1.399, 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 11.1.0-maint.11.x/package.mo): time 2.788/2.788, allocations: 469.8 MB / 0.7425 GB, free: 7.402 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001357/0.001357, allocations: 63.89 kB / 1.065 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3319/0.3333, allocations: 159.1 MB / 1.221 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.6955/1.029, allocations: 33.41 MB / 1.253 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02402/1.053, allocations: 14.84 MB / 1.268 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006276/1.059, allocations: 156.9 kB / 1.268 GB, free: 11.1 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01069/1.07, allocations: 3.683 MB / 1.271 GB, free: 9.656 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01064/1.08, allocations: 2.992 MB / 1.274 GB, free: 8.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007875/1.088, allocations: 2.333 MB / 1.277 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01771/1.106, allocations: 8.815 MB / 1.285 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01447/1.12, allocations: 7.217 MB / 1.292 GB, free: 40 kB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01012/1.131, allocations: 4.019 MB / 1.296 GB, free: 14.3 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009129/1.14, allocations: 4.039 MB / 1.3 GB, free: 12.55 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002961/1.143, allocations: 0.7156 MB / 1.301 GB, free: 12.55 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0066/1.149, allocations: 1.715 MB / 1.303 GB, free: 12.15 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.006594/1.156, allocations: 2.9 MB / 1.305 GB, free: 10.89 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.01146/1.167, allocations: 3.391 MB / 1.309 GB, free: 8.734 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02008/1.187, allocations: 11.22 MB / 1.32 GB, free: 4.047 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/1.187, allocations: 0 / 1.32 GB, free: 4.047 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.733e-06/1.187, allocations: 0 / 1.32 GB, free: 4.047 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0004227/1.188, allocations: 1.438 kB / 1.32 GB, free: 4.047 MB / 1.014 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.02202/1.21, allocations: 6.131 MB / 1.326 GB, free: 15.91 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/1.21, allocations: 10.03 kB / 1.326 GB, free: 15.91 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00907/1.219, allocations: 1.166 MB / 1.327 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01111/1.23, allocations: 3.543 MB / 1.33 GB, free: 13.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005014/1.231, allocations: 370.8 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003691/1.234, allocations: 496.9 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02389/1.258, allocations: 8.009 MB / 1.339 GB, free: 7.789 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002927/1.258, allocations: 16.11 kB / 1.339 GB, free: 7.781 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00188/1.26, allocations: 219.4 kB / 1.339 GB, free: 7.617 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001234/1.262, allocations: 441.2 kB / 1.34 GB, free: 7.488 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01443/1.276, allocations: 6.08 MB / 1.346 GB, free: 4.363 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04762/1.324, allocations: 34.97 MB / 1.38 GB, free: 1.09 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002975/1.327, allocations: 1.914 MB / 1.382 GB, free: 15.18 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002592/1.329, allocations: 1.752 MB / 1.383 GB, free: 13.43 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001424/1.329, allocations: 21.98 kB / 1.383 GB, free: 13.4 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.271e-05/1.329, allocations: 60.55 kB / 1.383 GB, free: 13.34 MB / 1.076 GB Notification: Performance of pre-optimization done (n=171): time 3.356e-06/1.329, allocations: 0 / 1.383 GB, free: 13.34 MB / 1.076 GB Notification: Performance of matching and sorting (n=276): time 0.1464/1.476, allocations: 38.85 MB / 1.421 GB, free: 6.391 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.91e-05/1.476, allocations: 81.58 kB / 1.421 GB, free: 6.297 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004021/1.48, allocations: 2.29 MB / 1.424 GB, free: 3.992 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0003272/1.48, allocations: 77.64 kB / 1.424 GB, free: 3.91 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001633/1.482, allocations: 2.33 MB / 1.426 GB, free: 1.559 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.001039/1.483, allocations: 0.9876 MB / 1.427 GB, free: 0.5625 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001173/1.484, allocations: 0.5063 MB / 1.427 GB, free: 48 kB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001108/1.484, allocations: 305.1 kB / 1.428 GB, free: 15.75 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002955/1.487, allocations: 1.973 MB / 1.43 GB, free: 13.77 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00354/1.491, allocations: 2.606 MB / 1.432 GB, free: 10.92 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006771/1.497, allocations: 4.929 MB / 1.437 GB, free: 5.715 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-05/1.497, allocations: 4.875 kB / 1.437 GB, free: 5.711 MB / 1.123 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.0154/1.513, allocations: 7.657 MB / 1.444 GB, free: 13.98 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 4.083e-05/1.513, allocations: 12.97 kB / 1.444 GB, free: 13.97 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.288e-05/1.513, allocations: 16 kB / 1.444 GB, free: 13.96 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009601/1.522, allocations: 3.214 MB / 1.448 GB, free: 10.73 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001731/1.524, allocations: 399.3 kB / 1.448 GB, free: 10.34 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04783/1.572, allocations: 33.91 MB / 1.481 GB, free: 7.57 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003336/1.575, allocations: 160 kB / 1.481 GB, free: 7.414 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006618/1.576, allocations: 112 kB / 1.481 GB, free: 7.305 MB / 1.17 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004197/1.58, allocations: 1.801 MB / 1.483 GB, free: 5.492 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001163/1.581, allocations: 349.8 kB / 1.483 GB, free: 5.148 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01527/1.597, allocations: 7.247 MB / 1.491 GB, free: 13.82 MB / 1.186 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.754e-05/1.597, allocations: 24 kB / 1.491 GB, free: 13.79 MB / 1.186 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.062e-05/1.597, allocations: 35.94 kB / 1.491 GB, free: 13.76 MB / 1.186 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.229e-05/1.597, allocations: 11.95 kB / 1.491 GB, free: 13.75 MB / 1.186 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0272/1.624, allocations: 12.8 MB / 1.503 GB, free: 0.7773 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.173e-05/1.624, allocations: 4 kB / 1.503 GB, free: 0.7734 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001088/1.625, allocations: 235.5 kB / 1.503 GB, free: 0.543 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008594/1.634, allocations: 2.859 MB / 1.506 GB, free: 13.67 MB / 1.201 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003622/1.634, allocations: 52 kB / 1.506 GB, free: 13.62 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04492/1.679, allocations: 32.69 MB / 1.538 GB, free: 12.07 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.356e-06/1.679, allocations: 8.375 kB / 1.538 GB, free: 12.06 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01386/1.693, allocations: 6.783 MB / 1.545 GB, free: 5.07 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002421/1.695, allocations: 0.7917 MB / 1.546 GB, free: 4.258 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001438/1.697, allocations: 59.98 kB / 1.546 GB, free: 4.199 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002811/1.699, allocations: 167.8 kB / 1.546 GB, free: 4.035 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001086/1.701, allocations: 253.4 kB / 1.546 GB, free: 3.785 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002997/1.701, allocations: 76 kB / 1.546 GB, free: 3.711 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.003313/1.704, allocations: 1.533 MB / 1.548 GB, free: 2.176 MB / 1.232 GB Notification: Performance of sort global known variables: time 8e-08/1.704, allocations: 0 / 1.548 GB, free: 2.176 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.006324/1.71, allocations: 1.367 MB / 1.549 GB, free: 0.8086 MB / 1.232 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005991/1.711, allocations: 179 kB / 1.549 GB, free: 0.625 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.0123/1.723, allocations: 6.561 MB / 1.555 GB, free: 9.973 MB / 1.248 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/1.723, allocations: 4 kB / 1.555 GB, free: 9.969 MB / 1.248 GB Notification: Performance of simCode: created simulation system equations: time 0.007844/1.731, allocations: 4.253 MB / 1.56 GB, free: 5.633 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005972/1.737, allocations: 1.112 MB / 1.561 GB, free: 4.559 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01997/1.757, allocations: 10.24 MB / 1.571 GB, free: 10.23 MB / 1.264 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0043/1.761, allocations: 3.655 MB / 1.574 GB, free: 6.543 MB / 1.264 GB Notification: Performance of simCode: alias equations: time 0.001997/1.763, allocations: 0.5595 MB / 1.575 GB, free: 5.98 MB / 1.264 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004128/1.764, allocations: 155.4 kB / 1.575 GB, free: 5.832 MB / 1.264 GB Notification: Performance of SimCode: time 1.032e-06/1.764, allocations: 0 / 1.575 GB, free: 5.832 MB / 1.264 GB Notification: Performance of Templates: time 0.1243/1.888, allocations: 76.66 MB / 1.65 GB, free: 10.18 MB / 1.342 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches