Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001481/0.001481, allocations: 101.8 kB / 16.36 MB, free: 5.824 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.001898/0.001898, allocations: 193.3 kB / 17.29 MB, free: 5.48 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.449/1.449, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.543/2.543, allocations: 442.6 MB / 0.7165 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 61.27 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3666/0.3679, allocations: 153 MB / 1.027 GB, free: 2.031 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R): time 0.04017/0.4081, allocations: 35.12 MB / 1.061 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0186/0.4267, allocations: 9.956 MB / 1.071 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003785/0.4306, allocations: 143.3 kB / 1.071 GB, free: 4.672 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.009953/0.4406, allocations: 3.794 MB / 1.075 GB, free: 0.8672 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.602/1.043, allocations: 2.032 MB / 1.077 GB, free: 20.22 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006057/1.049, allocations: 1.964 MB / 1.079 GB, free: 20.22 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01355/1.062, allocations: 7.966 MB / 1.086 GB, free: 20.21 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01576/1.078, allocations: 9.518 MB / 1.096 GB, free: 18.42 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01063/1.089, allocations: 3.377 MB / 1.099 GB, free: 18.19 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008958/1.098, allocations: 3.737 MB / 1.103 GB, free: 17.14 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.003543/1.101, allocations: 0.6787 MB / 1.103 GB, free: 17.14 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007055/1.109, allocations: 1.448 MB / 1.105 GB, free: 17.04 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.00771/1.116, allocations: 2.612 MB / 1.107 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01061/1.127, allocations: 3.11 MB / 1.11 GB, free: 14 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.01901/1.146, allocations: 10.38 MB / 1.12 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/1.146, allocations: 0 / 1.12 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.056e-06/1.146, allocations: 1.281 kB / 1.12 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0004496/1.146, allocations: 3.281 kB / 1.12 GB, free: 10.9 MB / 0.8419 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.02204/1.169, allocations: 5.399 MB / 1.126 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/1.169, allocations: 11.16 kB / 1.126 GB, free: 8.023 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007974/1.177, allocations: 0.9602 MB / 1.127 GB, free: 7.727 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01034/1.187, allocations: 3.186 MB / 1.13 GB, free: 5.895 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005933/1.188, allocations: 355.8 kB / 1.13 GB, free: 5.742 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003/1.191, allocations: 470.8 kB / 1.13 GB, free: 5.594 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02631/1.217, allocations: 7.907 MB / 1.138 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003426/1.217, allocations: 22.53 kB / 1.138 GB, free: 0.6875 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0023/1.22, allocations: 208.2 kB / 1.138 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005699/1.22, allocations: 368.8 kB / 1.139 GB, free: 460 kB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01485/1.235, allocations: 5.943 MB / 1.145 GB, free: 13.48 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05482/1.29, allocations: 35.95 MB / 1.18 GB, free: 8.844 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003861/1.294, allocations: 2.138 MB / 1.182 GB, free: 6.691 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002239/1.296, allocations: 1.477 MB / 1.183 GB, free: 5.211 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001488/1.296, allocations: 24.28 kB / 1.183 GB, free: 5.188 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.541e-05/1.296, allocations: 55.86 kB / 1.183 GB, free: 5.125 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=157): time 3.897e-06/1.296, allocations: 0 / 1.183 GB, free: 5.125 MB / 0.8887 GB Notification: Performance of matching and sorting (n=160): time 0.01578/1.312, allocations: 7.541 MB / 1.191 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.825e-05/1.312, allocations: 68.72 kB / 1.191 GB, free: 13.24 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003314/1.316, allocations: 1.868 MB / 1.193 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0002371/1.316, allocations: 49.7 kB / 1.193 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001561/1.317, allocations: 2.125 MB / 1.195 GB, free: 9.148 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005767/1.318, allocations: 0.5546 MB / 1.195 GB, free: 8.598 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006372/1.319, allocations: 407.7 kB / 1.196 GB, free: 8.191 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001007/1.319, allocations: 305.1 kB / 1.196 GB, free: 7.891 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001547/1.32, allocations: 1.055 MB / 1.197 GB, free: 6.832 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001978/1.322, allocations: 1.771 MB / 1.199 GB, free: 4.75 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00359/1.326, allocations: 3.046 MB / 1.202 GB, free: 1.395 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.171e-05/1.326, allocations: 4 kB / 1.202 GB, free: 1.391 MB / 0.9044 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.006423/1.332, allocations: 3.925 MB / 1.205 GB, free: 13.41 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.862e-05/1.332, allocations: 12 kB / 1.205 GB, free: 13.4 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.577e-05/1.332, allocations: 24 kB / 1.205 GB, free: 13.38 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002441/1.335, allocations: 0.9355 MB / 1.206 GB, free: 12.41 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001531/1.336, allocations: 427.2 kB / 1.207 GB, free: 12 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02193/1.358, allocations: 22.76 MB / 1.229 GB, free: 3.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002296/1.361, allocations: 119.9 kB / 1.229 GB, free: 3.465 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002313/1.361, allocations: 95.98 kB / 1.229 GB, free: 3.371 MB / 0.9356 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.002898/1.364, allocations: 1.652 MB / 1.231 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005478/1.364, allocations: 260.6 kB / 1.231 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005499/1.37, allocations: 3.26 MB / 1.234 GB, free: 14.14 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.456e-05/1.37, allocations: 16 kB / 1.234 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.378e-05/1.37, allocations: 8 kB / 1.234 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/1.37, allocations: 7.969 kB / 1.234 GB, free: 14.11 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01305/1.383, allocations: 7.556 MB / 1.242 GB, free: 6.434 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/1.383, allocations: 4 kB / 1.242 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009522/1.384, allocations: 219.6 kB / 1.242 GB, free: 6.215 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002421/1.387, allocations: 0.8951 MB / 1.243 GB, free: 5.285 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001466/1.387, allocations: 32 kB / 1.243 GB, free: 5.254 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02131/1.408, allocations: 22.73 MB / 1.265 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/1.408, allocations: 4 kB / 1.265 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006086/1.414, allocations: 3.379 MB / 1.268 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00158/1.416, allocations: 0.5215 MB / 1.269 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004956/1.416, allocations: 36 kB / 1.269 GB, free: 8.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00116/1.417, allocations: 95.81 kB / 1.269 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004207/1.418, allocations: 137 kB / 1.269 GB, free: 8.559 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001193/1.418, allocations: 48 kB / 1.269 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001775/1.42, allocations: 1.225 MB / 1.27 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.41e-07/1.42, allocations: 0 / 1.27 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.003547/1.423, allocations: 0.9023 MB / 1.271 GB, free: 6.371 MB / 0.9825 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.0003418/1.424, allocations: 164.4 kB / 1.271 GB, free: 6.203 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006403/1.43, allocations: 4.435 MB / 1.276 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 9.658e-06/1.43, allocations: 4 kB / 1.276 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.004196/1.434, allocations: 2.989 MB / 1.279 GB, free: 14.48 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004456/1.439, allocations: 0.8268 MB / 1.279 GB, free: 13.67 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0147/1.454, allocations: 7.593 MB / 1.287 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003934/1.457, allocations: 3.205 MB / 1.29 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001926/1.459, allocations: 0.5292 MB / 1.29 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003979/1.46, allocations: 143.4 kB / 1.291 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of SimCode: time 9.32e-07/1.46, allocations: 0 / 1.291 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of Templates: time 0.0733/1.533, allocations: 41 MB / 1.331 GB, free: 9.836 MB / 1.045 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches