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.001256/0.001256, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001564/0.001564, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.356/1.356, allocations: 222.9 MB / 241 MB, free: 15.16 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.286/2.286, allocations: 390.2 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 63.89 kB / 0.9515 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.839/0.8404, allocations: 140.4 MB / 1.089 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.03768/0.8781, allocations: 30.76 MB / 1.119 GB, free: 0.6016 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.02487/0.903, allocations: 13.59 MB / 1.132 GB, free: 7.16 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004272/0.9073, allocations: 143.2 kB / 1.132 GB, free: 7.113 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.009839/0.9173, allocations: 3.194 MB / 1.135 GB, free: 5.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0108/0.9281, allocations: 2.77 MB / 1.138 GB, free: 3.477 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.007367/0.9355, allocations: 2.013 MB / 1.14 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.01479/0.9503, allocations: 7.636 MB / 1.147 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01537/0.9657, allocations: 8.236 MB / 1.155 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0085/0.9743, allocations: 3.467 MB / 1.159 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007809/0.9821, allocations: 3.384 MB / 1.162 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.003008/0.9852, allocations: 0.5959 MB / 1.163 GB, free: 8.566 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006783/0.992, allocations: 1.49 MB / 1.164 GB, free: 8.215 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.005862/0.9979, allocations: 2.374 MB / 1.166 GB, free: 7.02 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.008713/1.007, allocations: 2.877 MB / 1.169 GB, free: 5.027 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01711/1.024, allocations: 9.465 MB / 1.178 GB, free: 14.2 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.704e-06/1.024, allocations: 0 / 1.178 GB, free: 14.2 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.495e-06/1.024, allocations: 0 / 1.178 GB, free: 14.2 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003936/1.024, allocations: 1.438 kB / 1.178 GB, free: 14.2 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.01914/1.043, allocations: 5.133 MB / 1.183 GB, free: 10.74 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/1.043, allocations: 10.31 kB / 1.183 GB, free: 10.74 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008218/1.052, allocations: 1.004 MB / 1.184 GB, free: 10.26 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008175/1.06, allocations: 3.071 MB / 1.187 GB, free: 8.211 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003999/1.06, allocations: 314.5 kB / 1.188 GB, free: 8.066 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002028/1.062, allocations: 430.8 kB / 1.188 GB, free: 7.863 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01811/1.08, allocations: 6.784 MB / 1.195 GB, free: 0.7852 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002297/1.081, allocations: 23.78 kB / 1.195 GB, free: 0.7617 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001621/1.082, allocations: 192 kB / 1.195 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001025/1.083, allocations: 368 kB / 1.195 GB, free: 216 kB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01242/1.096, allocations: 5.114 MB / 1.2 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04018/1.136, allocations: 30.51 MB / 1.23 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002214/1.138, allocations: 1.403 MB / 1.232 GB, free: 8.395 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001833/1.14, allocations: 1.328 MB / 1.233 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001151/1.14, allocations: 25.28 kB / 1.233 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.826e-05/1.14, allocations: 47.88 kB / 1.233 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=130): time 3.176e-06/1.14, allocations: 0 / 1.233 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of matching and sorting (n=199): time 0.08954/1.23, allocations: 23.08 MB / 1.255 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/1.23, allocations: 77.41 kB / 1.255 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003309/1.233, allocations: 2.058 MB / 1.258 GB, free: 13.62 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003061/1.234, allocations: 57.7 kB / 1.258 GB, free: 13.56 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001319/1.235, allocations: 2.018 MB / 1.26 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007037/1.236, allocations: 0.6739 MB / 1.26 GB, free: 10.83 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008546/1.237, allocations: 412.1 kB / 1.261 GB, free: 10.42 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 9.536e-05/1.237, allocations: 305.1 kB / 1.261 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002111/1.239, allocations: 1.433 MB / 1.262 GB, free: 8.684 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002571/1.241, allocations: 2.013 MB / 1.264 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004872/1.246, allocations: 3.696 MB / 1.268 GB, free: 2.484 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.689e-05/1.246, allocations: 8 kB / 1.268 GB, free: 2.477 MB / 0.9981 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01125/1.258, allocations: 5.653 MB / 1.273 GB, free: 12.75 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.484e-05/1.258, allocations: 12 kB / 1.273 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.275e-05/1.258, allocations: 20 kB / 1.273 GB, free: 12.72 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006896/1.265, allocations: 2.088 MB / 1.275 GB, free: 10.58 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001627/1.266, allocations: 375.4 kB / 1.276 GB, free: 10.21 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03865/1.305, allocations: 38.43 MB / 1.313 GB, free: 1.25 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002848/1.308, allocations: 127.9 kB / 1.313 GB, free: 1.125 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002911/1.308, allocations: 87.98 kB / 1.314 GB, free: 1.039 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.002903/1.311, allocations: 1.508 MB / 1.315 GB, free: 15.52 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006684/1.312, allocations: 284.6 kB / 1.315 GB, free: 15.24 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01004/1.322, allocations: 5.219 MB / 1.32 GB, free: 9.945 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.255e-05/1.322, allocations: 20 kB / 1.32 GB, free: 9.926 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.918e-05/1.322, allocations: 20 kB / 1.32 GB, free: 9.906 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-05/1.322, allocations: 7.969 kB / 1.32 GB, free: 9.898 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01782/1.34, allocations: 9.68 MB / 1.33 GB, free: 8 kB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-05/1.34, allocations: 4 kB / 1.33 GB, free: 4 kB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009431/1.341, allocations: 219.6 kB / 1.33 GB, free: 15.79 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0058/1.346, allocations: 1.838 MB / 1.332 GB, free: 13.89 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002358/1.347, allocations: 44 kB / 1.332 GB, free: 13.85 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03576/1.383, allocations: 37.44 MB / 1.368 GB, free: 5.883 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.937e-06/1.383, allocations: 11.94 kB / 1.368 GB, free: 5.871 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009175/1.392, allocations: 4.913 MB / 1.373 GB, free: 0.8008 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/1.394, allocations: 0.6109 MB / 1.374 GB, free: 172 kB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005135/1.394, allocations: 43.98 kB / 1.374 GB, free: 128 kB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001511/1.396, allocations: 127.8 kB / 1.374 GB, free: 0 / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006665/1.396, allocations: 193.6 kB / 1.374 GB, free: 15.81 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001452/1.396, allocations: 60 kB / 1.374 GB, free: 15.75 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001983/1.398, allocations: 1.374 MB / 1.376 GB, free: 14.37 MB / 1.123 GB Notification: Performance of sort global known variables: time 1.7e-07/1.398, allocations: 0 / 1.376 GB, free: 14.37 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.004091/1.403, allocations: 1.051 MB / 1.377 GB, free: 13.32 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.0003833/1.403, allocations: 169 kB / 1.377 GB, free: 13.15 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.009806/1.413, allocations: 6.299 MB / 1.383 GB, free: 6.613 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/1.413, allocations: 0 / 1.383 GB, free: 6.613 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.006689/1.419, allocations: 4.399 MB / 1.387 GB, free: 1.988 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004552/1.424, allocations: 0.9887 MB / 1.388 GB, free: 1.031 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01526/1.439, allocations: 8.606 MB / 1.397 GB, free: 8.332 MB / 1.139 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003619/1.443, allocations: 3.183 MB / 1.4 GB, free: 5.113 MB / 1.139 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007079/1.444, allocations: 163.4 kB / 1.4 GB, free: 4.953 MB / 1.139 GB Notification: Performance of SimCode: time 9.62e-07/1.444, allocations: 0 / 1.4 GB, free: 4.953 MB / 1.139 GB Notification: Performance of Templates: time 0.9455/2.389, allocations: 464.9 MB / 1.854 GB, free: 196.3 MB / 1.311 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/jenkins1/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