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.0009014/0.0009014, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009173/0.0009173, allocations: 161.4 kB / 24.17 MB, free: 332 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.9859/0.9859, allocations: 177.1 MB / 204.6 MB, free: 4.746 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.765/1.765, allocations: 377.9 MB / 0.624 GB, free: 8.336 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.262e-06/1.262e-06, allocations: 0 / 0.7601 GB, free: 6.547 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.091e-05/2.217e-05, allocations: 4.422 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.002529/0.002551, allocations: 2.09 MB / 0.7621 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002664/0.005215, allocations: 2.583 MB / 0.7646 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000124/0.005339, allocations: 1.219 kB / 0.7646 GB, free: 1.898 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.000984/0.006323, allocations: 473 kB / 0.7651 GB, free: 1.438 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.00011/0.006433, allocations: 77.94 kB / 0.7651 GB, free: 1.363 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006742/0.007107, allocations: 282.3 kB / 0.7654 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003208/0.007428, allocations: 337.1 kB / 0.7657 GB, free: 0.7617 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.007551, allocations: 53.11 kB / 0.7658 GB, free: 0.6992 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001641/0.007715, allocations: 162 kB / 0.7659 GB, free: 0.543 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.007835, allocations: 103.7 kB / 0.766 GB, free: 452 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.082e-05/0.007856, allocations: 8 kB / 0.7661 GB, free: 444 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003766/0.008232, allocations: 327.5 kB / 0.7664 GB, free: 116 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.864e-05/0.008321, allocations: 115.5 kB / 0.7665 GB, free: 0 / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0003511/0.008672, allocations: 91.75 kB / 0.7666 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005577/0.00923, allocations: 0.6113 MB / 0.7672 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.009233, allocations: 5.188 kB / 0.7672 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.91e-07/0.009234, allocations: 0 / 0.7672 GB, free: 15.29 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5e-06/0.009239, allocations: 0 / 0.7672 GB, free: 15.29 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.0006561/0.009895, allocations: 0.78 MB / 0.7679 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.009928, allocations: 12.03 kB / 0.7679 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.413e-05/0.009982, allocations: 46.05 kB / 0.768 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.01024, allocations: 314.5 kB / 0.7683 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.01026, allocations: 16.3 kB / 0.7683 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.01028, allocations: 6.281 kB / 0.7683 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.01042, allocations: 120 kB / 0.7684 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.01043, allocations: 11.91 kB / 0.7684 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.899e-06/0.01044, allocations: 4 kB / 0.7684 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.911e-06/0.01044, allocations: 4 kB / 0.7684 GB, free: 13.91 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.957e-05/0.01049, allocations: 52.44 kB / 0.7685 GB, free: 13.86 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000379/0.01087, allocations: 329.6 kB / 0.7688 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.985e-05/0.01096, allocations: 113.8 kB / 0.7689 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.284e-05/0.01099, allocations: 46.72 kB / 0.769 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.01102, allocations: 11.92 kB / 0.769 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001115/0.01114, allocations: 129.6 kB / 0.7691 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=11): time 1.373e-06/0.01114, allocations: 1.75 kB / 0.7691 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11): time 0.0001858/0.01132, allocations: 210.6 kB / 0.7693 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.505e-05/0.01136, allocations: 85.28 kB / 0.7694 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003029/0.01166, allocations: 0.5116 MB / 0.7699 GB, free: 12.32 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.01167, allocations: 30.45 kB / 0.7699 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003504/0.01202, allocations: 173.7 kB / 0.7701 GB, free: 12.11 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.613e-05/0.01205, allocations: 33.81 kB / 0.7701 GB, free: 12.07 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.098e-05/0.01209, allocations: 33.69 kB / 0.7701 GB, free: 12.04 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.411e-05/0.01216, allocations: 306 kB / 0.7704 GB, free: 11.73 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.82e-05/0.01219, allocations: 52.58 kB / 0.7705 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.509e-05/0.01222, allocations: 37.7 kB / 0.7705 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.488e-05/0.01228, allocations: 111.4 kB / 0.7706 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.01229, allocations: 4.531 kB / 0.7706 GB, free: 11.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001072/0.01239, allocations: 157.8 kB / 0.7708 GB, free: 11.33 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/0.01242, allocations: 37.69 kB / 0.7708 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.01243, allocations: 0.5 kB / 0.7708 GB, free: 11.29 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.217e-05/0.01244, allocations: 3.938 kB / 0.7708 GB, free: 11.28 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.669e-05/0.0125, allocations: 8.594 kB / 0.7708 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.0125, allocations: 4.812 kB / 0.7708 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.739e-05/0.01257, allocations: 11.98 kB / 0.7708 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.459e-05/0.01258, allocations: 5.5 kB / 0.7708 GB, free: 11.25 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.0001024/0.01268, allocations: 152.4 kB / 0.771 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.978e-05/0.01271, allocations: 39.95 kB / 0.771 GB, free: 11.05 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001613/0.01288, allocations: 191.7 kB / 0.7712 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.01288, allocations: 0 / 0.7712 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.01288, allocations: 0 / 0.7712 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.01288, allocations: 5.125 kB / 0.7712 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.01305, allocations: 193.6 kB / 0.7714 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.01305, allocations: 0 / 0.7714 GB, free: 10.63 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.478e-05/0.01307, allocations: 8 kB / 0.7714 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.01307, allocations: 5.141 kB / 0.7714 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.01308, allocations: 4 kB / 0.7714 GB, free: 10.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.01308, allocations: 3.984 kB / 0.7714 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.01309, allocations: 0.9375 kB / 0.7714 GB, free: 10.61 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.01322, allocations: 202 kB / 0.7716 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.127e-05/0.01328, allocations: 72.16 kB / 0.7717 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.981e-05/0.01331, allocations: 4 kB / 0.7717 GB, free: 10.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.404e-05/0.01336, allocations: 7.375 kB / 0.7717 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.0134, allocations: 7.984 kB / 0.7717 GB, free: 10.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.01341, allocations: 4 kB / 0.7717 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001667/0.01357, allocations: 244.6 kB / 0.7719 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.01357, allocations: 0 / 0.7719 GB, free: 10.06 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002575/0.01383, allocations: 127.8 kB / 0.7721 GB, free: 9.934 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.0002754/0.01411, allocations: 196.1 kB / 0.7722 GB, free: 9.734 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001403/0.01425, allocations: 183.1 kB / 0.7724 GB, free: 9.531 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.01425, allocations: 8 kB / 0.7724 GB, free: 9.523 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 6.106e-05/0.01431, allocations: 126 kB / 0.7725 GB, free: 9.379 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002817/0.0146, allocations: 126 kB / 0.7727 GB, free: 9.262 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.01566, allocations: 0.8807 MB / 0.7735 GB, free: 8.344 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001025/0.01576, allocations: 171.8 kB / 0.7737 GB, free: 8.156 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 6.644e-05/0.01583, allocations: 13.95 kB / 0.7737 GB, free: 8.141 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001734/0.016, allocations: 132.7 kB / 0.7738 GB, free: 8.016 MB / 0.7292 GB Notification: Performance of SimCode: time 8.12e-07/0.016, allocations: 0 / 0.7738 GB, free: 8.016 MB / 0.7292 GB Notification: Performance of Templates: time 0.008751/0.02475, allocations: 6.094 MB / 0.7798 GB, free: 2.195 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 -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.099255031906068]