Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.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_latest_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_latest_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.001778/0.001786, allocations: 107.3 kB / 16.41 MB, free: 6.406 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.00177/0.00177, allocations: 188.9 kB / 17.34 MB, free: 5.695 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.429/1.429, 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 11.0.1-master/package.mo): time 2.718/2.718, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001494/0.001494, allocations: 71.83 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9853/0.9868, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.04494/1.032, allocations: 37.28 MB / 1.245 GB, free: 8.254 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.02631/1.058, allocations: 13.7 MB / 1.258 GB, free: 10.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00529/1.063, allocations: 115.6 kB / 1.258 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.007133/1.071, allocations: 2.274 MB / 1.261 GB, free: 8.121 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.005403/1.076, allocations: 1.431 MB / 1.262 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.01052/1.087, allocations: 3.528 MB / 1.265 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.009731/1.096, allocations: 6.391 MB / 1.272 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01624/1.113, allocations: 9.882 MB / 1.281 GB, free: 2.742 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005767/1.118, allocations: 2.762 MB / 1.284 GB, free: 15.97 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006777/1.125, allocations: 3.202 MB / 1.287 GB, free: 12.76 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002581/1.128, allocations: 0.6172 MB / 1.288 GB, free: 12.14 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004501/1.132, allocations: 1.256 MB / 1.289 GB, free: 10.89 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.005256/1.138, allocations: 2.476 MB / 1.291 GB, free: 8.406 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.007052/1.145, allocations: 2.557 MB / 1.294 GB, free: 5.84 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01382/1.159, allocations: 9.16 MB / 1.303 GB, free: 12.66 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/1.159, allocations: 0 / 1.303 GB, free: 12.66 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.064e-06/1.159, allocations: 0 / 1.303 GB, free: 12.66 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0003687/1.159, allocations: 0 / 1.303 GB, free: 12.66 MB / 1.029 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.01491/1.174, allocations: 4.303 MB / 1.307 GB, free: 8.285 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.467e-05/1.174, allocations: 12.03 kB / 1.307 GB, free: 8.273 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006521/1.181, allocations: 1.034 MB / 1.308 GB, free: 7.234 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005577/1.186, allocations: 2.23 MB / 1.31 GB, free: 4.961 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003705/1.187, allocations: 329 kB / 1.31 GB, free: 4.637 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002019/1.189, allocations: 428.2 kB / 1.311 GB, free: 4.219 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01921/1.208, allocations: 7.408 MB / 1.318 GB, free: 12.57 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000207/1.208, allocations: 11.88 kB / 1.318 GB, free: 12.55 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001589/1.21, allocations: 184 kB / 1.318 GB, free: 12.38 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004278/1.21, allocations: 294.9 kB / 1.319 GB, free: 12.09 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01455/1.225, allocations: 6.022 MB / 1.324 GB, free: 6.062 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05034/1.275, allocations: 32.45 MB / 1.356 GB, free: 2.77 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004193/1.279, allocations: 2.146 MB / 1.358 GB, free: 0.5898 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00196/1.281, allocations: 1.244 MB / 1.359 GB, free: 15.34 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000217/1.282, allocations: 110.1 kB / 1.36 GB, free: 15.21 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.805e-05/1.282, allocations: 47.56 kB / 1.36 GB, free: 15.16 MB / 1.092 GB Notification: Performance of pre-optimization done (n=98): time 3.226e-06/1.282, allocations: 0 / 1.36 GB, free: 15.16 MB / 1.092 GB Notification: Performance of matching and sorting (n=101): time 0.01077/1.292, allocations: 5.27 MB / 1.365 GB, free: 9.836 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001006/1.293, allocations: 149.4 kB / 1.365 GB, free: 9.66 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002638/1.295, allocations: 1.472 MB / 1.366 GB, free: 8.176 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 0.0001949/1.295, allocations: 41.7 kB / 1.366 GB, free: 8.129 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.001445/1.297, allocations: 1.863 MB / 1.368 GB, free: 6.238 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005222/1.297, allocations: 378.8 kB / 1.369 GB, free: 5.863 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009036/1.298, allocations: 463 kB / 1.369 GB, free: 5.402 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0001225/1.298, allocations: 301.1 kB / 1.369 GB, free: 5.105 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001864/1.3, allocations: 1.153 MB / 1.37 GB, free: 3.941 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002764/1.303, allocations: 2.211 MB / 1.373 GB, free: 1.211 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00442/1.308, allocations: 3.431 MB / 1.376 GB, free: 13.3 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.776e-05/1.308, allocations: 8 kB / 1.376 GB, free: 13.3 MB / 1.107 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005758/1.313, allocations: 3.374 MB / 1.379 GB, free: 9.914 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.965e-05/1.313, allocations: 20 kB / 1.379 GB, free: 9.895 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.063e-05/1.313, allocations: 32 kB / 1.379 GB, free: 9.863 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.853e-05/1.314, allocations: 48 kB / 1.379 GB, free: 9.816 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002338/1.316, allocations: 0.6361 MB / 1.38 GB, free: 9.18 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.935e-05/1.316, allocations: 71.66 kB / 1.38 GB, free: 9.109 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002214/1.318, allocations: 326.7 kB / 1.38 GB, free: 8.789 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000171/1.318, allocations: 116 kB / 1.38 GB, free: 8.676 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004136/1.322, allocations: 2.436 MB / 1.383 GB, free: 6.23 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00241/1.325, allocations: 2.039 MB / 1.385 GB, free: 3.652 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003895/1.329, allocations: 3.068 MB / 1.388 GB, free: 100 kB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.744e-05/1.329, allocations: 12 kB / 1.388 GB, free: 88 kB / 1.107 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.004901/1.334, allocations: 2.976 MB / 1.391 GB, free: 13.1 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.992e-05/1.334, allocations: 20 kB / 1.391 GB, free: 13.08 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.303e-05/1.334, allocations: 36 kB / 1.391 GB, free: 13.04 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.757e-05/1.334, allocations: 48 kB / 1.391 GB, free: 13 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001865/1.336, allocations: 0.5697 MB / 1.391 GB, free: 12.43 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.666e-05/1.336, allocations: 71.72 kB / 1.391 GB, free: 12.36 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002017/1.338, allocations: 263 kB / 1.392 GB, free: 12.1 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/1.338, allocations: 116 kB / 1.392 GB, free: 11.98 MB / 1.123 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.0005977/1.339, allocations: 335.3 kB / 1.392 GB, free: 11.65 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003216/1.339, allocations: 154.1 kB / 1.392 GB, free: 11.5 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003531/1.342, allocations: 2.25 MB / 1.394 GB, free: 9.234 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.364e-05/1.343, allocations: 19.94 kB / 1.395 GB, free: 9.215 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/1.343, allocations: 0 / 1.395 GB, free: 9.215 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/1.343, allocations: 3.984 kB / 1.395 GB, free: 9.211 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01563/1.358, allocations: 10.99 MB / 1.405 GB, free: 13.96 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.387e-05/1.358, allocations: 12.19 kB / 1.405 GB, free: 13.95 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001572/1.36, allocations: 391.3 kB / 1.406 GB, free: 13.56 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-05/1.36, allocations: 16 kB / 1.406 GB, free: 13.55 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001203/1.36, allocations: 32 kB / 1.406 GB, free: 13.52 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.098e-05/1.36, allocations: 23.92 kB / 1.406 GB, free: 13.49 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.238e-05/1.36, allocations: 19.88 kB / 1.406 GB, free: 13.47 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003602/1.364, allocations: 2.755 MB / 1.408 GB, free: 10.55 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000943/1.365, allocations: 454.8 kB / 1.409 GB, free: 10.09 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000427/1.365, allocations: 39.89 kB / 1.409 GB, free: 10.05 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00144/1.367, allocations: 175.7 kB / 1.409 GB, free: 9.879 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000231/1.367, allocations: 104.2 kB / 1.409 GB, free: 9.777 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.912e-05/1.367, allocations: 39.83 kB / 1.409 GB, free: 9.742 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.001996/1.369, allocations: 1.009 MB / 1.41 GB, free: 8.734 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.3e-07/1.369, allocations: 0 / 1.41 GB, free: 8.734 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.005538/1.374, allocations: 1.137 MB / 1.411 GB, free: 7.598 MB / 1.139 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.0005185/1.375, allocations: 150.9 kB / 1.411 GB, free: 7.441 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.007016/1.382, allocations: 4.067 MB / 1.415 GB, free: 3.395 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/1.382, allocations: 0 / 1.415 GB, free: 3.395 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001554/1.384, allocations: 1.055 MB / 1.416 GB, free: 2.34 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002942/1.387, allocations: 446.4 kB / 1.417 GB, free: 1.93 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01607/1.403, allocations: 7.64 MB / 1.424 GB, free: 10.09 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004943/1.408, allocations: 2.95 MB / 1.427 GB, free: 7.109 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009031/1.409, allocations: 143.4 kB / 1.427 GB, free: 6.969 MB / 1.154 GB Notification: Performance of SimCode: time 1.753e-06/1.409, allocations: 0 / 1.427 GB, free: 6.969 MB / 1.154 GB Notification: Performance of Templates: time 0.06817/1.477, allocations: 41.38 MB / 1.468 GB, free: 13.71 MB / 1.201 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches