Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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,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_9_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_9_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.01493/0.01493, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.00236/0.00236, allocations: 195.4 kB / 16.68 MB, free: 5.93 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.507/1.507, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.24/2.24, allocations: 390.2 MB / 0.6648 GB, free: 0.6875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001466, allocations: 59.91 kB / 0.9508 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043/1.044, allocations: 140.4 MB / 1.088 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads): time 0.09404/1.138, allocations: 37.27 MB / 1.124 GB, free: 12.61 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.04898/1.187, allocations: 13.71 MB / 1.138 GB, free: 3.32 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007897/1.195, allocations: 114.2 kB / 1.138 GB, free: 3.297 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0112/1.207, allocations: 2.281 MB / 1.14 GB, free: 1.918 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.008576/1.215, allocations: 1.459 MB / 1.141 GB, free: 1.07 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.01791/1.233, allocations: 3.518 MB / 1.145 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.01502/1.248, allocations: 6.397 MB / 1.151 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02349/1.272, allocations: 9.873 MB / 1.161 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009022/1.281, allocations: 2.761 MB / 1.163 GB, free: 7.16 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009648/1.291, allocations: 3.208 MB / 1.167 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.005513/1.296, allocations: 0.6206 MB / 1.167 GB, free: 5.738 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007958/1.304, allocations: 1.258 MB / 1.168 GB, free: 5.391 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.007391/1.312, allocations: 2.469 MB / 1.171 GB, free: 3.832 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.008619/1.32, allocations: 2.554 MB / 1.173 GB, free: 2.004 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.01909/1.339, allocations: 9.163 MB / 1.182 GB, free: 11.32 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/1.34, allocations: 4 kB / 1.182 GB, free: 11.31 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.465e-06/1.34, allocations: 1.062 kB / 1.182 GB, free: 11.31 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.000437/1.34, allocations: 0 / 1.182 GB, free: 11.31 MB / 0.92 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.02458/1.365, allocations: 4.306 MB / 1.187 GB, free: 8.426 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 6.562e-05/1.365, allocations: 12.88 kB / 1.187 GB, free: 8.422 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01028/1.375, allocations: 1.033 MB / 1.188 GB, free: 7.895 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009149/1.384, allocations: 2.233 MB / 1.19 GB, free: 5.617 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005516/1.385, allocations: 325 kB / 1.19 GB, free: 5.297 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00335/1.388, allocations: 424.3 kB / 1.19 GB, free: 4.883 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02403/1.412, allocations: 7.408 MB / 1.198 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002581/1.413, allocations: 15.78 kB / 1.198 GB, free: 13.22 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002389/1.415, allocations: 180 kB / 1.198 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004129/1.415, allocations: 290.9 kB / 1.198 GB, free: 12.76 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01579/1.431, allocations: 6.022 MB / 1.204 GB, free: 6.727 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05399/1.485, allocations: 32.46 MB / 1.236 GB, free: 3.418 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003999/1.489, allocations: 2.138 MB / 1.238 GB, free: 1.238 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001883/1.491, allocations: 1.244 MB / 1.239 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002101/1.491, allocations: 102 kB / 1.239 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.489e-05/1.492, allocations: 51.56 kB / 1.239 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=98): time 3.166e-06/1.492, allocations: 0 / 1.239 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of matching and sorting (n=101): time 0.01078/1.502, allocations: 5.266 MB / 1.244 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.654e-05/1.502, allocations: 145.5 kB / 1.244 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002947/1.505, allocations: 1.472 MB / 1.246 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0003022/1.506, allocations: 41.7 kB / 1.246 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001608/1.507, allocations: 1.871 MB / 1.248 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.000583/1.508, allocations: 378.8 kB / 1.248 GB, free: 6.52 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00112/1.509, allocations: 463 kB / 1.249 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.509, allocations: 305.1 kB / 1.249 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002102/1.511, allocations: 1.153 MB / 1.25 GB, free: 4.594 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002921/1.514, allocations: 2.211 MB / 1.252 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004784/1.519, allocations: 3.431 MB / 1.255 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.261e-05/1.519, allocations: 8 kB / 1.255 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.006208/1.525, allocations: 3.37 MB / 1.259 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.976e-05/1.525, allocations: 20 kB / 1.259 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.131e-05/1.525, allocations: 32 kB / 1.259 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.643e-05/1.526, allocations: 48 kB / 1.259 GB, free: 10.46 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002393/1.528, allocations: 0.632 MB / 1.259 GB, free: 9.832 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.895e-05/1.528, allocations: 71.72 kB / 1.26 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002907/1.531, allocations: 330.7 kB / 1.26 GB, free: 9.438 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002837/1.531, allocations: 116 kB / 1.26 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005745/1.537, allocations: 2.432 MB / 1.262 GB, free: 6.883 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002735/1.54, allocations: 2.043 MB / 1.264 GB, free: 4.301 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004551/1.544, allocations: 3.068 MB / 1.267 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.079e-05/1.544, allocations: 12 kB / 1.267 GB, free: 0.7344 MB / 0.9981 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.005682/1.55, allocations: 2.978 MB / 1.27 GB, free: 13.75 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 4.861e-05/1.55, allocations: 20 kB / 1.27 GB, free: 13.73 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.535e-05/1.55, allocations: 36 kB / 1.27 GB, free: 13.69 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.511e-05/1.55, allocations: 48 kB / 1.27 GB, free: 13.64 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001969/1.552, allocations: 0.5615 MB / 1.271 GB, free: 13.08 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.161e-05/1.552, allocations: 75.91 kB / 1.271 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/1.555, allocations: 271 kB / 1.271 GB, free: 12.74 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001966/1.555, allocations: 112 kB / 1.271 GB, free: 12.63 MB / 1.014 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.0006338/1.556, allocations: 335.3 kB / 1.272 GB, free: 12.3 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004591/1.556, allocations: 158.1 kB / 1.272 GB, free: 12.14 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003758/1.56, allocations: 2.254 MB / 1.274 GB, free: 9.875 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.4e-05/1.56, allocations: 15.94 kB / 1.274 GB, free: 9.859 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.407e-06/1.56, allocations: 0 / 1.274 GB, free: 9.859 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.344e-05/1.56, allocations: 7.984 kB / 1.274 GB, free: 9.852 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01919/1.579, allocations: 10.99 MB / 1.285 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.108e-05/1.579, allocations: 17.03 kB / 1.285 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001671/1.581, allocations: 383.3 kB / 1.285 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.914e-05/1.581, allocations: 20 kB / 1.285 GB, free: 14.2 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001781/1.581, allocations: 39.98 kB / 1.285 GB, free: 14.16 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-05/1.581, allocations: 15.94 kB / 1.285 GB, free: 14.15 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.234e-05/1.581, allocations: 19.94 kB / 1.285 GB, free: 14.13 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003831/1.585, allocations: 2.755 MB / 1.288 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/1.586, allocations: 454.8 kB / 1.288 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004799/1.587, allocations: 43.89 kB / 1.288 GB, free: 10.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001678/1.588, allocations: 171.7 kB / 1.289 GB, free: 10.54 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002826/1.589, allocations: 96.17 kB / 1.289 GB, free: 10.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.966e-05/1.589, allocations: 40 kB / 1.289 GB, free: 10.4 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002257/1.591, allocations: 1.017 MB / 1.29 GB, free: 9.387 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.5e-07/1.591, allocations: 0 / 1.29 GB, free: 9.387 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.005523/1.596, allocations: 1.133 MB / 1.291 GB, free: 8.254 MB / 1.029 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.0003593/1.597, allocations: 146.8 kB / 1.291 GB, free: 8.105 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.007007/1.604, allocations: 4.079 MB / 1.295 GB, free: 4.039 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.438e-05/1.604, allocations: 0 / 1.295 GB, free: 4.039 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001679/1.606, allocations: 1.055 MB / 1.296 GB, free: 2.984 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003264/1.609, allocations: 451.1 kB / 1.296 GB, free: 2.57 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/1.623, allocations: 6.981 MB / 1.303 GB, free: 11.4 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004222/1.627, allocations: 2.864 MB / 1.306 GB, free: 8.508 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.003369/1.631, allocations: 1.231 MB / 1.307 GB, free: 7.27 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006229/1.631, allocations: 123.4 kB / 1.307 GB, free: 7.148 MB / 1.045 GB Notification: Performance of SimCode: time 7.81e-07/1.631, allocations: 0 / 1.307 GB, free: 7.148 MB / 1.045 GB Notification: Performance of Templates: time 0.04628/1.677, allocations: 26.02 MB / 1.333 GB, free: 13.34 MB / 1.076 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches