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.0009582/0.0009582, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.00101/0.00101, allocations: 165 kB / 24.17 MB, free: 328 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 1.003/1.003, allocations: 177.2 MB / 204.6 MB, free: 5.465 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.911/1.911, allocations: 377.9 MB / 0.624 GB, free: 8.383 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.372e-06/1.372e-06, allocations: 3.938 kB / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.455e-05/1.592e-05, allocations: 4.844 kB / 0.7601 GB, free: 6.543 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002518/0.002534, allocations: 2.148 MB / 0.7622 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002395/0.004929, allocations: 2.571 MB / 0.7647 GB, free: 1.855 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.023e-05/0.00502, allocations: 4 kB / 0.7647 GB, free: 1.852 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0008408/0.00586, allocations: 474.8 kB / 0.7652 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 9.582e-05/0.005956, allocations: 79.41 kB / 0.7653 GB, free: 1.312 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004549/0.006411, allocations: 234.3 kB / 0.7655 GB, free: 1.086 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0002889/0.0067, allocations: 345.6 kB / 0.7658 GB, free: 0.75 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.006811, allocations: 50.67 kB / 0.7659 GB, free: 0.6914 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001451/0.006956, allocations: 155.6 kB / 0.766 GB, free: 0.5391 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001172/0.007073, allocations: 103.7 kB / 0.7661 GB, free: 448 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.976e-05/0.007093, allocations: 8 kB / 0.7661 GB, free: 440 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004063/0.0075, allocations: 372.8 kB / 0.7665 GB, free: 68 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 9.316e-05/0.007593, allocations: 111.5 kB / 0.7666 GB, free: 15.96 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.865e-05/0.007671, allocations: 96.89 kB / 0.7667 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005031/0.008174, allocations: 0.6113 MB / 0.7673 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/0.008176, allocations: 0 / 0.7673 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.91e-07/0.008177, allocations: 0 / 0.7673 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.008182, allocations: 4.656 kB / 0.7673 GB, free: 15.25 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.0006/0.008782, allocations: 0.7798 MB / 0.768 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.999e-05/0.008812, allocations: 8.031 kB / 0.768 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.147e-05/0.008864, allocations: 41.55 kB / 0.7681 GB, free: 14.39 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002466/0.00911, allocations: 323.6 kB / 0.7684 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.009123, allocations: 4.375 kB / 0.7684 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.886e-05/0.009142, allocations: 16.36 kB / 0.7684 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.009272, allocations: 120.6 kB / 0.7685 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.009278, allocations: 3.938 kB / 0.7685 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.456e-06/0.009287, allocations: 8 kB / 0.7685 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.009292, allocations: 3.984 kB / 0.7685 GB, free: 13.88 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.232e-05/0.009344, allocations: 57.62 kB / 0.7686 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003517/0.009696, allocations: 325.6 kB / 0.7689 GB, free: 13.48 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.158e-05/0.009777, allocations: 124.8 kB / 0.769 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.194e-05/0.009809, allocations: 46.62 kB / 0.7691 GB, free: 13.29 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.009836, allocations: 11.98 kB / 0.7691 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001012/0.009937, allocations: 129.6 kB / 0.7692 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.133e-06/0.009938, allocations: 0 / 0.7692 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001782/0.01012, allocations: 210.6 kB / 0.7694 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.148e-05/0.01015, allocations: 89.28 kB / 0.7695 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002995/0.01045, allocations: 0.5038 MB / 0.77 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.01046, allocations: 30.3 kB / 0.77 GB, free: 12.24 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.259e-05/0.01054, allocations: 178.3 kB / 0.7702 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.01057, allocations: 31.72 kB / 0.7702 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.505e-05/0.0106, allocations: 30.34 kB / 0.7702 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.994e-05/0.01067, allocations: 314 kB / 0.7705 GB, free: 11.68 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.032e-05/0.0107, allocations: 45.08 kB / 0.7706 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.768e-05/0.01073, allocations: 46.92 kB / 0.7706 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.114e-05/0.01079, allocations: 99 kB / 0.7707 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.01079, allocations: 0 / 0.7707 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001063/0.0109, allocations: 161 kB / 0.7709 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.737e-05/0.01093, allocations: 43.19 kB / 0.7709 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-06/0.01093, allocations: 64 / 0.7709 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.206e-06/0.01094, allocations: 4 kB / 0.7709 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.628e-05/0.01098, allocations: 8 kB / 0.7709 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.316e-06/0.01099, allocations: 6.375 kB / 0.7709 GB, free: 11.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.357e-05/0.01105, allocations: 7.984 kB / 0.7709 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.01106, allocations: 4 kB / 0.7709 GB, free: 11.21 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 9.805e-05/0.01116, allocations: 154.3 kB / 0.7711 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.094e-05/0.01119, allocations: 43.95 kB / 0.7711 GB, free: 11 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.01134, allocations: 192.7 kB / 0.7713 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.01134, allocations: 0 / 0.7713 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-06/0.01134, allocations: 0 / 0.7713 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.01135, allocations: 3.938 kB / 0.7713 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.01149, allocations: 185.6 kB / 0.7715 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-06/0.01149, allocations: 0 / 0.7715 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.183e-05/0.01151, allocations: 9.531 kB / 0.7715 GB, free: 10.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.01151, allocations: 3.984 kB / 0.7715 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.01152, allocations: 4 kB / 0.7715 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.01152, allocations: 7.938 kB / 0.7715 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.01152, allocations: 2.75 kB / 0.7715 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001248/0.01165, allocations: 202 kB / 0.7717 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.371e-05/0.01171, allocations: 67.48 kB / 0.7718 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.081e-05/0.01174, allocations: 8 kB / 0.7718 GB, free: 10.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.941e-05/0.01179, allocations: 4 kB / 0.7718 GB, free: 10.26 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.01182, allocations: 7.969 kB / 0.7718 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.01183, allocations: 8 kB / 0.7718 GB, free: 10.25 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001713/0.012, allocations: 244.1 kB / 0.772 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.012, allocations: 0 / 0.772 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002064/0.01221, allocations: 127.8 kB / 0.7722 GB, free: 9.891 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.0002191/0.01243, allocations: 192.5 kB / 0.7723 GB, free: 9.695 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001296/0.01256, allocations: 183.5 kB / 0.7725 GB, free: 9.488 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.711e-06/0.01256, allocations: 8 kB / 0.7725 GB, free: 9.48 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.443e-05/0.01263, allocations: 129.9 kB / 0.7726 GB, free: 9.332 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.01289, allocations: 119.4 kB / 0.7728 GB, free: 9.219 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009731/0.01386, allocations: 0.8784 MB / 0.7736 GB, free: 8.305 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.01396, allocations: 167.8 kB / 0.7738 GB, free: 8.121 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.048e-05/0.01401, allocations: 19.73 kB / 0.7738 GB, free: 8.102 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001693/0.01418, allocations: 133.3 kB / 0.7739 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of SimCode: time 5.41e-07/0.01418, allocations: 0 / 0.7739 GB, free: 7.973 MB / 0.7292 GB Notification: Performance of Templates: time 0.007964/0.02215, allocations: 6.096 MB / 0.7799 GB, free: 2.137 MB / 0.7292 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 -s gbode -gbm=radauIIA3 -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.9702203893102705]