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.00135/0.00135, allocations: 81.95 kB / 20.68 MB, free: 3.816 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.001516/0.001516, allocations: 181 kB / 24.08 MB, free: 420 kB / 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.9061/0.9061, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.838/1.838, allocations: 377.9 MB / 0.624 GB, free: 8.41 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.593e-06/1.593e-06, allocations: 0 / 0.812 GB, free: 1.41 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.47e-05/2.629e-05, allocations: 2.312 kB / 0.812 GB, free: 1.406 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003014/0.00304, allocations: 2.096 MB / 0.8141 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002571/0.005611, allocations: 2.529 MB / 0.8166 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.005727, allocations: 4 kB / 0.8166 GB, free: 12.79 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0009334/0.00666, allocations: 473.4 kB / 0.817 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.006774, allocations: 76.75 kB / 0.8171 GB, free: 12.25 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005974/0.007371, allocations: 282.2 kB / 0.8174 GB, free: 11.98 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.000307/0.007678, allocations: 344.6 kB / 0.8177 GB, free: 11.64 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.007796, allocations: 41.27 kB / 0.8177 GB, free: 11.6 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000162/0.007958, allocations: 151.6 kB / 0.8179 GB, free: 11.45 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001238/0.008082, allocations: 111.7 kB / 0.818 GB, free: 11.34 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 2.342e-05/0.008105, allocations: 8 kB / 0.818 GB, free: 11.33 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006676/0.008773, allocations: 331.4 kB / 0.8183 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 9.38e-05/0.008867, allocations: 112 kB / 0.8184 GB, free: 10.9 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.465e-05/0.008951, allocations: 100.1 kB / 0.8185 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0005271/0.009478, allocations: 0.6035 MB / 0.8191 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.009481, allocations: 1.938 kB / 0.8191 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.152e-06/0.009482, allocations: 0 / 0.8191 GB, free: 10.2 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.009487, allocations: 0 / 0.8191 GB, free: 10.2 MB / 0.7761 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.000763/0.01025, allocations: 1.002 MB / 0.8201 GB, free: 9.148 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.01029, allocations: 8.875 kB / 0.8201 GB, free: 9.141 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.043e-05/0.01037, allocations: 80.47 kB / 0.8202 GB, free: 9.062 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002633/0.01063, allocations: 329.8 kB / 0.8205 GB, free: 8.715 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.901e-05/0.01065, allocations: 8.375 kB / 0.8205 GB, free: 8.707 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.01067, allocations: 9.031 kB / 0.8205 GB, free: 8.699 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001446/0.01081, allocations: 113.2 kB / 0.8206 GB, free: 8.574 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.01082, allocations: 7.031 kB / 0.8206 GB, free: 8.57 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.01083, allocations: 4 kB / 0.8206 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.01084, allocations: 0 / 0.8206 GB, free: 8.566 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.363e-05/0.01089, allocations: 61.61 kB / 0.8207 GB, free: 8.5 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004826/0.01137, allocations: 491.9 kB / 0.8211 GB, free: 7.992 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 8.19e-05/0.01145, allocations: 76.75 kB / 0.8212 GB, free: 7.898 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.391e-05/0.01149, allocations: 53.52 kB / 0.8213 GB, free: 7.836 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.01152, allocations: 6.438 kB / 0.8213 GB, free: 7.832 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001207/0.01164, allocations: 144.3 kB / 0.8214 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=11): time 1.252e-06/0.01164, allocations: 0 / 0.8214 GB, free: 7.664 MB / 0.7761 GB Notification: Performance of matching and sorting (n=11): time 0.0002415/0.01188, allocations: 266.4 kB / 0.8217 GB, free: 7.379 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.316e-05/0.01192, allocations: 85.23 kB / 0.8217 GB, free: 7.277 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005339/0.01245, allocations: 0.8195 MB / 0.8225 GB, free: 6.438 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.345e-05/0.01246, allocations: 26.67 kB / 0.8226 GB, free: 6.406 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.01271, allocations: 430.6 kB / 0.823 GB, free: 5.98 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.663e-05/0.01273, allocations: 35.72 kB / 0.823 GB, free: 5.945 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-05/0.01278, allocations: 36.45 kB / 0.823 GB, free: 5.902 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.01289, allocations: 488.4 kB / 0.8235 GB, free: 5.418 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.347e-05/0.01292, allocations: 41.69 kB / 0.8236 GB, free: 5.371 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.072e-05/0.01295, allocations: 50.75 kB / 0.8236 GB, free: 5.316 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.13e-05/0.01302, allocations: 107 kB / 0.8237 GB, free: 5.195 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01302, allocations: 0 / 0.8237 GB, free: 5.195 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001725/0.0132, allocations: 225.8 kB / 0.8239 GB, free: 4.957 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.93e-05/0.01323, allocations: 41.69 kB / 0.824 GB, free: 4.91 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.01324, allocations: 0 / 0.824 GB, free: 4.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.01325, allocations: 1 kB / 0.824 GB, free: 4.91 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.071e-05/0.0133, allocations: 11.98 kB / 0.824 GB, free: 4.898 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.01331, allocations: 4.562 kB / 0.824 GB, free: 4.895 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.276e-05/0.01337, allocations: 4 kB / 0.824 GB, free: 4.891 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.01338, allocations: 5.656 kB / 0.824 GB, free: 4.887 MB / 0.7761 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.000112/0.01349, allocations: 198.2 kB / 0.8242 GB, free: 4.676 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.571e-05/0.01354, allocations: 71.56 kB / 0.8242 GB, free: 4.605 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002152/0.01375, allocations: 238.5 kB / 0.8245 GB, free: 4.348 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.01376, allocations: 0.5 kB / 0.8245 GB, free: 4.348 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.325e-06/0.01376, allocations: 5.406 kB / 0.8245 GB, free: 4.344 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.01376, allocations: 3.984 kB / 0.8245 GB, free: 4.34 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002429/0.01401, allocations: 309 kB / 0.8248 GB, free: 4.012 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.01401, allocations: 0 / 0.8248 GB, free: 4.012 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.641e-05/0.01403, allocations: 12.84 kB / 0.8248 GB, free: 4 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.01404, allocations: 4 kB / 0.8248 GB, free: 3.996 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.01404, allocations: 9.281 kB / 0.8248 GB, free: 3.988 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/0.01405, allocations: 0 / 0.8248 GB, free: 3.988 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.01405, allocations: 0 / 0.8248 GB, free: 3.988 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.01424, allocations: 281.5 kB / 0.8251 GB, free: 3.68 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 6.176e-05/0.0143, allocations: 71.53 kB / 0.8251 GB, free: 3.609 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.01433, allocations: 4 kB / 0.8251 GB, free: 3.605 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.082e-05/0.01438, allocations: 4 kB / 0.8251 GB, free: 3.602 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.115e-05/0.01441, allocations: 7.984 kB / 0.8251 GB, free: 3.594 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.717e-06/0.01442, allocations: 6.438 kB / 0.8252 GB, free: 3.59 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0005515/0.01497, allocations: 450.8 kB / 0.8256 GB, free: 3.156 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01497, allocations: 0 / 0.8256 GB, free: 3.156 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002803/0.01525, allocations: 131.7 kB / 0.8257 GB, free: 3.027 MB / 0.7761 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.0002729/0.01552, allocations: 210.9 kB / 0.8259 GB, free: 2.809 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001474/0.01567, allocations: 182.5 kB / 0.8261 GB, free: 2.602 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.462e-06/0.01567, allocations: 0 / 0.8261 GB, free: 2.602 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 5.975e-05/0.01573, allocations: 124.8 kB / 0.8262 GB, free: 2.457 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000317/0.01605, allocations: 128.5 kB / 0.8263 GB, free: 2.332 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/0.01708, allocations: 0.8767 MB / 0.8272 GB, free: 1.414 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001111/0.01719, allocations: 191.8 kB / 0.8274 GB, free: 1.207 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 5.524e-05/0.01724, allocations: 17.95 kB / 0.8274 GB, free: 1.191 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/0.01741, allocations: 166.1 kB / 0.8275 GB, free: 1.027 MB / 0.7761 GB Notification: Performance of SimCode: time 7.72e-07/0.01742, allocations: 0 / 0.8275 GB, free: 1.027 MB / 0.7761 GB Notification: Performance of Templates: time 0.008293/0.02571, allocations: 6.146 MB / 0.8335 GB, free: 11.04 MB / 0.7917 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: 4.893919690046459]