Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001747/0.001747, allocations: 104.6 kB / 16.27 MB, free: 6.414 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.001988/0.001988, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.42/1.42, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.592/2.592, allocations: 437.1 MB / 0.711 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001986/0.001987, allocations: 68.05 kB / 0.8699 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3621/0.3641, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02793/0.3921, allocations: 20.43 MB / 1.038 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.01536/0.4075, allocations: 7.69 MB / 1.045 GB, free: 14.39 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002418/0.41, allocations: 63.75 kB / 1.046 GB, free: 14.33 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004214/0.4143, allocations: 1.352 MB / 1.047 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.003623/0.418, allocations: 1.007 MB / 1.048 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.005992/0.424, allocations: 1.992 MB / 1.05 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.006556/0.4305, allocations: 4.332 MB / 1.054 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01116/0.4417, allocations: 6.254 MB / 1.06 GB, free: 15.31 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003558/0.4453, allocations: 1.835 MB / 1.062 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004277/0.4496, allocations: 2.205 MB / 1.064 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001533/0.4512, allocations: 424 kB / 1.064 GB, free: 10.84 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003035/0.4543, allocations: 0.9402 MB / 1.065 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.003285/0.4576, allocations: 1.653 MB / 1.067 GB, free: 8.246 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003412/0.461, allocations: 1.708 MB / 1.069 GB, free: 6.531 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.007284/0.4683, allocations: 6.155 MB / 1.075 GB, free: 368 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.4683, allocations: 0 / 1.075 GB, free: 368 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4684, allocations: 0 / 1.075 GB, free: 368 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0001635/0.4685, allocations: 0 / 1.075 GB, free: 368 kB / 0.8419 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.4915/0.96, allocations: 3.04 MB / 1.078 GB, free: 56.52 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.319e-05/0.9601, allocations: 10.38 kB / 1.078 GB, free: 56.52 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004136/0.9642, allocations: 0.7473 MB / 1.078 GB, free: 56.38 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00349/0.9678, allocations: 1.543 MB / 1.08 GB, free: 56 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002015/0.968, allocations: 222.3 kB / 1.08 GB, free: 55.99 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007507/0.9687, allocations: 285.9 kB / 1.08 GB, free: 55.99 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01144/0.9802, allocations: 5.077 MB / 1.085 GB, free: 54.14 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.15e-05/0.9803, allocations: 11.75 kB / 1.085 GB, free: 54.14 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003621/0.9807, allocations: 121.3 kB / 1.085 GB, free: 54.05 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003113/0.981, allocations: 211.7 kB / 1.086 GB, free: 54.03 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009151/0.9902, allocations: 4.224 MB / 1.09 GB, free: 52.66 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02574/1.016, allocations: 23.08 MB / 1.112 GB, free: 34.46 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003072/1.019, allocations: 1.734 MB / 1.114 GB, free: 33.86 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001656/1.021, allocations: 1.14 MB / 1.115 GB, free: 33.46 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001449/1.021, allocations: 96.69 kB / 1.115 GB, free: 33.36 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/1.021, allocations: 44.33 kB / 1.115 GB, free: 33.31 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=84): time 2.995e-06/1.021, allocations: 4 kB / 1.115 GB, free: 33.31 MB / 0.8419 GB Notification: Performance of matching and sorting (n=87): time 0.006788/1.028, allocations: 4.004 MB / 1.119 GB, free: 31.3 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.213e-05/1.028, allocations: 143.7 kB / 1.119 GB, free: 31.14 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001375/1.029, allocations: 0.8656 MB / 1.12 GB, free: 30.79 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001387/1.029, allocations: 41.73 kB / 1.12 GB, free: 30.74 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006432/1.03, allocations: 1.164 MB / 1.121 GB, free: 29.86 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003203/1.03, allocations: 316.4 kB / 1.122 GB, free: 29.62 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004672/1.031, allocations: 271.9 kB / 1.122 GB, free: 29.51 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001539/1.031, allocations: 405.2 kB / 1.122 GB, free: 29.16 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001322/1.032, allocations: 0.8241 MB / 1.123 GB, free: 28.87 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001529/1.034, allocations: 1.32 MB / 1.124 GB, free: 27.97 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002689/1.037, allocations: 2.162 MB / 1.126 GB, free: 26.73 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.896e-06/1.037, allocations: 4.531 kB / 1.126 GB, free: 26.73 MB / 0.8419 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003687/1.04, allocations: 2.215 MB / 1.129 GB, free: 25.76 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.952e-05/1.04, allocations: 12.03 kB / 1.129 GB, free: 25.76 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.679e-05/1.04, allocations: 13.5 kB / 1.129 GB, free: 25.76 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.345e-05/1.04, allocations: 20.25 kB / 1.129 GB, free: 25.76 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001672/1.042, allocations: 421.2 kB / 1.129 GB, free: 25.62 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-05/1.042, allocations: 29.58 kB / 1.129 GB, free: 25.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/1.044, allocations: 212.8 kB / 1.129 GB, free: 25.5 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/1.044, allocations: 59.48 kB / 1.129 GB, free: 25.49 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00242/1.046, allocations: 1.682 MB / 1.131 GB, free: 24.53 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00122/1.047, allocations: 1.191 MB / 1.132 GB, free: 23.5 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002215/1.05, allocations: 1.904 MB / 1.134 GB, free: 22.12 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.073e-05/1.05, allocations: 4.219 kB / 1.134 GB, free: 22.12 MB / 0.8419 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.00313/1.053, allocations: 1.923 MB / 1.136 GB, free: 21.14 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.128e-05/1.053, allocations: 13.59 kB / 1.136 GB, free: 21.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/1.053, allocations: 15.62 kB / 1.136 GB, free: 21.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.206e-05/1.053, allocations: 21.44 kB / 1.136 GB, free: 21.14 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/1.054, allocations: 373.4 kB / 1.136 GB, free: 21.03 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.748e-05/1.054, allocations: 29.27 kB / 1.136 GB, free: 21.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001376/1.056, allocations: 178.1 kB / 1.137 GB, free: 20.93 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/1.056, allocations: 63.45 kB / 1.137 GB, free: 20.91 MB / 0.8419 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.0003579/1.056, allocations: 267.4 kB / 1.137 GB, free: 20.66 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002679/1.056, allocations: 99.88 kB / 1.137 GB, free: 20.61 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002614/1.059, allocations: 1.855 MB / 1.139 GB, free: 19.54 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.027e-05/1.059, allocations: 9.812 kB / 1.139 GB, free: 19.54 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.894e-06/1.059, allocations: 1.375 kB / 1.139 GB, free: 19.54 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.046e-05/1.059, allocations: 9.344 kB / 1.139 GB, free: 19.53 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01102/1.07, allocations: 9.6 MB / 1.148 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/1.07, allocations: 7.812 kB / 1.148 GB, free: 13.72 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/1.071, allocations: 309.5 kB / 1.148 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.336e-05/1.071, allocations: 20 kB / 1.148 GB, free: 13.55 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.902e-05/1.071, allocations: 28 kB / 1.148 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.255e-05/1.071, allocations: 23.92 kB / 1.149 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.027e-05/1.071, allocations: 23.81 kB / 1.149 GB, free: 13.48 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002218/1.074, allocations: 2.4 MB / 1.151 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006129/1.074, allocations: 375.6 kB / 1.151 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001786/1.075, allocations: 27.91 kB / 1.151 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009977/1.076, allocations: 143.8 kB / 1.151 GB, free: 10.37 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001691/1.076, allocations: 95.55 kB / 1.151 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.075e-05/1.076, allocations: 40 kB / 1.152 GB, free: 10.23 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007651/1.077, allocations: 0.6161 MB / 1.152 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.01e-07/1.077, allocations: 0 / 1.152 GB, free: 9.625 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002607/1.079, allocations: 0.7539 MB / 1.153 GB, free: 8.871 MB / 0.8419 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.0002415/1.079, allocations: 141 kB / 1.153 GB, free: 8.727 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.004081/1.083, allocations: 3.05 MB / 1.156 GB, free: 5.684 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.209e-05/1.084, allocations: 4 kB / 1.156 GB, free: 5.68 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.001072/1.085, allocations: 0.9075 MB / 1.157 GB, free: 4.773 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001956/1.087, allocations: 318.5 kB / 1.157 GB, free: 4.488 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008332/1.095, allocations: 5.49 MB / 1.163 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002436/1.097, allocations: 2.195 MB / 1.165 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006875/1.098, allocations: 95.41 kB / 1.165 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of SimCode: time 9.32e-07/1.098, allocations: 0 / 1.165 GB, free: 12.49 MB / 0.8575 GB Notification: Performance of Templates: time 0.04748/1.146, allocations: 28.09 MB / 1.192 GB, free: 0.5625 MB / 0.8731 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches