Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001012/0.001012, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001042/0.001042, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.053/1.053, allocations: 177.1 MB / 204.2 MB, free: 5.254 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.845/1.845, allocations: 359 MB / 0.6052 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speSel.speRat",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.608e-05/2.756e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.44 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003009/0.003037, allocations: 2.222 MB / 0.7893 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002849/0.005886, allocations: 2.752 MB / 0.792 GB, free: 7.477 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001557/0.006042, allocations: 3.938 kB / 0.792 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.00724, allocations: 0.4977 MB / 0.7925 GB, free: 6.977 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003576/0.007597, allocations: 160.6 kB / 0.7926 GB, free: 6.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005032/0.0081, allocations: 212.7 kB / 0.7928 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004452/0.008546, allocations: 411.9 kB / 0.7932 GB, free: 6.215 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.008656, allocations: 29.27 kB / 0.7933 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002182/0.008875, allocations: 179.5 kB / 0.7934 GB, free: 6.008 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001709/0.009046, allocations: 127.6 kB / 0.7935 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.585e-05/0.009071, allocations: 8.5 kB / 0.7936 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001645/0.009236, allocations: 72.38 kB / 0.7936 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.009368, allocations: 137.4 kB / 0.7938 GB, free: 5.672 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001101/0.009478, allocations: 107.5 kB / 0.7939 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004887/0.009967, allocations: 430.4 kB / 0.7943 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.127e-06/0.009971, allocations: 0 / 0.7943 GB, free: 5.145 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.433e-06/0.009973, allocations: 3.938 kB / 0.7943 GB, free: 5.141 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.686e-06/0.009981, allocations: 2.594 kB / 0.7943 GB, free: 5.141 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001045/0.01103, allocations: 1.044 MB / 0.7953 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.01106, allocations: 8.031 kB / 0.7953 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001001/0.01116, allocations: 76.47 kB / 0.7954 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003988/0.01156, allocations: 381 kB / 0.7957 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.091e-05/0.01158, allocations: 4.375 kB / 0.7957 GB, free: 3.566 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/0.0116, allocations: 9.219 kB / 0.7957 GB, free: 3.559 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.01181, allocations: 153.6 kB / 0.7959 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.01182, allocations: 4.781 kB / 0.7959 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.01183, allocations: 0 / 0.7959 GB, free: 3.375 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.747e-06/0.01184, allocations: 5.281 kB / 0.7959 GB, free: 3.371 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.721e-05/0.0119, allocations: 23.98 kB / 0.7959 GB, free: 3.348 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007192/0.01261, allocations: 0.6635 MB / 0.7966 GB, free: 2.648 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002402/0.01285, allocations: 87.95 kB / 0.7967 GB, free: 2.551 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.89e-05/0.01289, allocations: 29.77 kB / 0.7967 GB, free: 2.52 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.01291, allocations: 4 kB / 0.7967 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001249/0.01304, allocations: 102.7 kB / 0.7968 GB, free: 2.395 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.683e-06/0.01304, allocations: 4 kB / 0.7968 GB, free: 2.391 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0002634/0.0133, allocations: 170.1 kB / 0.797 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.878e-05/0.01334, allocations: 81.11 kB / 0.797 GB, free: 2.121 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007502/0.01409, allocations: 0.9459 MB / 0.798 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.01411, allocations: 25.7 kB / 0.798 GB, free: 1.125 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002741/0.01438, allocations: 458.8 kB / 0.7984 GB, free: 0.6719 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.851e-05/0.01441, allocations: 16.92 kB / 0.7984 GB, free: 0.6562 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.094e-05/0.01445, allocations: 35.36 kB / 0.7985 GB, free: 0.6133 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001075/0.01456, allocations: 488.4 kB / 0.7989 GB, free: 132 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.63e-05/0.01459, allocations: 17.2 kB / 0.799 GB, free: 116 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.864e-05/0.01467, allocations: 110.1 kB / 0.7991 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.577e-05/0.01475, allocations: 65.33 kB / 0.7991 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01475, allocations: 0 / 0.7991 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001655/0.01491, allocations: 153.2 kB / 0.7993 GB, free: 15.75 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.01493, allocations: 9.703 kB / 0.7993 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.01493, allocations: 1.344 kB / 0.7993 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.01495, allocations: 0 / 0.7993 GB, free: 15.74 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.028e-05/0.01501, allocations: 12 kB / 0.7993 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.01502, allocations: 1.094 kB / 0.7993 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.389e-05/0.01509, allocations: 11.92 kB / 0.7993 GB, free: 15.72 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.0151, allocations: 4 kB / 0.7993 GB, free: 15.71 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001139/0.01521, allocations: 170 kB / 0.7995 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.038e-05/0.01526, allocations: 76.22 kB / 0.7995 GB, free: 15.46 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.01547, allocations: 154.9 kB / 0.7997 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.01548, allocations: 0 / 0.7997 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.01548, allocations: 0 / 0.7997 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.01548, allocations: 3.938 kB / 0.7997 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000393/0.01588, allocations: 0.5004 MB / 0.8002 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.01588, allocations: 3.984 kB / 0.8002 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.01592, allocations: 8 kB / 0.8002 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.01592, allocations: 0 / 0.8002 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.01593, allocations: 12.05 kB / 0.8002 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.01593, allocations: 4 kB / 0.8002 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.01593, allocations: 0 / 0.8002 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001773/0.01611, allocations: 207.8 kB / 0.8004 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.398e-05/0.01616, allocations: 55.53 kB / 0.8005 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.0162, allocations: 8 kB / 0.8005 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.528e-05/0.01626, allocations: 7.984 kB / 0.8005 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.807e-05/0.01631, allocations: 3.984 kB / 0.8005 GB, free: 14.44 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.73e-05/0.01633, allocations: 8 kB / 0.8005 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0004205/0.01675, allocations: 0.5185 MB / 0.801 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of sort global known variables: time 7e-08/0.01675, allocations: 0 / 0.801 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002256/0.01697, allocations: 67.94 kB / 0.8011 GB, free: 13.85 MB / 0.7605 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0009363/0.01791, allocations: 390.5 kB / 0.8014 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001431/0.01805, allocations: 63.59 kB / 0.8015 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.01806, allocations: 0 / 0.8015 GB, free: 13.54 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 5.168e-05/0.01811, allocations: 39.61 kB / 0.8015 GB, free: 13.5 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004429/0.01855, allocations: 178.2 kB / 0.8017 GB, free: 13.32 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.01985, allocations: 0.9248 MB / 0.8026 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.01997, allocations: 192.5 kB / 0.8028 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001065/0.02008, allocations: 38.95 kB / 0.8028 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.236e-05/0.02013, allocations: 28.5 kB / 0.8028 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of SimCode: time 7.52e-07/0.02013, allocations: 4 kB / 0.8028 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of Templates: time 0.01141/0.03155, allocations: 6.423 MB / 0.8091 GB, free: 5.828 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.614518519025296]