Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.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.001018/0.001018, allocations: 81.95 kB / 21.47 MB, free: 3.027 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.001078/0.001078, allocations: 160.8 kB / 24.87 MB, free: 8.875 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 0.9651/0.9651, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.848/1.848, allocations: 377.9 MB / 0.6247 GB, free: 8.406 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.8128 GB, free: 248 kB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.74e-05/1.881e-05, allocations: 3.094 kB / 0.8128 GB, free: 244 kB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002739/0.002758, allocations: 2.098 MB / 0.8149 GB, free: 14.15 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002448/0.005206, allocations: 2.529 MB / 0.8173 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.005317, allocations: 4 kB / 0.8173 GB, free: 11.62 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0009091/0.006226, allocations: 477.4 kB / 0.8178 GB, free: 11.15 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001005/0.006326, allocations: 72.05 kB / 0.8179 GB, free: 11.08 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005534/0.00688, allocations: 281.6 kB / 0.8181 GB, free: 10.81 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003232/0.007203, allocations: 339.5 kB / 0.8185 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001124/0.007315, allocations: 46.17 kB / 0.8185 GB, free: 10.43 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001497/0.007465, allocations: 147.6 kB / 0.8186 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.007586, allocations: 112.5 kB / 0.8187 GB, free: 10.18 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.007607, allocations: 8 kB / 0.8188 GB, free: 10.17 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003748/0.007982, allocations: 336.5 kB / 0.8191 GB, free: 9.84 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 8.749e-05/0.008069, allocations: 107.5 kB / 0.8192 GB, free: 9.734 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 8.71e-05/0.008157, allocations: 99.59 kB / 0.8193 GB, free: 9.637 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005296/0.008686, allocations: 0.6082 MB / 0.8199 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.008688, allocations: 0 / 0.8199 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.61e-07/0.008689, allocations: 0 / 0.8199 GB, free: 9.027 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.008695, allocations: 5.438 kB / 0.8199 GB, free: 9.023 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0007801/0.009475, allocations: 0.9937 MB / 0.8208 GB, free: 7.984 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.029e-05/0.009505, allocations: 12.02 kB / 0.8209 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.788e-05/0.009573, allocations: 77.56 kB / 0.8209 GB, free: 7.898 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002551/0.009828, allocations: 325.2 kB / 0.8212 GB, free: 7.551 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.595e-05/0.009844, allocations: 4.375 kB / 0.8212 GB, free: 7.547 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.009857, allocations: 14.34 kB / 0.8213 GB, free: 7.535 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.009992, allocations: 117.2 kB / 0.8214 GB, free: 7.406 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.716e-06/0.01, allocations: 3.938 kB / 0.8214 GB, free: 7.402 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.415e-06/0.01001, allocations: 0 / 0.8214 GB, free: 7.402 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.01002, allocations: 4 kB / 0.8214 GB, free: 7.398 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.414e-05/0.01007, allocations: 60.05 kB / 0.8214 GB, free: 7.336 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007119/0.01078, allocations: 491.9 kB / 0.8219 GB, free: 6.828 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.31e-05/0.01086, allocations: 80.67 kB / 0.822 GB, free: 6.73 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.526e-05/0.0109, allocations: 53.52 kB / 0.822 GB, free: 6.668 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.011e-05/0.01093, allocations: 7.938 kB / 0.822 GB, free: 6.66 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001136/0.01104, allocations: 137 kB / 0.8222 GB, free: 6.5 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.323e-06/0.01104, allocations: 1.938 kB / 0.8222 GB, free: 6.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0002511/0.0113, allocations: 266.3 kB / 0.8224 GB, free: 6.215 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.468e-05/0.01133, allocations: 85.23 kB / 0.8225 GB, free: 6.113 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005364/0.01187, allocations: 0.8234 MB / 0.8233 GB, free: 5.273 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.01188, allocations: 29.7 kB / 0.8233 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002558/0.01214, allocations: 431.1 kB / 0.8237 GB, free: 4.812 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/0.01216, allocations: 31.72 kB / 0.8238 GB, free: 4.781 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.097e-05/0.0122, allocations: 36.02 kB / 0.8238 GB, free: 4.738 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.654e-05/0.0123, allocations: 488.4 kB / 0.8243 GB, free: 4.254 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.436e-05/0.01233, allocations: 46.28 kB / 0.8243 GB, free: 4.203 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.909e-05/0.01236, allocations: 45.7 kB / 0.8244 GB, free: 4.152 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.617e-05/0.01243, allocations: 106.3 kB / 0.8245 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01243, allocations: 0 / 0.8245 GB, free: 4.035 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001743/0.01261, allocations: 233 kB / 0.8247 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.904e-05/0.01263, allocations: 39.41 kB / 0.8247 GB, free: 3.746 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.01264, allocations: 0 / 0.8247 GB, free: 3.746 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.458e-06/0.01265, allocations: 0 / 0.8247 GB, free: 3.746 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.004e-05/0.0127, allocations: 8 kB / 0.8247 GB, free: 3.738 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.446e-06/0.0127, allocations: 3.938 kB / 0.8247 GB, free: 3.734 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.929e-05/0.01277, allocations: 10.36 kB / 0.8247 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.01279, allocations: 8 kB / 0.8248 GB, free: 3.719 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 (booleanToInteger.y,greaterThreshold.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001281/0.01291, allocations: 200.1 kB / 0.8249 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.724e-05/0.01296, allocations: 75.5 kB / 0.825 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.01318, allocations: 234.6 kB / 0.8252 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.01319, allocations: 0 / 0.8252 GB, free: 3.176 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.01319, allocations: 4.875 kB / 0.8252 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.01319, allocations: 0 / 0.8252 GB, free: 3.172 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.01343, allocations: 313 kB / 0.8255 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-06/0.01343, allocations: 1.25 kB / 0.8255 GB, free: 2.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.687e-05/0.01346, allocations: 12 kB / 0.8256 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.01346, allocations: 0 / 0.8256 GB, free: 2.828 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.01347, allocations: 5.031 kB / 0.8256 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01347, allocations: 0 / 0.8256 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01347, allocations: 1.125 kB / 0.8256 GB, free: 2.824 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001936/0.01367, allocations: 287.2 kB / 0.8258 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.44e-05/0.01373, allocations: 67.5 kB / 0.8259 GB, free: 2.441 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.01376, allocations: 4.969 kB / 0.8259 GB, free: 2.438 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.389e-05/0.01382, allocations: 11.98 kB / 0.8259 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.796e-05/0.01385, allocations: 0 / 0.8259 GB, free: 2.426 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.01386, allocations: 8.578 kB / 0.8259 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002577/0.01412, allocations: 446.9 kB / 0.8264 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.6e-07/0.01412, allocations: 1.656 kB / 0.8264 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002623/0.01438, allocations: 135.7 kB / 0.8265 GB, free: 1.852 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,greaterThreshold.y,booleanToInteger.y) * Number of discrete states: 6 (speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 1 * 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.000257/0.01464, allocations: 200.6 kB / 0.8267 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001596/0.0148, allocations: 182.4 kB / 0.8269 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.0148, allocations: 0 / 0.8269 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 7.17e-05/0.01487, allocations: 136.7 kB / 0.827 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000332/0.01521, allocations: 132 kB / 0.8271 GB, free: 1.168 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001038/0.01624, allocations: 0.8846 MB / 0.828 GB, free: 244 kB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.01635, allocations: 183.8 kB / 0.8281 GB, free: 40 kB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.703e-05/0.01641, allocations: 13.95 kB / 0.8282 GB, free: 28 kB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001832/0.01659, allocations: 166.1 kB / 0.8283 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/0.01659, allocations: 0 / 0.8283 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of Templates: time 0.008711/0.0253, allocations: 6.186 MB / 0.8344 GB, free: 9.84 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.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.130989450961351]