Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_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_9_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_9_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.008087/0.008087, allocations: 111.9 kB / 15.71 MB, free: 6.504 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.002011/0.002011, allocations: 190.8 kB / 16.64 MB, free: 6.422 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.458/1.458, allocations: 222.9 MB / 240.3 MB, free: 4.336 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.543/2.543, allocations: 390.3 MB / 0.6648 GB, free: 152 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00207/0.002071, allocations: 63.78 kB / 0.9509 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3552/0.3573, allocations: 140.4 MB / 1.088 GB, free: 1.426 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04014/0.3975, allocations: 35.13 MB / 1.122 GB, free: 14.18 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01787/0.4154, allocations: 9.933 MB / 1.132 GB, free: 4.219 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004239/0.4197, allocations: 143.3 kB / 1.132 GB, free: 4.078 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01002/0.4298, allocations: 3.803 MB / 1.136 GB, free: 272 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.00658/0.4364, allocations: 2.032 MB / 1.138 GB, free: 14.22 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.006005/0.4424, allocations: 1.975 MB / 1.14 GB, free: 12.25 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01303/0.4555, allocations: 7.967 MB / 1.148 GB, free: 4.262 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0144/0.4699, allocations: 9.53 MB / 1.157 GB, free: 10.62 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00662/0.4766, allocations: 3.373 MB / 1.16 GB, free: 7.234 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006656/0.4833, allocations: 3.734 MB / 1.164 GB, free: 3.488 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.002052/0.4854, allocations: 0.6758 MB / 1.164 GB, free: 2.812 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004347/0.4898, allocations: 1.451 MB / 1.166 GB, free: 1.359 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.00411/0.4939, allocations: 2.62 MB / 1.168 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.006361/0.5003, allocations: 3.104 MB / 1.171 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.01298/0.5133, allocations: 10.38 MB / 1.182 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.5133, allocations: 0 / 1.182 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.116e-06/0.5133, allocations: 0 / 1.182 GB, free: 1.211 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 0.0003709/0.5137, allocations: 0 / 1.182 GB, free: 1.211 MB / 0.9356 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.01577/0.5295, allocations: 5.405 MB / 1.187 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.5296, allocations: 12.03 kB / 1.187 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006038/0.5356, allocations: 0.9664 MB / 1.188 GB, free: 10.75 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006808/0.5425, allocations: 3.17 MB / 1.191 GB, free: 7.523 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003855/0.5429, allocations: 361.9 kB / 1.191 GB, free: 7.168 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001766/0.5447, allocations: 464.3 kB / 1.192 GB, free: 6.715 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01948/0.5642, allocations: 7.903 MB / 1.199 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002261/0.5644, allocations: 27.72 kB / 1.199 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001699/0.5661, allocations: 211.9 kB / 1.2 GB, free: 14.21 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006468/0.5668, allocations: 365.1 kB / 1.2 GB, free: 13.86 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01271/0.5795, allocations: 5.937 MB / 1.206 GB, free: 7.902 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04595/0.6255, allocations: 35.94 MB / 1.241 GB, free: 0.7148 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004298/0.6299, allocations: 2.138 MB / 1.243 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00289/0.6328, allocations: 1.484 MB / 1.244 GB, free: 13.07 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001767/0.633, allocations: 17.31 kB / 1.244 GB, free: 13.06 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000105/0.6332, allocations: 63.69 kB / 1.245 GB, free: 12.99 MB / 1.014 GB Notification: Performance of pre-optimization done (n=157): time 5.47e-06/0.6332, allocations: 0 / 1.245 GB, free: 12.99 MB / 1.014 GB Notification: Performance of matching and sorting (n=160): time 0.01575/0.6489, allocations: 7.54 MB / 1.252 GB, free: 5.176 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.649, allocations: 68.72 kB / 1.252 GB, free: 5.098 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003737/0.6528, allocations: 1.864 MB / 1.254 GB, free: 3.207 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002136/0.653, allocations: 49.7 kB / 1.254 GB, free: 3.152 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001419/0.6544, allocations: 2.134 MB / 1.256 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006006/0.6551, allocations: 0.5546 MB / 1.256 GB, free: 440 kB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007816/0.6558, allocations: 403.7 kB / 1.257 GB, free: 28 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.798/1.454, allocations: 301.1 kB / 1.257 GB, free: 154.4 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002538/1.456, allocations: 1.058 MB / 1.258 GB, free: 154.4 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002738/1.459, allocations: 1.763 MB / 1.26 GB, free: 153.6 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004383/1.464, allocations: 3.047 MB / 1.263 GB, free: 152 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.732e-05/1.464, allocations: 6.969 kB / 1.263 GB, free: 152 MB / 1.014 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.008032/1.472, allocations: 3.92 MB / 1.267 GB, free: 150.4 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.443e-05/1.472, allocations: 14.81 kB / 1.267 GB, free: 150.4 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.597e-05/1.472, allocations: 23.47 kB / 1.267 GB, free: 150.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003038/1.475, allocations: 0.9288 MB / 1.268 GB, free: 150.1 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001999/1.477, allocations: 424.2 kB / 1.268 GB, free: 150.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01943/1.496, allocations: 22.76 MB / 1.29 GB, free: 130.8 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002483/1.499, allocations: 127.2 kB / 1.29 GB, free: 130.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003111/1.499, allocations: 93.73 kB / 1.29 GB, free: 130.7 MB / 1.014 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.003546/1.503, allocations: 1.647 MB / 1.292 GB, free: 130 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007093/1.504, allocations: 260.2 kB / 1.292 GB, free: 130 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005987/1.51, allocations: 3.257 MB / 1.296 GB, free: 128.6 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.897e-05/1.51, allocations: 16.27 kB / 1.296 GB, free: 128.6 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.884e-05/1.51, allocations: 14.28 kB / 1.296 GB, free: 128.6 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.092e-05/1.51, allocations: 7.734 kB / 1.296 GB, free: 128.6 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01637/1.526, allocations: 7.551 MB / 1.303 GB, free: 125.5 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.391e-05/1.526, allocations: 8.594 kB / 1.303 GB, free: 125.5 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/1.527, allocations: 219.1 kB / 1.303 GB, free: 125.4 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002633/1.53, allocations: 0.8973 MB / 1.304 GB, free: 125.1 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000168/1.53, allocations: 31 kB / 1.304 GB, free: 125.1 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01861/1.549, allocations: 22.73 MB / 1.326 GB, free: 105.8 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.789e-06/1.549, allocations: 4.812 kB / 1.326 GB, free: 105.8 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006295/1.555, allocations: 3.39 MB / 1.33 GB, free: 104.2 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00141/1.556, allocations: 0.5291 MB / 1.33 GB, free: 103.9 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007096/1.557, allocations: 31.78 kB / 1.33 GB, free: 103.9 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/1.559, allocations: 93.22 kB / 1.33 GB, free: 103.9 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004839/1.559, allocations: 141.3 kB / 1.33 GB, free: 103.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001375/1.559, allocations: 47.62 kB / 1.33 GB, free: 103.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.00221/1.562, allocations: 1.222 MB / 1.332 GB, free: 103.3 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.4e-07/1.562, allocations: 0 / 1.332 GB, free: 103.3 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.003939/1.566, allocations: 0.9147 MB / 1.332 GB, free: 103.3 MB / 1.014 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.00033/1.566, allocations: 154.2 kB / 1.333 GB, free: 103.1 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006248/1.572, allocations: 4.424 MB / 1.337 GB, free: 100.6 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 9.318e-06/1.572, allocations: 1.938 kB / 1.337 GB, free: 100.6 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.003634/1.576, allocations: 2.998 MB / 1.34 GB, free: 98.29 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004577/1.58, allocations: 0.8184 MB / 1.341 GB, free: 97.88 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01516/1.596, allocations: 7.587 MB / 1.348 GB, free: 92.62 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004636/1.6, allocations: 3.211 MB / 1.351 GB, free: 89.38 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.00211/1.602, allocations: 0.5215 MB / 1.352 GB, free: 88.86 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005659/1.603, allocations: 143.4 kB / 1.352 GB, free: 88.71 MB / 1.014 GB Notification: Performance of SimCode: time 1.322e-06/1.603, allocations: 4 kB / 1.352 GB, free: 88.71 MB / 1.014 GB Notification: Performance of Templates: time 0.06519/1.668, allocations: 40.99 MB / 1.392 GB, free: 48.38 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches