Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.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.Loads.Examples.Loads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.|senSingleConn.S.1|1.|senSingleConn.S.1|2.|senSingleConn.S.2|1.|senSingleConn.S.2|2.|senSingleConn.S.3|1.|senSingleConn.S.3|2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.S.1|1.|sen.S.1|2.|sen.S.2|1.|sen.S.2|2.|sen.S.3|1.|sen.S.3|2.|senSingleConn.S.1|1.|senSingleConn.S.1|2.|senSingleConn.S.2|1.|senSingleConn.S.2|2.|senSingleConn.S.3|1.|senSingleConn.S.3|2.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads") 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: 105.9 kB / 16.41 MB, free: 6.457 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.001577/0.001577, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.09 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.259/2.259, allocations: 390.3 MB / 0.6655 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 59.89 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7566/0.758, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04542/0.8035, allocations: 37.26 MB / 1.125 GB, free: 12.62 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02476/0.8283, allocations: 13.71 MB / 1.138 GB, free: 3.332 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005249/0.8336, allocations: 118.6 kB / 1.138 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.006545/0.8402, allocations: 2.282 MB / 1.141 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.004902/0.8451, allocations: 1.437 MB / 1.142 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00971/0.8549, allocations: 3.514 MB / 1.146 GB, free: 15.12 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.009912/0.8648, allocations: 6.384 MB / 1.152 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01663/0.8815, allocations: 9.874 MB / 1.161 GB, free: 8.457 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006152/0.8877, allocations: 2.761 MB / 1.164 GB, free: 7.184 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007006/0.8947, allocations: 3.206 MB / 1.167 GB, free: 5.789 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.002657/0.8974, allocations: 0.6203 MB / 1.168 GB, free: 5.789 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00482/0.9023, allocations: 1.263 MB / 1.169 GB, free: 5.438 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.00531/0.9076, allocations: 2.473 MB / 1.172 GB, free: 3.875 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.006877/0.9145, allocations: 2.551 MB / 1.174 GB, free: 2.051 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01343/0.928, allocations: 9.166 MB / 1.183 GB, free: 11.36 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 9.317e-06/0.928, allocations: 3.984 kB / 1.183 GB, free: 11.36 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.885e-06/0.9281, allocations: 1.062 kB / 1.183 GB, free: 11.36 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0003106/0.9284, allocations: 0 / 1.183 GB, free: 11.36 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: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.01385/0.9422, allocations: 4.309 MB / 1.187 GB, free: 8.465 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.9423, allocations: 13.66 kB / 1.187 GB, free: 8.461 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006658/0.949, allocations: 1.038 MB / 1.188 GB, free: 7.938 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005645/0.9547, allocations: 2.223 MB / 1.19 GB, free: 5.68 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003586/0.955, allocations: 325 kB / 1.191 GB, free: 5.359 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002024/0.9571, allocations: 432.3 kB / 1.191 GB, free: 4.938 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01996/0.9771, allocations: 7.405 MB / 1.198 GB, free: 13.3 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002215/0.9773, allocations: 11.84 kB / 1.198 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001988/0.9793, allocations: 180 kB / 1.199 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004131/0.9798, allocations: 294.9 kB / 1.199 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01404/0.9938, allocations: 6.022 MB / 1.205 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04378/1.038, allocations: 32.45 MB / 1.236 GB, free: 3.492 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003702/1.041, allocations: 2.146 MB / 1.238 GB, free: 1.305 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001777/1.043, allocations: 1.244 MB / 1.24 GB, free: 52 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002101/1.043, allocations: 106.1 kB / 1.24 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/1.043, allocations: 47.55 kB / 1.24 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=98): time 3.236e-06/1.043, allocations: 0 / 1.24 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of matching and sorting (n=101): time 0.00991/1.053, allocations: 5.27 MB / 1.245 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.805e-05/1.054, allocations: 145.5 kB / 1.245 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002435/1.056, allocations: 1.472 MB / 1.247 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002797/1.056, allocations: 49.7 kB / 1.247 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001293/1.058, allocations: 1.855 MB / 1.248 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005181/1.058, allocations: 382.8 kB / 1.249 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009671/1.059, allocations: 463 kB / 1.249 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.059, allocations: 301.1 kB / 1.249 GB, free: 5.828 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002017/1.061, allocations: 1.153 MB / 1.251 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002966/1.064, allocations: 2.211 MB / 1.253 GB, free: 1.93 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005154/1.069, allocations: 3.431 MB / 1.256 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.232e-05/1.069, allocations: 12 kB / 1.256 GB, free: 14.01 MB / 0.9981 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006499/1.076, allocations: 3.366 MB / 1.259 GB, free: 10.63 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.571e-05/1.076, allocations: 20 kB / 1.259 GB, free: 10.61 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-05/1.076, allocations: 36 kB / 1.259 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.1e-05/1.076, allocations: 44 kB / 1.26 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002433/1.079, allocations: 0.636 MB / 1.26 GB, free: 9.898 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.728e-05/1.079, allocations: 75.72 kB / 1.26 GB, free: 9.824 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002459/1.081, allocations: 326.7 kB / 1.261 GB, free: 9.504 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003206/1.082, allocations: 116 kB / 1.261 GB, free: 9.391 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004405/1.086, allocations: 2.434 MB / 1.263 GB, free: 6.949 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002412/1.088, allocations: 2.039 MB / 1.265 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003731/1.092, allocations: 3.068 MB / 1.268 GB, free: 0.8164 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.529e-05/1.092, allocations: 12 kB / 1.268 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.005475/1.098, allocations: 2.984 MB / 1.271 GB, free: 13.81 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3.655e-05/1.098, allocations: 20 kB / 1.271 GB, free: 13.79 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.263e-05/1.098, allocations: 36 kB / 1.271 GB, free: 13.75 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.009e-05/1.098, allocations: 48 kB / 1.271 GB, free: 13.71 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0021/1.1, allocations: 0.5658 MB / 1.272 GB, free: 13.14 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-05/1.1, allocations: 79.66 kB / 1.272 GB, free: 13.06 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002281/1.102, allocations: 259 kB / 1.272 GB, free: 12.81 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002912/1.103, allocations: 116 kB / 1.272 GB, free: 12.7 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 154 * 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 (264): * Single equations (assignments): 264 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006988/1.103, allocations: 335.3 kB / 1.272 GB, free: 12.36 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005229/1.104, allocations: 158.1 kB / 1.272 GB, free: 12.2 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003668/1.108, allocations: 2.246 MB / 1.275 GB, free: 9.945 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.569e-05/1.108, allocations: 15.94 kB / 1.275 GB, free: 9.93 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.948e-06/1.108, allocations: 4 kB / 1.275 GB, free: 9.926 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.283e-05/1.108, allocations: 7.984 kB / 1.275 GB, free: 9.918 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01699/1.125, allocations: 10.99 MB / 1.285 GB, free: 14.68 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.779e-05/1.125, allocations: 8 kB / 1.285 GB, free: 14.67 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/1.126, allocations: 395.4 kB / 1.286 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.533e-05/1.126, allocations: 16 kB / 1.286 GB, free: 14.27 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001629/1.127, allocations: 32 kB / 1.286 GB, free: 14.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.142e-05/1.127, allocations: 19.94 kB / 1.286 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.395e-05/1.127, allocations: 19.92 kB / 1.286 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003501/1.13, allocations: 2.759 MB / 1.289 GB, free: 11.27 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009928/1.131, allocations: 454.8 kB / 1.289 GB, free: 10.81 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004189/1.132, allocations: 35.89 kB / 1.289 GB, free: 10.77 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001526/1.133, allocations: 175.7 kB / 1.289 GB, free: 10.6 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002355/1.133, allocations: 96.22 kB / 1.289 GB, free: 10.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.821e-05/1.133, allocations: 47.94 kB / 1.289 GB, free: 10.46 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001852/1.135, allocations: 1.005 MB / 1.29 GB, free: 9.457 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.41e-07/1.135, allocations: 0 / 1.29 GB, free: 9.457 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.005868/1.141, allocations: 1.133 MB / 1.291 GB, free: 8.324 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (104): * Single equations (assignments): 104 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004596/1.142, allocations: 146.9 kB / 1.292 GB, free: 8.172 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.007195/1.149, allocations: 4.075 MB / 1.296 GB, free: 4.109 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.997e-05/1.149, allocations: 0 / 1.296 GB, free: 4.109 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001639/1.151, allocations: 1.059 MB / 1.297 GB, free: 3.051 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003211/1.154, allocations: 449.7 kB / 1.297 GB, free: 2.637 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01629/1.17, allocations: 7.637 MB / 1.305 GB, free: 10.81 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004859/1.175, allocations: 2.946 MB / 1.307 GB, free: 7.836 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008898/1.176, allocations: 139.4 kB / 1.308 GB, free: 7.699 MB / 1.045 GB Notification: Performance of SimCode: time 1.022e-06/1.176, allocations: 4 kB / 1.308 GB, free: 7.695 MB / 1.045 GB Notification: Performance of Templates: time 0.0639/1.24, allocations: 41.38 MB / 1.348 GB, free: 14.43 MB / 1.092 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches