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.001272/0.001272, allocations: 105.1 kB / 16.41 MB, free: 6.41 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.001172/0.001172, allocations: 189.7 kB / 17.35 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.335/1.335, allocations: 222.9 MB / 241 MB, free: 15.15 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.301/2.301, allocations: 390.3 MB / 0.6655 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001446/0.001446, allocations: 63.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8062/0.8076, allocations: 140.4 MB / 1.089 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02661/0.8343, allocations: 20.44 MB / 1.109 GB, free: 8.133 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.01777/0.8521, allocations: 7.699 MB / 1.116 GB, free: 2.91 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003084/0.8553, allocations: 60.28 kB / 1.116 GB, free: 2.898 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.004406/0.8598, allocations: 1.35 MB / 1.117 GB, free: 2.086 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.003811/0.8636, allocations: 1.013 MB / 1.118 GB, free: 1.504 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.006476/0.8701, allocations: 1.999 MB / 1.12 GB, free: 412 kB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.006313/0.8764, allocations: 4.338 MB / 1.125 GB, free: 14.52 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01059/0.8871, allocations: 6.155 MB / 1.131 GB, free: 12.1 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004268/0.8914, allocations: 1.871 MB / 1.132 GB, free: 11.24 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005083/0.8965, allocations: 2.195 MB / 1.135 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 0.002062/0.8986, allocations: 427.7 kB / 1.135 GB, free: 10.3 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00405/0.9027, allocations: 0.9441 MB / 1.136 GB, free: 10.1 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 0.003647/0.9063, allocations: 1.661 MB / 1.138 GB, free: 9.418 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.005313/0.9117, allocations: 1.712 MB / 1.139 GB, free: 8.297 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0114/0.9231, allocations: 6.186 MB / 1.145 GB, free: 6.379 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.9231, allocations: 2.438 kB / 1.145 GB, free: 6.379 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.924e-06/0.9231, allocations: 0 / 1.145 GB, free: 6.379 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 0.0002037/0.9234, allocations: 3.938 kB / 1.145 GB, free: 6.375 MB / 0.8887 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.01235/0.9357, allocations: 3.047 MB / 1.148 GB, free: 4.629 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.9358, allocations: 9.781 kB / 1.148 GB, free: 4.629 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005257/0.941, allocations: 0.7507 MB / 1.149 GB, free: 4.25 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004651/0.9457, allocations: 1.571 MB / 1.151 GB, free: 3.223 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003584/0.9461, allocations: 219.2 kB / 1.151 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002013/0.9481, allocations: 286.2 kB / 1.151 GB, free: 3.027 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01848/0.9666, allocations: 5.086 MB / 1.156 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002735/0.967, allocations: 7.938 kB / 1.156 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001747/0.9687, allocations: 119.7 kB / 1.156 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004038/0.9691, allocations: 206.8 kB / 1.156 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01092/0.9801, allocations: 4.23 MB / 1.16 GB, free: 13.62 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03507/1.015, allocations: 22.92 MB / 1.183 GB, free: 8.641 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003561/1.019, allocations: 1.737 MB / 1.185 GB, free: 7.68 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002062/1.021, allocations: 1.14 MB / 1.186 GB, free: 7.07 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002211/1.021, allocations: 115.6 kB / 1.186 GB, free: 6.953 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.886e-05/1.021, allocations: 43.59 kB / 1.186 GB, free: 6.906 MB / 0.92 GB Notification: Performance of pre-optimization done (n=84): time 3.166e-06/1.021, allocations: 0 / 1.186 GB, free: 6.906 MB / 0.92 GB Notification: Performance of matching and sorting (n=87): time 0.009322/1.031, allocations: 4.012 MB / 1.19 GB, free: 4.246 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/1.031, allocations: 141.2 kB / 1.19 GB, free: 4.078 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001671/1.032, allocations: 0.8643 MB / 1.191 GB, free: 3.203 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002294/1.033, allocations: 45.7 kB / 1.191 GB, free: 3.152 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.000837/1.033, allocations: 1.166 MB / 1.192 GB, free: 1.969 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004287/1.034, allocations: 307.6 kB / 1.192 GB, free: 1.664 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005811/1.035, allocations: 274.6 kB / 1.192 GB, free: 1.391 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002189/1.035, allocations: 406.7 kB / 1.193 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001407/1.036, allocations: 0.8257 MB / 1.194 GB, free: 156 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001772/1.038, allocations: 1.307 MB / 1.195 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003048/1.041, allocations: 2.167 MB / 1.197 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-05/1.041, allocations: 4 kB / 1.197 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004149/1.045, allocations: 2.218 MB / 1.199 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 3.297e-05/1.045, allocations: 15.62 kB / 1.199 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.726e-05/1.045, allocations: 12 kB / 1.199 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.242e-05/1.045, allocations: 24 kB / 1.199 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001723/1.047, allocations: 415.3 kB / 1.2 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.136e-05/1.047, allocations: 27.88 kB / 1.2 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001687/1.049, allocations: 215.3 kB / 1.2 GB, free: 9.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001723/1.049, allocations: 59.98 kB / 1.2 GB, free: 9.281 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003466/1.052, allocations: 1.677 MB / 1.202 GB, free: 7.598 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001606/1.054, allocations: 1.19 MB / 1.203 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002648/1.057, allocations: 1.906 MB / 1.205 GB, free: 4.062 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.506e-05/1.057, allocations: 15.81 kB / 1.205 GB, free: 4.047 MB / 0.9356 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003433/1.06, allocations: 1.93 MB / 1.206 GB, free: 2.109 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.185e-05/1.06, allocations: 12 kB / 1.206 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.508e-05/1.06, allocations: 16 kB / 1.206 GB, free: 2.082 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/1.06, allocations: 20 kB / 1.207 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001393/1.062, allocations: 363.3 kB / 1.207 GB, free: 1.707 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.488e-05/1.062, allocations: 31.92 kB / 1.207 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/1.063, allocations: 175.5 kB / 1.207 GB, free: 1.504 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/1.063, allocations: 63.98 kB / 1.207 GB, free: 1.441 MB / 0.9356 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.0004957/1.064, allocations: 266.2 kB / 1.207 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003809/1.064, allocations: 106.7 kB / 1.207 GB, free: 1.07 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003012/1.067, allocations: 1.854 MB / 1.209 GB, free: 15.2 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/1.067, allocations: 12 kB / 1.209 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.024e-05/1.067, allocations: 0 / 1.209 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/1.067, allocations: 7.984 kB / 1.209 GB, free: 15.18 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01396/1.081, allocations: 9.584 MB / 1.219 GB, free: 5.344 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.527e-05/1.081, allocations: 15.98 kB / 1.219 GB, free: 5.328 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001234/1.083, allocations: 311.4 kB / 1.219 GB, free: 5.023 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.671e-05/1.083, allocations: 16 kB / 1.219 GB, free: 5.008 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.876e-05/1.083, allocations: 28 kB / 1.219 GB, free: 4.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.895e-05/1.083, allocations: 23.88 kB / 1.219 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.017e-05/1.083, allocations: 15.94 kB / 1.219 GB, free: 4.941 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0029/1.086, allocations: 2.402 MB / 1.221 GB, free: 2.379 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007962/1.087, allocations: 379.5 kB / 1.222 GB, free: 1.988 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002655/1.087, allocations: 31.98 kB / 1.222 GB, free: 1.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001116/1.088, allocations: 147.7 kB / 1.222 GB, free: 1.812 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002103/1.088, allocations: 91.61 kB / 1.222 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.413e-05/1.088, allocations: 36 kB / 1.222 GB, free: 1.688 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0009752/1.089, allocations: 0.6161 MB / 1.223 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.2e-07/1.089, allocations: 0 / 1.223 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.003344/1.093, allocations: 0.7539 MB / 1.223 GB, free: 332 kB / 0.9512 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.000267/1.093, allocations: 146.9 kB / 1.224 GB, free: 176 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.004465/1.097, allocations: 2.9 MB / 1.226 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 8.076e-06/1.097, allocations: 1.375 kB / 1.226 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.001253/1.099, allocations: 0.9111 MB / 1.227 GB, free: 12.36 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001966/1.101, allocations: 312 kB / 1.228 GB, free: 12.07 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009637/1.11, allocations: 5.446 MB / 1.233 GB, free: 6.441 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002661/1.113, allocations: 2.195 MB / 1.235 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006731/1.114, allocations: 95.41 kB / 1.235 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of SimCode: time 8.41e-07/1.114, allocations: 0 / 1.235 GB, free: 4.117 MB / 0.9669 GB Notification: Performance of Templates: time 0.04191/1.156, allocations: 28.23 MB / 1.263 GB, free: 7.965 MB / 0.9981 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/jenkins1/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