Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_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.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009322/0.009322, allocations: 103 kB / 15.73 MB, free: 6.035 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.001785/0.001785, allocations: 190 kB / 16.67 MB, free: 5.965 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.493/1.493, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.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.618/2.618, allocations: 390.2 MB / 0.6648 GB, free: 200 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001188, allocations: 69.73 kB / 0.9508 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.2998, allocations: 140.4 MB / 1.088 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02379/0.3236, allocations: 20.44 MB / 1.108 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01341/0.3371, allocations: 7.698 MB / 1.115 GB, free: 5.297 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002478/0.3396, allocations: 59.81 kB / 1.115 GB, free: 5.238 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00391/0.3435, allocations: 1.339 MB / 1.117 GB, free: 3.895 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003613/0.3472, allocations: 1.007 MB / 1.118 GB, free: 2.883 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.005405/0.3526, allocations: 2.004 MB / 1.12 GB, free: 0.8789 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005711/0.3583, allocations: 4.324 MB / 1.124 GB, free: 12.54 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009287/0.3676, allocations: 6.16 MB / 1.13 GB, free: 6.324 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003298/0.371, allocations: 1.862 MB / 1.132 GB, free: 4.457 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003911/0.3749, allocations: 2.205 MB / 1.134 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.001281/0.3762, allocations: 428 kB / 1.134 GB, free: 1.828 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002423/0.3786, allocations: 0.9441 MB / 1.135 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.002028/0.3807, allocations: 1.649 MB / 1.137 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.002086/0.3828, allocations: 1.712 MB / 1.139 GB, free: 13.51 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.006023/0.3888, allocations: 6.186 MB / 1.145 GB, free: 7.309 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.3888, allocations: 4 kB / 1.145 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.943e-06/0.3888, allocations: 0 / 1.145 GB, free: 7.305 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 0.0001335/0.389, allocations: 4 kB / 1.145 GB, free: 7.301 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.005947/0.3949, allocations: 3.044 MB / 1.148 GB, free: 4.195 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.395, allocations: 8.031 kB / 1.148 GB, free: 4.188 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003556/0.3986, allocations: 0.7507 MB / 1.148 GB, free: 3.434 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002922/0.4015, allocations: 1.579 MB / 1.15 GB, free: 1.812 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001566/0.4017, allocations: 214.2 kB / 1.15 GB, free: 1.602 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005468/0.4022, allocations: 284.4 kB / 1.15 GB, free: 1.324 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008962/0.4112, allocations: 5.09 MB / 1.155 GB, free: 12.05 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.032e-05/0.4113, allocations: 7.938 kB / 1.155 GB, free: 12.04 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003274/0.4117, allocations: 120 kB / 1.155 GB, free: 11.92 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002598/0.4119, allocations: 208.6 kB / 1.156 GB, free: 11.71 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007725/0.4197, allocations: 4.223 MB / 1.16 GB, free: 7.473 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02664/0.4463, allocations: 22.93 MB / 1.182 GB, free: 14.41 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00284/0.4492, allocations: 1.727 MB / 1.184 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001588/0.4508, allocations: 1.149 MB / 1.185 GB, free: 11.48 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001574/0.451, allocations: 101.7 kB / 1.185 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.626e-05/0.451, allocations: 55.16 kB / 1.185 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=84): time 2.524e-06/0.4511, allocations: 3.938 kB / 1.185 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of matching and sorting (n=87): time 0.006178/0.4572, allocations: 4.009 MB / 1.189 GB, free: 7.254 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.956e-05/0.4574, allocations: 149.2 kB / 1.189 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001303/0.4587, allocations: 0.8681 MB / 1.19 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.95e-05/0.4588, allocations: 41.7 kB / 1.19 GB, free: 6.152 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009329/0.4597, allocations: 1.158 MB / 1.191 GB, free: 4.977 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003373/0.4601, allocations: 307.7 kB / 1.191 GB, free: 4.672 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004687/0.4605, allocations: 274.6 kB / 1.192 GB, free: 4.398 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002451/0.4608, allocations: 414.7 kB / 1.192 GB, free: 3.984 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/0.4622, allocations: 0.8218 MB / 1.193 GB, free: 3.156 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001765/0.464, allocations: 1.31 MB / 1.194 GB, free: 1.625 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00287/0.4668, allocations: 2.163 MB / 1.196 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.125e-06/0.4669, allocations: 4 kB / 1.196 GB, free: 15.26 MB / 0.9669 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003528/0.4704, allocations: 2.218 MB / 1.198 GB, free: 13.04 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.509e-05/0.4705, allocations: 12 kB / 1.198 GB, free: 13.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.353e-05/0.4705, allocations: 16 kB / 1.198 GB, free: 13.01 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.452e-05/0.4705, allocations: 20 kB / 1.199 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/0.4722, allocations: 407.3 kB / 1.199 GB, free: 12.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-05/0.4722, allocations: 32.17 kB / 1.199 GB, free: 12.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.4736, allocations: 215.3 kB / 1.199 GB, free: 12.35 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/0.4737, allocations: 67.97 kB / 1.199 GB, free: 12.29 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002664/0.4764, allocations: 1.681 MB / 1.201 GB, free: 10.6 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001423/0.4778, allocations: 1.19 MB / 1.202 GB, free: 9.168 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002629/0.4805, allocations: 1.898 MB / 1.204 GB, free: 7.066 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.878e-06/0.4805, allocations: 7.938 kB / 1.204 GB, free: 7.059 MB / 0.9669 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003464/0.484, allocations: 1.921 MB / 1.206 GB, free: 5.125 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.484, allocations: 12 kB / 1.206 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.484, allocations: 20.83 kB / 1.206 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.62e-05/0.4841, allocations: 24 kB / 1.206 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/0.4854, allocations: 363.4 kB / 1.206 GB, free: 4.715 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.774e-05/0.4854, allocations: 31.86 kB / 1.206 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.4867, allocations: 183.3 kB / 1.206 GB, free: 4.504 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/0.4868, allocations: 59.98 kB / 1.206 GB, free: 4.445 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * 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.0005271/0.4874, allocations: 263.8 kB / 1.207 GB, free: 4.18 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003089/0.4877, allocations: 102.7 kB / 1.207 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003114/0.4908, allocations: 1.85 MB / 1.209 GB, free: 2.215 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.366e-05/0.4908, allocations: 11.94 kB / 1.209 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/0.4909, allocations: 8.188 kB / 1.209 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.364e-05/0.4909, allocations: 3.984 kB / 1.209 GB, free: 2.191 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01374/0.5046, allocations: 9.592 MB / 1.218 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.552e-05/0.5047, allocations: 8 kB / 1.218 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001256/0.506, allocations: 312.1 kB / 1.218 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.363e-05/0.506, allocations: 19.98 kB / 1.218 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.697e-05/0.5061, allocations: 36 kB / 1.218 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.08e-05/0.5061, allocations: 19.88 kB / 1.218 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.278e-05/0.5061, allocations: 19.94 kB / 1.218 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003165/0.5093, allocations: 2.402 MB / 1.221 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006851/0.51, allocations: 375.6 kB / 1.221 GB, free: 4.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001827/0.5102, allocations: 35.98 kB / 1.221 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001026/0.5112, allocations: 147.7 kB / 1.221 GB, free: 4.801 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002053/0.5114, allocations: 87.67 kB / 1.221 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.04e-05/0.5115, allocations: 36 kB / 1.221 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0009388/0.5125, allocations: 0.6161 MB / 1.222 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.783e-06/0.5125, allocations: 0 / 1.222 GB, free: 4.07 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002705/0.5152, allocations: 0.7538 MB / 1.223 GB, free: 3.316 MB / 0.9825 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 (90): * Single equations (assignments): 90 * 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.0002895/0.5155, allocations: 146.9 kB / 1.223 GB, free: 3.164 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.004546/0.52, allocations: 2.905 MB / 1.226 GB, free: 276 kB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.319e-05/0.5201, allocations: 4 kB / 1.226 GB, free: 272 kB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001342/0.5214, allocations: 0.9115 MB / 1.227 GB, free: 15.36 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/0.5233, allocations: 307.2 kB / 1.227 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00848/0.5318, allocations: 4.984 MB / 1.232 GB, free: 9.91 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001955/0.5338, allocations: 2.127 MB / 1.234 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00193/0.5358, allocations: 0.7462 MB / 1.235 GB, free: 6.996 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003962/0.5362, allocations: 91.41 kB / 1.235 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of SimCode: time 2.505e-06/0.5362, allocations: 0 / 1.235 GB, free: 6.906 MB / 0.9981 GB Notification: Performance of Templates: time 0.03159/0.5678, allocations: 18.38 MB / 1.253 GB, free: 4.684 MB / 1.014 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches