Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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,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") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006142/0.006142, allocations: 98.3 kB / 15.73 MB, free: 6.012 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.001021/0.001021, allocations: 196.6 kB / 16.68 MB, free: 5.93 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.244/2.244, allocations: 390.2 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.89 kB / 0.9509 GB, free: 7.645 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.288/1.289, allocations: 140.4 MB / 1.088 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.04055/1.33, allocations: 30.77 MB / 1.118 GB, free: 0.6172 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02848/1.359, allocations: 13.59 MB / 1.131 GB, free: 7.176 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006246/1.365, allocations: 143.2 kB / 1.131 GB, free: 7.129 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.00993/1.375, allocations: 3.201 MB / 1.135 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.01251/1.387, allocations: 2.757 MB / 1.137 GB, free: 3.496 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.008061/1.395, allocations: 2.024 MB / 1.139 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01674/1.412, allocations: 7.64 MB / 1.147 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01461/1.427, allocations: 8.23 MB / 1.155 GB, free: 11.57 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0102/1.437, allocations: 3.465 MB / 1.158 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009553/1.447, allocations: 3.385 MB / 1.161 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.003597/1.45, allocations: 0.5961 MB / 1.162 GB, free: 8.586 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007683/1.458, allocations: 1.492 MB / 1.163 GB, free: 8.23 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.006199/1.464, allocations: 2.372 MB / 1.166 GB, free: 7.031 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.01068/1.475, allocations: 2.886 MB / 1.169 GB, free: 5.031 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01793/1.493, allocations: 9.492 MB / 1.178 GB, free: 14.17 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/1.493, allocations: 0 / 1.178 GB, free: 14.17 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.643e-06/1.493, allocations: 0 / 1.178 GB, free: 14.17 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003772/1.493, allocations: 0 / 1.178 GB, free: 14.17 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.01964/1.513, allocations: 5.265 MB / 1.183 GB, free: 10.57 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/1.513, allocations: 8.688 kB / 1.183 GB, free: 10.57 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008045/1.521, allocations: 1.027 MB / 1.184 GB, free: 10.08 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00947/1.531, allocations: 3.089 MB / 1.187 GB, free: 8.012 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003736/1.531, allocations: 318.3 kB / 1.187 GB, free: 7.863 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002525/1.534, allocations: 423.5 kB / 1.188 GB, free: 7.699 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01736/1.551, allocations: 6.792 MB / 1.194 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001594/1.551, allocations: 27.81 kB / 1.194 GB, free: 0.5859 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008571/1.552, allocations: 184 kB / 1.195 GB, free: 416 kB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009154/1.553, allocations: 372 kB / 1.195 GB, free: 40 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01212/1.565, allocations: 5.118 MB / 1.2 GB, free: 10.9 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04541/1.611, allocations: 30.56 MB / 1.23 GB, free: 9.582 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002411/1.613, allocations: 1.395 MB / 1.231 GB, free: 8.18 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001903/1.615, allocations: 1.328 MB / 1.232 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/1.615, allocations: 17.25 kB / 1.232 GB, free: 6.836 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.394e-05/1.615, allocations: 51.81 kB / 1.232 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=130): time 3.386e-06/1.615, allocations: 0 / 1.232 GB, free: 6.777 MB / 0.9669 GB Notification: Performance of matching and sorting (n=199): time 0.09152/1.707, allocations: 23.14 MB / 1.255 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.804e-05/1.707, allocations: 73.41 kB / 1.255 GB, free: 15.43 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004109/1.711, allocations: 2.062 MB / 1.257 GB, free: 13.35 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003063/1.711, allocations: 61.7 kB / 1.257 GB, free: 13.28 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001783/1.713, allocations: 2.062 MB / 1.259 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008494/1.714, allocations: 0.7127 MB / 1.26 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001015/1.715, allocations: 408.4 kB / 1.26 GB, free: 10.08 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001174/1.715, allocations: 305.1 kB / 1.261 GB, free: 9.777 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002377/1.717, allocations: 1.437 MB / 1.262 GB, free: 8.336 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002903/1.72, allocations: 2.013 MB / 1.264 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005599/1.726, allocations: 3.692 MB / 1.268 GB, free: 2.141 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.436e-05/1.726, allocations: 8 kB / 1.268 GB, free: 2.133 MB / 0.9981 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01284/1.739, allocations: 5.674 MB / 1.273 GB, free: 12.39 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 6.14e-05/1.739, allocations: 12 kB / 1.273 GB, free: 12.38 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.392e-05/1.739, allocations: 20 kB / 1.273 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008305/1.747, allocations: 2.076 MB / 1.275 GB, free: 10.23 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001753/1.749, allocations: 375.4 kB / 1.276 GB, free: 9.859 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04126/1.79, allocations: 38.47 MB / 1.313 GB, free: 0.8594 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003204/1.794, allocations: 127.9 kB / 1.313 GB, free: 0.7344 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004979/1.794, allocations: 88 kB / 1.313 GB, free: 0.6484 MB / 1.045 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 (204): * Single equations (assignments): 186 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,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.003537/1.798, allocations: 1.512 MB / 1.315 GB, free: 15.12 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000814/1.799, allocations: 290.2 kB / 1.315 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01078/1.809, allocations: 5.219 MB / 1.32 GB, free: 9.543 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.795e-05/1.809, allocations: 20 kB / 1.32 GB, free: 9.523 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.264e-05/1.809, allocations: 16 kB / 1.32 GB, free: 9.508 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.331e-05/1.81, allocations: 11.95 kB / 1.32 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02128/1.831, allocations: 9.677 MB / 1.33 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-05/1.831, allocations: 4.125 kB / 1.33 GB, free: 15.61 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000946/1.832, allocations: 223.6 kB / 1.33 GB, free: 15.39 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006205/1.838, allocations: 1.838 MB / 1.332 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002362/1.838, allocations: 44 kB / 1.332 GB, free: 13.45 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03988/1.878, allocations: 37.46 MB / 1.368 GB, free: 5.469 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-05/1.878, allocations: 8 kB / 1.368 GB, free: 5.461 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01043/1.889, allocations: 4.938 MB / 1.373 GB, free: 376 kB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002099/1.891, allocations: 0.6281 MB / 1.374 GB, free: 15.71 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00139/1.892, allocations: 43.75 kB / 1.374 GB, free: 15.68 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002551/1.895, allocations: 127.8 kB / 1.374 GB, free: 15.55 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008498/1.896, allocations: 189.6 kB / 1.374 GB, free: 15.37 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002367/1.896, allocations: 60 kB / 1.374 GB, free: 15.31 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.002653/1.899, allocations: 1.374 MB / 1.375 GB, free: 13.93 MB / 1.123 GB Notification: Performance of sort global known variables: time 2.1e-07/1.899, allocations: 4 kB / 1.375 GB, free: 13.92 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.004789/1.903, allocations: 1.051 MB / 1.376 GB, free: 12.87 MB / 1.123 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 (112): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 18 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 18 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,4,100.0%), (3,5,100.0%), (3,5,100.0%), (3,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004306/1.904, allocations: 167.5 kB / 1.377 GB, free: 12.7 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.01044/1.914, allocations: 6.303 MB / 1.383 GB, free: 6.16 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/1.914, allocations: 4.125 kB / 1.383 GB, free: 6.156 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.007067/1.921, allocations: 4.417 MB / 1.387 GB, free: 1.512 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005238/1.927, allocations: 0.9886 MB / 1.388 GB, free: 0.5547 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/1.943, allocations: 8.184 MB / 1.396 GB, free: 8.277 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005144/1.948, allocations: 3.121 MB / 1.399 GB, free: 5.121 MB / 1.139 GB Notification: Performance of simCode: alias equations: time 0.002313/1.95, allocations: 0.5199 MB / 1.4 GB, free: 4.598 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000548/1.951, allocations: 151.4 kB / 1.4 GB, free: 4.449 MB / 1.139 GB Notification: Performance of SimCode: time 1.022e-06/1.951, allocations: 4 kB / 1.4 GB, free: 4.445 MB / 1.139 GB Notification: Performance of Templates: time 0.1005/2.052, allocations: 58.5 MB / 1.457 GB, free: 10.8 MB / 1.201 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches