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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001096/0.001096, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 186.5 kB / 16.92 MB, free: 6.77 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.431/1.431, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.441/2.441, allocations: 390.9 MB / 0.667 GB, free: 2.406 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003848/0.0003849, allocations: 12 kB / 0.8166 GB, free: 13.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.717/0.7174, allocations: 142.4 MB / 0.9557 GB, free: 7.922 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.03963/0.757, allocations: 36.03 MB / 0.9909 GB, free: 11.28 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.0254/0.7825, allocations: 13.63 MB / 1.004 GB, free: 13.61 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005571/0.7881, allocations: 95.62 kB / 1.004 GB, free: 13.51 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.002444/0.7906, allocations: 0.5934 MB / 1.005 GB, free: 12.91 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.004888/0.7955, allocations: 1.358 MB / 1.006 GB, free: 11.55 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.006032/0.8016, allocations: 1.931 MB / 1.008 GB, free: 9.621 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01052/0.8121, allocations: 9.573 MB / 1.017 GB, free: 28 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01827/0.8304, allocations: 11.93 MB / 1.029 GB, free: 3.984 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004622/0.8351, allocations: 1.825 MB / 1.031 GB, free: 2.152 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005404/0.8405, allocations: 2.714 MB / 1.034 GB, free: 15.43 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0008061/0.8413, allocations: 252 kB / 1.034 GB, free: 15.18 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002459/0.8438, allocations: 1.084 MB / 1.035 GB, free: 14.1 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002115/0.8459, allocations: 1.996 MB / 1.037 GB, free: 12.1 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.002864/0.8488, allocations: 2.023 MB / 1.039 GB, free: 10.06 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.009327/0.8582, allocations: 7.685 MB / 1.046 GB, free: 2.355 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 9.799e-06/0.8582, allocations: 0 / 1.046 GB, free: 2.355 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.955e-06/0.8582, allocations: 3.938 kB / 1.046 GB, free: 2.352 MB / 0.795 GB Notification: Performance of Transformations before backend: time 0.0002734/0.8585, allocations: 4 kB / 1.046 GB, free: 2.348 MB / 0.795 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.009694/0.8682, allocations: 3.414 MB / 1.05 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.8683, allocations: 8.031 kB / 1.05 GB, free: 14.86 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005827/0.8741, allocations: 1.034 MB / 1.051 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004932/0.8791, allocations: 2.191 MB / 1.053 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003449/0.8794, allocations: 329 kB / 1.053 GB, free: 11.26 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001525/0.881, allocations: 424.3 kB / 1.053 GB, free: 10.85 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01744/0.8984, allocations: 7.408 MB / 1.061 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001341/0.8986, allocations: 11.94 kB / 1.061 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007173/0.8993, allocations: 180 kB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000349/0.8997, allocations: 290.9 kB / 1.061 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.014/0.9137, allocations: 6.026 MB / 1.067 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04908/0.9628, allocations: 32.73 MB / 1.099 GB, free: 9.121 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004099/0.967, allocations: 2.15 MB / 1.101 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002002/0.969, allocations: 1.257 MB / 1.102 GB, free: 5.668 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002305/0.9693, allocations: 98.09 kB / 1.102 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.873e-05/0.9693, allocations: 51.48 kB / 1.102 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=98): time 5.09e-06/0.9694, allocations: 0 / 1.102 GB, free: 5.496 MB / 0.8575 GB Notification: Performance of matching and sorting (n=101): time 0.01129/0.9807, allocations: 5.278 MB / 1.108 GB, free: 172 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001222/0.9808, allocations: 145.5 kB / 1.108 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00278/0.9836, allocations: 1.476 MB / 1.109 GB, free: 14.51 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.000288/0.9839, allocations: 41.7 kB / 1.109 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.001478/0.9854, allocations: 1.859 MB / 1.111 GB, free: 12.57 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006336/0.9861, allocations: 378.8 kB / 1.111 GB, free: 12.2 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004574/0.9866, allocations: 169.8 kB / 1.112 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001175/0.9867, allocations: 305.1 kB / 1.112 GB, free: 11.73 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002318/0.989, allocations: 1.14 MB / 1.113 GB, free: 10.58 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003367/0.9924, allocations: 2.215 MB / 1.115 GB, free: 7.844 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00554/0.998, allocations: 3.438 MB / 1.119 GB, free: 3.93 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.03e-05/0.9981, allocations: 8 kB / 1.119 GB, free: 3.922 MB / 0.8731 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007647/1.006, allocations: 3.379 MB / 1.122 GB, free: 0.5352 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.001133/1.007, allocations: 1.082 MB / 1.123 GB, free: 14.98 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-05/1.007, allocations: 43.98 kB / 1.123 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.381e-05/1.007, allocations: 48 kB / 1.123 GB, free: 14.89 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00257/1.01, allocations: 0.6278 MB / 1.124 GB, free: 14.26 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.381e-05/1.01, allocations: 71.72 kB / 1.124 GB, free: 14.19 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002629/1.012, allocations: 326.7 kB / 1.124 GB, free: 13.87 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003977/1.013, allocations: 120 kB / 1.124 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/1.013, allocations: 0 / 1.124 GB, free: 13.75 MB / 0.8887 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005555/1.018, allocations: 2.812 MB / 1.127 GB, free: 10.94 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.803e-05/1.019, allocations: 32 kB / 1.127 GB, free: 10.91 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.838e-05/1.019, allocations: 48 kB / 1.127 GB, free: 10.86 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002147/1.021, allocations: 0.5581 MB / 1.127 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.294e-05/1.021, allocations: 79.66 kB / 1.128 GB, free: 10.23 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00199/1.023, allocations: 239 kB / 1.128 GB, free: 9.992 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003025/1.023, allocations: 115.9 kB / 1.128 GB, free: 9.879 MB / 0.8887 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.00355/1.027, allocations: 1.71 MB / 1.13 GB, free: 8.156 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005848/1.027, allocations: 154.1 kB / 1.13 GB, free: 8.004 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004264/1.032, allocations: 2.246 MB / 1.132 GB, free: 5.738 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/1.032, allocations: 8 kB / 1.132 GB, free: 5.73 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/1.032, allocations: 4 kB / 1.132 GB, free: 5.727 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-05/1.032, allocations: 7.922 kB / 1.132 GB, free: 5.719 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01811/1.05, allocations: 11 MB / 1.143 GB, free: 10.46 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-05/1.05, allocations: 12 kB / 1.143 GB, free: 10.45 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001594/1.052, allocations: 391.3 kB / 1.143 GB, free: 10.07 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.833e-05/1.052, allocations: 16 kB / 1.143 GB, free: 10.05 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001397/1.052, allocations: 31.94 kB / 1.143 GB, free: 10.02 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.087e-05/1.052, allocations: 23.88 kB / 1.143 GB, free: 10 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.424e-05/1.052, allocations: 15.94 kB / 1.143 GB, free: 9.984 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003895/1.056, allocations: 2.767 MB / 1.146 GB, free: 7.055 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/1.057, allocations: 474.7 kB / 1.146 GB, free: 6.57 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004461/1.057, allocations: 35.98 kB / 1.146 GB, free: 6.535 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/1.059, allocations: 179.7 kB / 1.146 GB, free: 6.359 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002758/1.059, allocations: 96.22 kB / 1.147 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/1.059, allocations: 40 kB / 1.147 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.002079/1.061, allocations: 1.005 MB / 1.148 GB, free: 5.219 MB / 0.9044 GB Notification: Performance of sort global known variables: time 2.91e-07/1.061, allocations: 0 / 1.148 GB, free: 5.219 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.004975/1.066, allocations: 1.133 MB / 1.149 GB, free: 4.086 MB / 0.9044 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.0004205/1.067, allocations: 146.9 kB / 1.149 GB, free: 3.93 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.007619/1.074, allocations: 4.047 MB / 1.153 GB, free: 15.9 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.84e-05/1.075, allocations: 8.188 kB / 1.153 GB, free: 15.89 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.001785/1.076, allocations: 1.052 MB / 1.154 GB, free: 14.84 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005403/1.082, allocations: 425.5 kB / 1.154 GB, free: 14.44 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01781/1.1, allocations: 9.454 MB / 1.163 GB, free: 4.793 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005129/1.105, allocations: 2.95 MB / 1.166 GB, free: 1.812 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008916/1.106, allocations: 139.4 kB / 1.166 GB, free: 1.676 MB / 0.92 GB Notification: Performance of SimCode: time 1.373e-06/1.106, allocations: 0 / 1.166 GB, free: 1.676 MB / 0.92 GB Notification: Performance of Templates: time 0.06701/1.173, allocations: 40.7 MB / 1.206 GB, free: 9.105 MB / 0.9669 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