Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.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_R_N,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_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,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_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00164/0.00164, allocations: 106.7 kB / 16.41 MB, free: 6.465 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.001943/0.001942, allocations: 187 kB / 17.34 MB, free: 5.723 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.393/1.393, allocations: 222.9 MB / 241 MB, free: 15.07 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.294/2.294, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 63.91 kB / 0.9516 GB, free: 7.578 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9681/0.9696, allocations: 140.4 MB / 1.089 GB, free: 5.48 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.04723/1.017, allocations: 37.96 MB / 1.126 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02388/1.041, allocations: 10.99 MB / 1.136 GB, free: 4.281 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006802/1.048, allocations: 157.3 kB / 1.137 GB, free: 4.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.01313/1.061, allocations: 4.356 MB / 1.141 GB, free: 1.594 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.009722/1.071, allocations: 2.223 MB / 1.143 GB, free: 212 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.008159/1.079, allocations: 2.17 MB / 1.145 GB, free: 14.97 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.02067/1.099, allocations: 9.285 MB / 1.154 GB, free: 10.75 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02454/1.124, allocations: 11.26 MB / 1.165 GB, free: 6.18 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01059/1.135, allocations: 4.055 MB / 1.169 GB, free: 4.246 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01103/1.146, allocations: 4.511 MB / 1.174 GB, free: 1.473 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.004254/1.15, allocations: 0.8228 MB / 1.174 GB, free: 1.473 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007682/1.158, allocations: 1.586 MB / 1.176 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.008667/1.166, allocations: 3.148 MB / 1.179 GB, free: 15.03 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.01479/1.181, allocations: 3.659 MB / 1.183 GB, free: 12.47 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.02491/1.206, allocations: 12.31 MB / 1.195 GB, free: 1.406 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.071e-05/1.206, allocations: 0 / 1.195 GB, free: 1.406 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.517e-06/1.206, allocations: 4 kB / 1.195 GB, free: 1.402 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0005241/1.207, allocations: 3.938 kB / 1.195 GB, free: 1.398 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.02248/1.229, allocations: 6.311 MB / 1.201 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/1.229, allocations: 12.03 kB / 1.201 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006919/1.236, allocations: 1.079 MB / 1.202 GB, free: 9.918 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008086/1.244, allocations: 3.602 MB / 1.205 GB, free: 6.262 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004047/1.245, allocations: 427.8 kB / 1.206 GB, free: 5.844 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002182/1.247, allocations: 0.5471 MB / 1.206 GB, free: 5.297 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02179/1.269, allocations: 9.374 MB / 1.215 GB, free: 11.59 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001501/1.269, allocations: 23.72 kB / 1.215 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008719/1.27, allocations: 244 kB / 1.216 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006183/1.271, allocations: 418.9 kB / 1.216 GB, free: 10.92 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01748/1.288, allocations: 7.123 MB / 1.223 GB, free: 3.785 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05232/1.34, allocations: 41.01 MB / 1.263 GB, free: 7.039 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004906/1.345, allocations: 3.112 MB / 1.266 GB, free: 3.91 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003147/1.349, allocations: 2.149 MB / 1.268 GB, free: 1.77 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/1.349, allocations: 22 kB / 1.268 GB, free: 1.75 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.066e-05/1.349, allocations: 64.56 kB / 1.268 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=209): time 3.887e-06/1.349, allocations: 0 / 1.268 GB, free: 1.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=212): time 0.02423/1.373, allocations: 10.55 MB / 1.279 GB, free: 7.027 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/1.373, allocations: 77.34 kB / 1.279 GB, free: 6.941 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002911/1.376, allocations: 2.005 MB / 1.281 GB, free: 4.918 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.00023/1.376, allocations: 65.7 kB / 1.281 GB, free: 4.848 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001645/1.378, allocations: 2.408 MB / 1.283 GB, free: 2.406 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009079/1.379, allocations: 0.724 MB / 1.284 GB, free: 1.672 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008507/1.38, allocations: 481.2 kB / 1.284 GB, free: 1.195 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001686/1.38, allocations: 305.1 kB / 1.285 GB, free: 0.8945 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002342/1.382, allocations: 1.372 MB / 1.286 GB, free: 15.52 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002988/1.385, allocations: 2.108 MB / 1.288 GB, free: 13.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005435/1.391, allocations: 3.762 MB / 1.292 GB, free: 9.02 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.438e-05/1.391, allocations: 8 kB / 1.292 GB, free: 9.012 MB / 1.029 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.009143/1.4, allocations: 5.08 MB / 1.297 GB, free: 3.906 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.954e-05/1.4, allocations: 12 kB / 1.297 GB, free: 3.895 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.116e-05/1.4, allocations: 28.12 kB / 1.297 GB, free: 3.867 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003532/1.403, allocations: 1.576 MB / 1.298 GB, free: 2.281 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001837/1.405, allocations: 455.2 kB / 1.299 GB, free: 1.836 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02471/1.43, allocations: 18.57 MB / 1.317 GB, free: 14.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002817/1.433, allocations: 147.9 kB / 1.317 GB, free: 14.55 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002517/1.433, allocations: 104 kB / 1.317 GB, free: 14.45 MB / 1.061 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 (231): * Single equations (assignments): 227 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003877/1.437, allocations: 1.949 MB / 1.319 GB, free: 12.49 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007036/1.438, allocations: 284.7 kB / 1.319 GB, free: 12.21 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007605/1.445, allocations: 4.455 MB / 1.323 GB, free: 7.727 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-05/1.445, allocations: 24 kB / 1.323 GB, free: 7.703 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.713e-05/1.445, allocations: 19.94 kB / 1.324 GB, free: 7.684 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.261e-05/1.445, allocations: 11.95 kB / 1.324 GB, free: 7.672 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01669/1.462, allocations: 9.664 MB / 1.333 GB, free: 13.86 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.396e-05/1.462, allocations: 8 kB / 1.333 GB, free: 13.85 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00109/1.463, allocations: 231.6 kB / 1.333 GB, free: 13.62 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003313/1.467, allocations: 1.431 MB / 1.335 GB, free: 12.18 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002471/1.467, allocations: 40 kB / 1.335 GB, free: 12.14 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02267/1.49, allocations: 18.56 MB / 1.353 GB, free: 9.023 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.594e-06/1.49, allocations: 7.938 kB / 1.353 GB, free: 9.016 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00783/1.498, allocations: 4.544 MB / 1.357 GB, free: 4.387 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001876/1.499, allocations: 0.6264 MB / 1.358 GB, free: 3.738 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009456/1.5, allocations: 43.98 kB / 1.358 GB, free: 3.695 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002038/1.502, allocations: 116.1 kB / 1.358 GB, free: 3.582 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006426/1.503, allocations: 185.4 kB / 1.358 GB, free: 3.398 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002082/1.503, allocations: 64 kB / 1.358 GB, free: 3.336 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.002597/1.506, allocations: 1.311 MB / 1.359 GB, free: 2.016 MB / 1.092 GB Notification: Performance of sort global known variables: time 2.91e-07/1.506, allocations: 0 / 1.359 GB, free: 2.016 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.004708/1.511, allocations: 1.145 MB / 1.361 GB, free: 0.8711 MB / 1.092 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 (107): * Single equations (assignments): 103 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004884/1.511, allocations: 167 kB / 1.361 GB, free: 0.6992 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.008399/1.52, allocations: 4.711 MB / 1.365 GB, free: 11.93 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.477e-05/1.52, allocations: 4 kB / 1.365 GB, free: 11.93 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.005074/1.525, allocations: 2.922 MB / 1.368 GB, free: 8.957 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005598/1.53, allocations: 0.8864 MB / 1.369 GB, free: 8.086 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02569/1.556, allocations: 10.05 MB / 1.379 GB, free: 13.95 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005891/1.562, allocations: 3.788 MB / 1.383 GB, free: 10.13 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008755/1.563, allocations: 167.4 kB / 1.383 GB, free: 9.969 MB / 1.123 GB Notification: Performance of SimCode: time 2.875e-06/1.563, allocations: 0 / 1.383 GB, free: 9.969 MB / 1.123 GB Notification: Performance of Templates: time 0.2087/1.772, allocations: 172.1 MB / 1.551 GB, free: 13.95 MB / 1.295 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches