Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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,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_10_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_10_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.01397/0.01398, allocations: 97.3 kB / 15.73 MB, free: 6.039 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.002467/0.002467, allocations: 199.4 kB / 16.68 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.53/1.53, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.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.838/2.838, allocations: 437 MB / 0.7105 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001414/0.001414, allocations: 59.91 kB / 1.019 GB, free: 14.62 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.338/0.3394, allocations: 151.6 MB / 1.167 GB, free: 6.875 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.0423/0.3818, allocations: 37.27 MB / 1.203 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0252/0.407, allocations: 13.7 MB / 1.216 GB, free: 3.738 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004897/0.412, allocations: 115.6 kB / 1.216 GB, free: 3.625 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.00695/0.419, allocations: 2.271 MB / 1.219 GB, free: 1.348 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.006792/0.4258, allocations: 1.431 MB / 1.22 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0105/0.4364, allocations: 3.525 MB / 1.224 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.009034/0.4454, allocations: 6.391 MB / 1.23 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02113/0.4666, allocations: 9.89 MB / 1.239 GB, free: 11.96 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006807/0.4735, allocations: 2.735 MB / 1.242 GB, free: 9.223 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008732/0.4823, allocations: 3.198 MB / 1.245 GB, free: 6.016 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.003485/0.4858, allocations: 0.6211 MB / 1.246 GB, free: 5.395 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006958/0.4928, allocations: 1.256 MB / 1.247 GB, free: 4.137 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.006876/0.4997, allocations: 2.488 MB / 1.249 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.7888/1.289, allocations: 2.536 MB / 1.252 GB, free: 28.9 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02/1.309, allocations: 9.188 MB / 1.261 GB, free: 28.55 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.278e-06/1.309, allocations: 0 / 1.261 GB, free: 28.55 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.354e-06/1.309, allocations: 0 / 1.261 GB, free: 28.55 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0005086/1.309, allocations: 1.781 kB / 1.261 GB, free: 28.55 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: 1156 * Number of variables: 1156 Notification: Performance of Generate backend data structure: time 0.02816/1.337, allocations: 4.408 MB / 1.265 GB, free: 26.89 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/1.337, allocations: 9.594 kB / 1.265 GB, free: 26.89 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008586/1.346, allocations: 1.055 MB / 1.266 GB, free: 26.66 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008549/1.355, allocations: 2.236 MB / 1.268 GB, free: 26.2 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004961/1.355, allocations: 325.9 kB / 1.269 GB, free: 26.18 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003268/1.358, allocations: 430 kB / 1.269 GB, free: 26.18 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03571/1.394, allocations: 7.4 MB / 1.276 GB, free: 25.48 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006687/1.395, allocations: 16.06 kB / 1.276 GB, free: 25.48 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005486/1.4, allocations: 183.1 kB / 1.277 GB, free: 25.48 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008715/1.401, allocations: 289.3 kB / 1.277 GB, free: 25.47 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02169/1.423, allocations: 6.026 MB / 1.283 GB, free: 25.43 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05855/1.482, allocations: 32.5 MB / 1.315 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004957/1.487, allocations: 2.148 MB / 1.317 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002484/1.489, allocations: 1.244 MB / 1.318 GB, free: 244 kB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000274/1.49, allocations: 110.5 kB / 1.318 GB, free: 136 kB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.68e-05/1.49, allocations: 47.66 kB / 1.318 GB, free: 88 kB / 0.9981 GB Notification: Performance of pre-optimization done (n=98): time 5.189e-06/1.49, allocations: 0 / 1.318 GB, free: 88 kB / 0.9981 GB Notification: Performance of matching and sorting (n=101): time 0.01607/1.506, allocations: 5.49 MB / 1.323 GB, free: 13.34 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001015/1.506, allocations: 144.9 kB / 1.323 GB, free: 13.18 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003211/1.509, allocations: 1.483 MB / 1.325 GB, free: 12.36 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0002619/1.509, allocations: 43.39 kB / 1.325 GB, free: 12.31 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001479/1.511, allocations: 1.924 MB / 1.327 GB, free: 10.63 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006295/1.511, allocations: 394.2 kB / 1.327 GB, free: 10.3 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001211/1.513, allocations: 466 kB / 1.328 GB, free: 10.04 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.513, allocations: 301.1 kB / 1.328 GB, free: 9.742 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002292/1.515, allocations: 1.152 MB / 1.329 GB, free: 9.141 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003296/1.518, allocations: 2.209 MB / 1.331 GB, free: 7.102 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005287/1.524, allocations: 3.437 MB / 1.335 GB, free: 4.566 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.507e-05/1.524, allocations: 9.562 kB / 1.335 GB, free: 4.566 MB / 1.014 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.007159/1.531, allocations: 3.378 MB / 1.338 GB, free: 3.035 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.667e-05/1.531, allocations: 17.34 kB / 1.338 GB, free: 3.035 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.655e-05/1.531, allocations: 34.31 kB / 1.338 GB, free: 3.035 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.773e-05/1.531, allocations: 48 kB / 1.338 GB, free: 3.035 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002403/1.534, allocations: 0.6316 MB / 1.339 GB, free: 2.883 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001101/1.534, allocations: 72.41 kB / 1.339 GB, free: 2.871 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002986/1.537, allocations: 336.2 kB / 1.339 GB, free: 2.695 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002837/1.537, allocations: 112.4 kB / 1.339 GB, free: 2.676 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005369/1.542, allocations: 2.438 MB / 1.341 GB, free: 1.297 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00255/1.545, allocations: 2.041 MB / 1.343 GB, free: 15.32 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004001/1.549, allocations: 3.065 MB / 1.346 GB, free: 12.96 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.498e-05/1.549, allocations: 12.25 kB / 1.346 GB, free: 12.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.005473/1.555, allocations: 2.989 MB / 1.349 GB, free: 11.65 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.554e-05/1.555, allocations: 17.75 kB / 1.349 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.838e-05/1.555, allocations: 35.84 kB / 1.349 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.409e-05/1.555, allocations: 47.03 kB / 1.35 GB, free: 11.65 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002604/1.557, allocations: 0.5717 MB / 1.35 GB, free: 11.53 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001272/1.558, allocations: 69.53 kB / 1.35 GB, free: 11.52 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00438/1.562, allocations: 268.9 kB / 1.35 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002875/1.562, allocations: 113.2 kB / 1.35 GB, free: 11.36 MB / 1.029 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.0009613/1.563, allocations: 335.4 kB / 1.351 GB, free: 11.11 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009473/1.564, allocations: 164.2 kB / 1.351 GB, free: 11.02 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004128/1.568, allocations: 2.246 MB / 1.353 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.471e-05/1.568, allocations: 11.84 kB / 1.353 GB, free: 9.711 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.506e-05/1.568, allocations: 3.938 kB / 1.353 GB, free: 9.707 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.631e-05/1.568, allocations: 8.859 kB / 1.353 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02611/1.594, allocations: 10.99 MB / 1.364 GB, free: 2.586 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.845e-05/1.595, allocations: 12 kB / 1.364 GB, free: 2.574 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00178/1.596, allocations: 391.6 kB / 1.364 GB, free: 2.207 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.807e-05/1.596, allocations: 16 kB / 1.364 GB, free: 2.191 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001908/1.597, allocations: 32 kB / 1.364 GB, free: 2.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.546e-05/1.597, allocations: 22.75 kB / 1.364 GB, free: 2.145 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.345e-05/1.597, allocations: 15.66 kB / 1.364 GB, free: 2.133 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004274/1.601, allocations: 2.774 MB / 1.367 GB, free: 15.2 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001436/1.602, allocations: 459.7 kB / 1.368 GB, free: 14.73 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007186/1.603, allocations: 43.08 kB / 1.368 GB, free: 14.7 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001866/1.605, allocations: 179.2 kB / 1.368 GB, free: 14.52 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002844/1.605, allocations: 99 kB / 1.368 GB, free: 14.43 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/1.605, allocations: 36 kB / 1.368 GB, free: 14.4 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002447/1.608, allocations: 1.008 MB / 1.369 GB, free: 13.39 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.31e-07/1.608, allocations: 0 / 1.369 GB, free: 13.39 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.007407/1.615, allocations: 1.137 MB / 1.37 GB, free: 12.26 MB / 1.045 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.0004766/1.616, allocations: 152.3 kB / 1.37 GB, free: 12.12 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.008147/1.624, allocations: 4.068 MB / 1.374 GB, free: 8.281 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.978e-05/1.624, allocations: 0 / 1.374 GB, free: 8.281 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001697/1.626, allocations: 1.063 MB / 1.375 GB, free: 7.262 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003701/1.63, allocations: 453.7 kB / 1.376 GB, free: 6.859 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01779/1.647, allocations: 7.091 MB / 1.382 GB, free: 15.65 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00549/1.653, allocations: 2.873 MB / 1.385 GB, free: 12.75 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.004042/1.657, allocations: 1.223 MB / 1.386 GB, free: 11.52 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007527/1.658, allocations: 126 kB / 1.387 GB, free: 11.39 MB / 1.061 GB Notification: Performance of SimCode: time 1.243e-06/1.658, allocations: 0 / 1.387 GB, free: 11.39 MB / 1.061 GB Notification: Performance of Templates: time 0.04876/1.707, allocations: 26.01 MB / 1.412 GB, free: 1.684 MB / 1.076 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches