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.001581/0.001581, allocations: 110.2 kB / 16.27 MB, free: 6.355 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.001654/0.001655, allocations: 193.4 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.39/1.39, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.519/2.519, allocations: 437 MB / 0.711 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002711/0.002711, allocations: 64.88 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4815/0.4843, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.04198/0.5263, allocations: 20.43 MB / 1.038 GB, free: 6.156 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02199/0.5484, allocations: 7.694 MB / 1.045 GB, free: 14.44 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003226/0.5517, allocations: 59.81 kB / 1.045 GB, free: 14.38 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.005423/0.5572, allocations: 1.356 MB / 1.047 GB, free: 13.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.004296/0.5615, allocations: 0.9996 MB / 1.048 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007714/0.5693, allocations: 2.001 MB / 1.05 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.008244/0.5775, allocations: 4.332 MB / 1.054 GB, free: 5.676 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01454/0.5921, allocations: 6.243 MB / 1.06 GB, free: 15.37 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00449/0.5967, allocations: 1.843 MB / 1.062 GB, free: 13.52 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00581/0.6026, allocations: 2.197 MB / 1.064 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.001822/0.6044, allocations: 428 kB / 1.064 GB, free: 10.9 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003737/0.6082, allocations: 0.948 MB / 1.065 GB, free: 9.949 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.00348/0.6117, allocations: 1.653 MB / 1.067 GB, free: 8.293 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.004867/0.6166, allocations: 1.708 MB / 1.069 GB, free: 6.578 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0123/0.629, allocations: 6.147 MB / 1.075 GB, free: 424 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 1.481e-05/0.629, allocations: 4 kB / 1.075 GB, free: 420 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.424e-06/0.6291, allocations: 0 / 1.075 GB, free: 420 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 0.0002138/0.6293, allocations: 0 / 1.075 GB, free: 420 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.7377/1.367, allocations: 3.037 MB / 1.078 GB, free: 60.3 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/1.367, allocations: 9.656 kB / 1.078 GB, free: 60.3 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004011/1.371, allocations: 0.7488 MB / 1.078 GB, free: 60.13 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003006/1.374, allocations: 1.54 MB / 1.08 GB, free: 59.3 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001939/1.374, allocations: 220.1 kB / 1.08 GB, free: 59.21 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005523/1.375, allocations: 291.7 kB / 1.08 GB, free: 59.12 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01089/1.386, allocations: 5.081 MB / 1.085 GB, free: 57.09 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.751e-05/1.386, allocations: 7.469 kB / 1.085 GB, free: 57.08 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003415/1.386, allocations: 124.8 kB / 1.085 GB, free: 56.99 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003142/1.387, allocations: 210.6 kB / 1.086 GB, free: 56.96 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008706/1.395, allocations: 4.225 MB / 1.09 GB, free: 55.55 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02578/1.421, allocations: 23.08 MB / 1.112 GB, free: 37.3 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003135/1.424, allocations: 1.723 MB / 1.114 GB, free: 36.71 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/1.426, allocations: 1.14 MB / 1.115 GB, free: 36.3 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001508/1.426, allocations: 105.7 kB / 1.115 GB, free: 36.2 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/1.426, allocations: 55.5 kB / 1.115 GB, free: 36.14 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=84): time 3.115e-06/1.426, allocations: 0 / 1.115 GB, free: 36.14 MB / 0.8419 GB Notification: Performance of matching and sorting (n=87): time 0.006534/1.433, allocations: 4.008 MB / 1.119 GB, free: 34.14 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/1.433, allocations: 139.2 kB / 1.119 GB, free: 33.98 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001281/1.434, allocations: 0.8651 MB / 1.12 GB, free: 33.62 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 8.556e-05/1.434, allocations: 41.86 kB / 1.12 GB, free: 33.58 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007068/1.435, allocations: 1.162 MB / 1.121 GB, free: 32.7 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002737/1.435, allocations: 312 kB / 1.122 GB, free: 32.47 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005157/1.436, allocations: 278.8 kB / 1.122 GB, free: 32.34 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001392/1.436, allocations: 406.7 kB / 1.122 GB, free: 31.99 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001323/1.437, allocations: 0.8213 MB / 1.123 GB, free: 31.71 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/1.439, allocations: 1.314 MB / 1.124 GB, free: 30.81 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002605/1.441, allocations: 2.167 MB / 1.126 GB, free: 29.35 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.398e-06/1.441, allocations: 8.188 kB / 1.126 GB, free: 29.35 MB / 0.8419 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003428/1.445, allocations: 2.212 MB / 1.129 GB, free: 28.2 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.456e-05/1.445, allocations: 10.75 kB / 1.129 GB, free: 28.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.18e-05/1.445, allocations: 15.19 kB / 1.129 GB, free: 28.2 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.517e-05/1.445, allocations: 19.75 kB / 1.129 GB, free: 28.2 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001604/1.446, allocations: 413.5 kB / 1.129 GB, free: 28.07 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.335e-05/1.447, allocations: 33.52 kB / 1.129 GB, free: 28.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/1.448, allocations: 205.9 kB / 1.129 GB, free: 27.96 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/1.448, allocations: 66.81 kB / 1.129 GB, free: 27.94 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002428/1.451, allocations: 1.685 MB / 1.131 GB, free: 26.98 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00126/1.452, allocations: 1.186 MB / 1.132 GB, free: 25.95 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002173/1.454, allocations: 1.897 MB / 1.134 GB, free: 24.58 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.927e-06/1.454, allocations: 4.688 kB / 1.134 GB, free: 24.58 MB / 0.8419 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003093/1.457, allocations: 1.93 MB / 1.136 GB, free: 23.59 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.227e-05/1.457, allocations: 15.84 kB / 1.136 GB, free: 23.59 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/1.457, allocations: 19.03 kB / 1.136 GB, free: 23.58 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.58e-05/1.457, allocations: 26.58 kB / 1.136 GB, free: 23.58 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001374/1.459, allocations: 360.3 kB / 1.136 GB, free: 23.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.283e-05/1.459, allocations: 37.69 kB / 1.136 GB, free: 23.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/1.46, allocations: 180.7 kB / 1.137 GB, free: 23.36 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/1.46, allocations: 59.58 kB / 1.137 GB, free: 23.35 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.0003591/1.461, allocations: 264.7 kB / 1.137 GB, free: 23.11 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002495/1.461, allocations: 107.4 kB / 1.137 GB, free: 23.05 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002801/1.464, allocations: 1.854 MB / 1.139 GB, free: 21.98 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/1.464, allocations: 14.5 kB / 1.139 GB, free: 21.97 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.215e-06/1.464, allocations: 1.656 kB / 1.139 GB, free: 21.97 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/1.464, allocations: 3.984 kB / 1.139 GB, free: 21.97 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01088/1.475, allocations: 9.591 MB / 1.148 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.118e-05/1.475, allocations: 12.06 kB / 1.148 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00114/1.476, allocations: 311.4 kB / 1.148 GB, free: 15.53 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.326e-05/1.476, allocations: 16 kB / 1.148 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.92e-05/1.476, allocations: 35.98 kB / 1.148 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.228e-05/1.476, allocations: 19.94 kB / 1.148 GB, free: 15.46 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.055e-06/1.476, allocations: 19.88 kB / 1.149 GB, free: 15.44 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002227/1.478, allocations: 2.401 MB / 1.151 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005259/1.479, allocations: 371.6 kB / 1.151 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001704/1.479, allocations: 35.98 kB / 1.151 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009868/1.48, allocations: 143.8 kB / 1.151 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/1.48, allocations: 95.61 kB / 1.151 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.455e-05/1.48, allocations: 36 kB / 1.152 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0007252/1.481, allocations: 0.616 MB / 1.152 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.21e-07/1.481, allocations: 0 / 1.152 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002373/1.483, allocations: 0.75 MB / 1.153 GB, free: 10.83 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.0002069/1.483, allocations: 153.7 kB / 1.153 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.003841/1.487, allocations: 3.049 MB / 1.156 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.065e-05/1.487, allocations: 1.375 kB / 1.156 GB, free: 7.633 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0009856/1.488, allocations: 0.9075 MB / 1.157 GB, free: 6.727 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001708/1.49, allocations: 300.5 kB / 1.157 GB, free: 6.453 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006613/1.497, allocations: 5.484 MB / 1.162 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00187/1.499, allocations: 2.199 MB / 1.165 GB, free: 14.55 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005975/1.499, allocations: 99.41 kB / 1.165 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of SimCode: time 1.783e-06/1.499, allocations: 0 / 1.165 GB, free: 14.45 MB / 0.8575 GB Notification: Performance of Templates: time 0.04008/1.539, allocations: 28.08 MB / 1.192 GB, free: 2.461 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=480 -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