Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.004963/0.004963, allocations: 100 kB / 15.73 MB, free: 6.062 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.001124/0.001124, allocations: 195.5 kB / 16.68 MB, free: 5.973 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.544/2.544, allocations: 469.8 MB / 0.7425 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 67.88 kB / 1.065 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7968/0.798, allocations: 159.1 MB / 1.221 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02654/0.8245, allocations: 20.48 MB / 1.241 GB, free: 13.56 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.01588/0.8404, allocations: 7.712 MB / 1.248 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002146/0.8426, allocations: 59.81 kB / 1.248 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.004124/0.8467, allocations: 1.367 MB / 1.25 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.003192/0.8499, allocations: 1.019 MB / 1.251 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.005341/0.8552, allocations: 2.001 MB / 1.252 GB, free: 1.375 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.005294/0.8605, allocations: 4.327 MB / 1.257 GB, free: 13.04 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007699/0.8682, allocations: 4.491 MB / 1.261 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002969/0.8712, allocations: 1.862 MB / 1.263 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004759/0.876, allocations: 2.197 MB / 1.265 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.001674/0.8776, allocations: 432 kB / 1.265 GB, free: 3.98 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002592/0.8802, allocations: 0.9479 MB / 1.266 GB, free: 3.031 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.003049/0.8833, allocations: 1.699 MB / 1.268 GB, free: 1.328 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003369/0.8866, allocations: 1.712 MB / 1.27 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.007467/0.8941, allocations: 6.199 MB / 1.276 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.624e-06/0.8941, allocations: 0 / 1.276 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8941, allocations: 0 / 1.276 GB, free: 9.395 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001666/0.8943, allocations: 0 / 1.276 GB, free: 9.395 MB / 0.9981 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.00626/0.9005, allocations: 3.117 MB / 1.279 GB, free: 6.211 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.927e-05/0.9006, allocations: 12.62 kB / 1.279 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003639/0.9042, allocations: 0.7639 MB / 1.28 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00276/0.907, allocations: 1.568 MB / 1.281 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001607/0.9071, allocations: 226.1 kB / 1.281 GB, free: 3.602 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004647/0.9076, allocations: 284.4 kB / 1.282 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008397/0.916, allocations: 5.09 MB / 1.287 GB, free: 14.05 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.564e-05/0.9161, allocations: 7.938 kB / 1.287 GB, free: 14.04 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003032/0.9164, allocations: 124 kB / 1.287 GB, free: 13.92 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002377/0.9166, allocations: 208.6 kB / 1.287 GB, free: 13.71 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007309/0.9239, allocations: 4.224 MB / 1.291 GB, free: 9.473 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02736/0.9513, allocations: 22.96 MB / 1.313 GB, free: 388 kB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003136/0.9544, allocations: 1.669 MB / 1.315 GB, free: 14.68 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001643/0.9561, allocations: 1.08 MB / 1.316 GB, free: 13.58 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001974/0.9563, allocations: 101.7 kB / 1.316 GB, free: 13.46 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/0.9563, allocations: 47.2 kB / 1.316 GB, free: 13.41 MB / 1.045 GB Notification: Performance of pre-optimization done (n=84): time 3.336e-06/0.9563, allocations: 0 / 1.316 GB, free: 13.41 MB / 1.045 GB Notification: Performance of matching and sorting (n=87): time 0.006831/0.9631, allocations: 4.11 MB / 1.32 GB, free: 9.277 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.879e-05/0.9632, allocations: 141.2 kB / 1.32 GB, free: 9.105 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.9645, allocations: 0.8684 MB / 1.321 GB, free: 8.227 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 9.201e-05/0.9645, allocations: 45.7 kB / 1.321 GB, free: 8.176 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007491/0.9653, allocations: 1.205 MB / 1.322 GB, free: 6.957 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003145/0.9656, allocations: 325.3 kB / 1.323 GB, free: 6.637 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004557/0.9661, allocations: 274.7 kB / 1.323 GB, free: 6.363 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001844/0.9662, allocations: 406.7 kB / 1.323 GB, free: 5.957 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/0.9676, allocations: 0.8257 MB / 1.324 GB, free: 5.125 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001661/0.9692, allocations: 1.31 MB / 1.326 GB, free: 3.598 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003004/0.9722, allocations: 2.167 MB / 1.328 GB, free: 1.242 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/0.9722, allocations: 4 kB / 1.328 GB, free: 1.238 MB / 1.045 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003718/0.976, allocations: 2.215 MB / 1.33 GB, free: 15.01 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.976, allocations: 12.19 kB / 1.33 GB, free: 15 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.221e-05/0.976, allocations: 16 kB / 1.33 GB, free: 14.98 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.774e-05/0.9761, allocations: 24 kB / 1.33 GB, free: 14.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/0.9778, allocations: 415.4 kB / 1.33 GB, free: 14.55 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-05/0.9778, allocations: 35.8 kB / 1.33 GB, free: 14.52 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.9792, allocations: 215.4 kB / 1.33 GB, free: 14.31 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001302/0.9794, allocations: 59.98 kB / 1.331 GB, free: 14.25 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00257/0.9819, allocations: 1.677 MB / 1.332 GB, free: 12.57 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001473/0.9834, allocations: 1.186 MB / 1.333 GB, free: 11.15 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002469/0.9859, allocations: 1.906 MB / 1.335 GB, free: 9.031 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.24e-05/0.9859, allocations: 7.938 kB / 1.335 GB, free: 9.023 MB / 1.061 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003177/0.9891, allocations: 1.93 MB / 1.337 GB, free: 7.086 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.9891, allocations: 12 kB / 1.337 GB, free: 7.074 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.9891, allocations: 16.19 kB / 1.337 GB, free: 7.059 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/0.9891, allocations: 20 kB / 1.337 GB, free: 7.039 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.9905, allocations: 367.8 kB / 1.337 GB, free: 6.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.189e-05/0.9905, allocations: 39.8 kB / 1.338 GB, free: 6.641 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001301/0.9918, allocations: 183.4 kB / 1.338 GB, free: 6.461 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001037/0.9919, allocations: 59.98 kB / 1.338 GB, free: 6.402 MB / 1.061 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.000389/0.9923, allocations: 268.3 kB / 1.338 GB, free: 6.133 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003106/0.9926, allocations: 107.3 kB / 1.338 GB, free: 6.027 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002995/0.9956, allocations: 1.854 MB / 1.34 GB, free: 4.16 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-05/0.9956, allocations: 8 kB / 1.34 GB, free: 4.152 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/0.9957, allocations: 7.984 kB / 1.34 GB, free: 4.145 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.9957, allocations: 3.984 kB / 1.34 GB, free: 4.141 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01352/1.009, allocations: 9.588 MB / 1.349 GB, free: 10.3 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.173e-05/1.009, allocations: 12 kB / 1.349 GB, free: 10.29 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001394/1.011, allocations: 315.4 kB / 1.35 GB, free: 9.98 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.331e-05/1.011, allocations: 16 kB / 1.35 GB, free: 9.965 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/1.011, allocations: 28 kB / 1.35 GB, free: 9.938 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.923e-05/1.011, allocations: 27.86 kB / 1.35 GB, free: 9.91 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.414e-05/1.011, allocations: 15.94 kB / 1.35 GB, free: 9.895 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003295/1.014, allocations: 2.403 MB / 1.352 GB, free: 7.332 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008103/1.015, allocations: 384.1 kB / 1.352 GB, free: 6.938 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002656/1.015, allocations: 32 kB / 1.352 GB, free: 6.906 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001332/1.017, allocations: 147.7 kB / 1.353 GB, free: 6.762 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002183/1.017, allocations: 87.67 kB / 1.353 GB, free: 6.676 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.535e-05/1.017, allocations: 39.92 kB / 1.353 GB, free: 6.637 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001071/1.018, allocations: 0.6122 MB / 1.353 GB, free: 6.027 MB / 1.076 GB Notification: Performance of sort global known variables: time 1.31e-07/1.018, allocations: 0 / 1.353 GB, free: 6.027 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.003994/1.022, allocations: 0.7539 MB / 1.354 GB, free: 5.273 MB / 1.076 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.0004687/1.022, allocations: 150.9 kB / 1.354 GB, free: 5.117 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005039/1.027, allocations: 2.753 MB / 1.357 GB, free: 2.371 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.052e-05/1.027, allocations: 4.375 kB / 1.357 GB, free: 2.367 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001409/1.029, allocations: 0.8844 MB / 1.358 GB, free: 1.484 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002103/1.031, allocations: 322.8 kB / 1.358 GB, free: 1.191 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009094/1.04, allocations: 5.063 MB / 1.363 GB, free: 11.94 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002521/1.043, allocations: 2.124 MB / 1.365 GB, free: 9.785 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001973/1.045, allocations: 0.75 MB / 1.366 GB, free: 9.031 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004251/1.045, allocations: 83.42 kB / 1.366 GB, free: 8.949 MB / 1.092 GB Notification: Performance of SimCode: time 1.253e-06/1.045, allocations: 0 / 1.366 GB, free: 8.949 MB / 1.092 GB Notification: Performance of Templates: time 0.03132/1.076, allocations: 18.38 MB / 1.384 GB, free: 6.715 MB / 1.107 GB make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches