Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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,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_latest_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_latest_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.001524/0.001524, allocations: 112.6 kB / 16.37 MB, free: 6 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.0016/0.0016, allocations: 196 kB / 17.31 MB, free: 5.613 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.442/1.442, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.649/2.649, allocations: 442.5 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002069/0.002069, allocations: 68.17 kB / 0.8773 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3473/0.3494, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine): time 0.05252/0.402, allocations: 30.76 MB / 1.057 GB, free: 3.168 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.03037/0.4324, allocations: 13.6 MB / 1.07 GB, free: 5.535 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004051/0.4365, allocations: 143.2 kB / 1.07 GB, free: 5.395 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.009009/0.4456, allocations: 3.185 MB / 1.073 GB, free: 2.199 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.5895/1.035, allocations: 2.656 MB / 1.076 GB, free: 18.87 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.006705/1.042, allocations: 2.016 MB / 1.078 GB, free: 18.87 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0128/1.055, allocations: 7.622 MB / 1.085 GB, free: 18.85 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0131/1.068, allocations: 8.227 MB / 1.093 GB, free: 17.3 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009309/1.077, allocations: 3.411 MB / 1.097 GB, free: 17.07 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007823/1.085, allocations: 3.381 MB / 1.1 GB, free: 16.64 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.00298/1.088, allocations: 0.5963 MB / 1.101 GB, free: 16.64 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006185/1.094, allocations: 1.494 MB / 1.102 GB, free: 16.64 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.005753/1.1, allocations: 2.368 MB / 1.104 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.01071/1.111, allocations: 2.884 MB / 1.107 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0231/1.134, allocations: 9.46 MB / 1.116 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.05e-05/1.134, allocations: 4 kB / 1.116 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.146e-06/1.134, allocations: 0 / 1.116 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0004628/1.134, allocations: 1.562 kB / 1.116 GB, free: 11.14 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: 1133 * Number of variables: 1133 Notification: Performance of Generate backend data structure: time 0.02355/1.158, allocations: 5.129 MB / 1.121 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/1.158, allocations: 9.969 kB / 1.121 GB, free: 8.328 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00839/1.166, allocations: 0.996 MB / 1.122 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00995/1.176, allocations: 3.078 MB / 1.125 GB, free: 6.645 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004714/1.177, allocations: 315.7 kB / 1.126 GB, free: 6.504 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002592/1.18, allocations: 421.2 kB / 1.126 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02196/1.202, allocations: 6.799 MB / 1.133 GB, free: 2.836 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004574/1.202, allocations: 26.67 kB / 1.133 GB, free: 2.828 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002585/1.205, allocations: 183.4 kB / 1.133 GB, free: 2.699 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001077/1.206, allocations: 369 kB / 1.133 GB, free: 2.594 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01372/1.22, allocations: 5.117 MB / 1.138 GB, free: 12 kB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04716/1.267, allocations: 30.51 MB / 1.168 GB, free: 4.109 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002513/1.269, allocations: 1.38 MB / 1.169 GB, free: 2.723 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002025/1.271, allocations: 1.329 MB / 1.171 GB, free: 1.395 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001413/1.271, allocations: 17.25 kB / 1.171 GB, free: 1.375 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.691e-05/1.272, allocations: 63.45 kB / 1.171 GB, free: 1.309 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=130): time 3.497e-06/1.272, allocations: 0 / 1.171 GB, free: 1.309 MB / 0.8731 GB Notification: Performance of matching and sorting (n=199): time 0.08307/1.355, allocations: 23.08 MB / 1.193 GB, free: 10.24 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.825e-05/1.355, allocations: 73.41 kB / 1.193 GB, free: 10.16 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00363/1.358, allocations: 2.062 MB / 1.195 GB, free: 8.082 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 0.0004921/1.359, allocations: 61.7 kB / 1.195 GB, free: 8.016 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.001588/1.361, allocations: 2.005 MB / 1.197 GB, free: 5.992 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.001005/1.362, allocations: 0.6818 MB / 1.198 GB, free: 5.316 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008029/1.362, allocations: 412.1 kB / 1.199 GB, free: 4.906 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001224/1.363, allocations: 309.1 kB / 1.199 GB, free: 4.602 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002146/1.365, allocations: 1.43 MB / 1.2 GB, free: 3.168 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002533/1.367, allocations: 2.01 MB / 1.202 GB, free: 0.9102 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004951/1.372, allocations: 3.697 MB / 1.206 GB, free: 12.98 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-05/1.372, allocations: 4 kB / 1.206 GB, free: 12.98 MB / 0.92 GB Notification: Performance of matching and sorting (n=294) (initialization): time 0.01133/1.384, allocations: 5.661 MB / 1.211 GB, free: 7.25 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 3.711e-05/1.384, allocations: 12 kB / 1.211 GB, free: 7.238 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.552e-05/1.384, allocations: 16 kB / 1.211 GB, free: 7.223 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006659/1.39, allocations: 2.087 MB / 1.213 GB, free: 5.086 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001625/1.392, allocations: 371.4 kB / 1.214 GB, free: 4.723 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04056/1.433, allocations: 38.43 MB / 1.251 GB, free: 11.81 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002837/1.435, allocations: 127.9 kB / 1.251 GB, free: 11.68 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003909/1.436, allocations: 92 kB / 1.251 GB, free: 11.59 MB / 0.9669 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.003039/1.439, allocations: 1.508 MB / 1.253 GB, free: 10.07 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007031/1.44, allocations: 280.7 kB / 1.253 GB, free: 9.797 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01052/1.45, allocations: 5.223 MB / 1.258 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.536e-05/1.45, allocations: 19.94 kB / 1.258 GB, free: 4.488 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.293e-05/1.45, allocations: 23.94 kB / 1.258 GB, free: 4.465 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.04e-05/1.45, allocations: 7.969 kB / 1.258 GB, free: 4.457 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01911/1.469, allocations: 9.67 MB / 1.268 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.926e-05/1.469, allocations: 4 kB / 1.268 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008919/1.47, allocations: 223.7 kB / 1.268 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005952/1.476, allocations: 1.843 MB / 1.27 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003039/1.477, allocations: 40 kB / 1.27 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03852/1.515, allocations: 37.44 MB / 1.306 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.071e-05/1.515, allocations: 15.88 kB / 1.306 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009414/1.525, allocations: 4.912 MB / 1.311 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002072/1.527, allocations: 0.6147 MB / 1.312 GB, free: 10.83 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005474/1.527, allocations: 39.98 kB / 1.312 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/1.529, allocations: 136 kB / 1.312 GB, free: 10.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000651/1.529, allocations: 193.5 kB / 1.312 GB, free: 10.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001539/1.53, allocations: 60 kB / 1.312 GB, free: 10.41 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001999/1.532, allocations: 1.378 MB / 1.314 GB, free: 9.023 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.9e-07/1.532, allocations: 4 kB / 1.314 GB, free: 9.02 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003861/1.536, allocations: 1.047 MB / 1.315 GB, free: 7.973 MB / 1.029 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.0003431/1.536, allocations: 164.4 kB / 1.315 GB, free: 7.805 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.009934/1.546, allocations: 6.294 MB / 1.321 GB, free: 1.281 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.134e-05/1.546, allocations: 8.062 kB / 1.321 GB, free: 1.273 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.006777/1.553, allocations: 4.391 MB / 1.325 GB, free: 12.66 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004558/1.557, allocations: 0.9903 MB / 1.326 GB, free: 11.71 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/1.571, allocations: 8.04 MB / 1.334 GB, free: 3.598 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003636/1.575, allocations: 3.128 MB / 1.337 GB, free: 444 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.001918/1.577, allocations: 0.5277 MB / 1.338 GB, free: 15.9 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004111/1.577, allocations: 143.4 kB / 1.338 GB, free: 15.76 MB / 1.061 GB Notification: Performance of SimCode: time 1.523e-06/1.577, allocations: 0 / 1.338 GB, free: 15.76 MB / 1.061 GB Notification: Performance of Templates: time 0.09665/1.674, allocations: 57.72 MB / 1.394 GB, free: 7.02 MB / 1.107 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches