Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001004/0.001004, allocations: 82.64 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.000958/0.000958, allocations: 181 kB / 24.09 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.9518/0.9518, allocations: 177.1 MB / 204.5 MB, free: 5.484 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.71/1.71, allocations: 359 MB / 0.6055 GB, free: 10.86 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.SpeedShift,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|speShi.y|speShi.speRat",fileNamePrefix="Buildings_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0.7656 kB / 0.7876 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.164e-05/3.385e-05, allocations: 7.219 kB / 0.7876 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003787/0.003821, allocations: 2.099 MB / 0.7896 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003686/0.007507, allocations: 2.509 MB / 0.7921 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001627/0.00767, allocations: 1.219 kB / 0.7921 GB, free: 7.527 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001146/0.008816, allocations: 472.9 kB / 0.7926 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001186/0.008934, allocations: 72.88 kB / 0.7926 GB, free: 6.996 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007363/0.009671, allocations: 289.6 kB / 0.7929 GB, free: 6.715 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0003236/0.009994, allocations: 344 kB / 0.7932 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000124/0.01012, allocations: 45.25 kB / 0.7933 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001584/0.01028, allocations: 151.6 kB / 0.7934 GB, free: 6.184 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001112/0.01039, allocations: 104.7 kB / 0.7935 GB, free: 6.082 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.01041, allocations: 8 kB / 0.7935 GB, free: 6.074 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003682/0.01078, allocations: 341 kB / 0.7938 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.339e-05/0.01086, allocations: 107.6 kB / 0.7939 GB, free: 5.637 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 8.022e-05/0.01094, allocations: 99.61 kB / 0.794 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005334/0.01147, allocations: 0.6073 MB / 0.7946 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.01148, allocations: 0 / 0.7946 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.432e-06/0.01148, allocations: 0.5312 kB / 0.7946 GB, free: 4.93 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.01148, allocations: 0.6875 kB / 0.7946 GB, free: 4.93 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0008352/0.01232, allocations: 0.9943 MB / 0.7956 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.01237, allocations: 12.03 kB / 0.7956 GB, free: 3.879 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.809e-05/0.01245, allocations: 77.28 kB / 0.7957 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002716/0.01272, allocations: 333.2 kB / 0.796 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.066e-05/0.01274, allocations: 13.25 kB / 0.796 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.262e-05/0.01275, allocations: 8.375 kB / 0.796 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001344/0.01288, allocations: 114.4 kB / 0.7961 GB, free: 3.309 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.634e-06/0.01289, allocations: 3.938 kB / 0.7961 GB, free: 3.305 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.0129, allocations: 8 kB / 0.7962 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.01291, allocations: 0.8438 kB / 0.7962 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.408e-05/0.01296, allocations: 57.59 kB / 0.7962 GB, free: 3.234 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004781/0.01344, allocations: 494.1 kB / 0.7967 GB, free: 2.727 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.511e-05/0.01353, allocations: 84.66 kB / 0.7968 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.651e-05/0.01357, allocations: 53.48 kB / 0.7968 GB, free: 2.562 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.137e-05/0.01361, allocations: 10.28 kB / 0.7968 GB, free: 2.555 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001195/0.01373, allocations: 132.4 kB / 0.7969 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.954e-06/0.01373, allocations: 3.031 kB / 0.797 GB, free: 2.398 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002716/0.01401, allocations: 262.4 kB / 0.7972 GB, free: 2.117 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.854e-05/0.01404, allocations: 93.17 kB / 0.7973 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000557/0.0146, allocations: 0.8195 MB / 0.7981 GB, free: 1.168 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.504e-05/0.01462, allocations: 25.7 kB / 0.7981 GB, free: 1.137 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002524/0.01487, allocations: 430.6 kB / 0.7985 GB, free: 0.7109 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.92e-05/0.0149, allocations: 31.73 kB / 0.7986 GB, free: 0.6797 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.01494, allocations: 39.34 kB / 0.7986 GB, free: 0.6328 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.01506, allocations: 489.5 kB / 0.7991 GB, free: 152 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.573e-05/0.0151, allocations: 37.7 kB / 0.7991 GB, free: 108 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.882e-05/0.01512, allocations: 41.69 kB / 0.7991 GB, free: 60 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.204e-05/0.01521, allocations: 104.7 kB / 0.7992 GB, free: 15.94 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.01521, allocations: 8 kB / 0.7992 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001826/0.01539, allocations: 236.5 kB / 0.7995 GB, free: 15.68 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.433e-05/0.01543, allocations: 42.66 kB / 0.7995 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01543, allocations: 0 / 0.7995 GB, free: 15.64 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.1e-05/0.01544, allocations: 4 kB / 0.7995 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.695e-05/0.0155, allocations: 4.5 kB / 0.7995 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.666e-06/0.0155, allocations: 4.531 kB / 0.7995 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.712e-05/0.01557, allocations: 9.375 kB / 0.7995 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.412e-05/0.01558, allocations: 3.984 kB / 0.7995 GB, free: 15.61 MB / 0.7605 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.000119/0.0157, allocations: 194.3 kB / 0.7997 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.01575, allocations: 68.83 kB / 0.7998 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002371/0.01599, allocations: 234.6 kB / 0.8 GB, free: 15.09 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.01599, allocations: 7.984 kB / 0.8 GB, free: 15.08 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.316e-06/0.016, allocations: 3.938 kB / 0.8 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.327e-06/0.016, allocations: 1.094 kB / 0.8 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002491/0.01625, allocations: 312.9 kB / 0.8003 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.01625, allocations: 0.6562 kB / 0.8003 GB, free: 14.74 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.283e-05/0.01628, allocations: 11.98 kB / 0.8003 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.01629, allocations: 1.438 kB / 0.8003 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.0163, allocations: 8 kB / 0.8003 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.0163, allocations: 0 / 0.8003 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.0163, allocations: 0 / 0.8003 GB, free: 14.72 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.01652, allocations: 290.8 kB / 0.8006 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.146e-05/0.01659, allocations: 67.55 kB / 0.8007 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.865e-05/0.01662, allocations: 4 kB / 0.8007 GB, free: 14.34 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.226e-05/0.01668, allocations: 3.984 kB / 0.8007 GB, free: 14.33 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.378e-05/0.01671, allocations: 8 kB / 0.8007 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.01672, allocations: 4 kB / 0.8007 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0002845/0.01701, allocations: 446.9 kB / 0.8011 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.01701, allocations: 0 / 0.8011 GB, free: 13.89 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003175/0.01732, allocations: 135.7 kB / 0.8013 GB, free: 13.76 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: 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.0002782/0.0176, allocations: 206 kB / 0.8015 GB, free: 13.55 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001543/0.01776, allocations: 187.5 kB / 0.8016 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.01776, allocations: 0 / 0.8016 GB, free: 13.34 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 6.713e-05/0.01783, allocations: 124.8 kB / 0.8018 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.01817, allocations: 134.8 kB / 0.8019 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001147/0.01931, allocations: 0.8884 MB / 0.8027 GB, free: 12.14 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001192/0.01943, allocations: 179.8 kB / 0.8029 GB, free: 11.94 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.427e-05/0.01952, allocations: 21.95 kB / 0.8029 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001977/0.01972, allocations: 170.1 kB / 0.8031 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of SimCode: time 7.61e-07/0.01972, allocations: 0 / 0.8031 GB, free: 11.75 MB / 0.7605 GB Notification: Performance of Templates: time 0.009345/0.02906, allocations: 6.127 MB / 0.8091 GB, free: 5.766 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.852417824789882]