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.001043/0.001043, allocations: 83.59 kB / 20.45 MB, free: 4.113 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.001039/0.001039, allocations: 165 kB / 23.82 MB, free: 0.7422 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 1.049/1.049, allocations: 177.1 MB / 204.2 MB, free: 5.242 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.834/1.834, allocations: 359 MB / 0.6052 GB, free: 11.02 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 1.323e-06/1.323e-06, allocations: 3.938 kB / 0.7871 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.811e-05, allocations: 4.984 kB / 0.7871 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.00242/0.002438, allocations: 2.118 MB / 0.7892 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002283/0.004721, allocations: 2.569 MB / 0.7917 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.083e-05/0.004802, allocations: 0 / 0.7917 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0008418/0.005644, allocations: 465.3 kB / 0.7922 GB, free: 7.285 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.915e-05/0.005733, allocations: 73.06 kB / 0.7922 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005103/0.006243, allocations: 293.7 kB / 0.7925 GB, free: 6.93 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002952/0.006538, allocations: 326.7 kB / 0.7928 GB, free: 6.609 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.006655, allocations: 53.8 kB / 0.7929 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.006775, allocations: 144.1 kB / 0.793 GB, free: 6.414 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.006907, allocations: 112.9 kB / 0.7931 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.224e-05/0.006929, allocations: 8 kB / 0.7931 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000343/0.007272, allocations: 331.5 kB / 0.7934 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.737e-05/0.00736, allocations: 111.5 kB / 0.7935 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.018e-05/0.00745, allocations: 92.14 kB / 0.7936 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005105/0.007961, allocations: 0.6203 MB / 0.7942 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.007963, allocations: 0 / 0.7942 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.11e-07/0.007963, allocations: 0 / 0.7942 GB, free: 5.152 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.007969, allocations: 0 / 0.7942 GB, free: 5.152 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.0007784/0.008747, allocations: 0.995 MB / 0.7952 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.008781, allocations: 8.031 kB / 0.7952 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.561e-05/0.008856, allocations: 80.47 kB / 0.7953 GB, free: 4.027 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002825/0.009139, allocations: 338.2 kB / 0.7956 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.009155, allocations: 4.375 kB / 0.7956 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000161/0.009316, allocations: 18.11 kB / 0.7956 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.009468, allocations: 118.1 kB / 0.7957 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.009478, allocations: 7.875 kB / 0.7958 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.009489, allocations: 4 kB / 0.7958 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.009496, allocations: 3.984 kB / 0.7958 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.096e-05/0.009567, allocations: 70.41 kB / 0.7958 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005893/0.01016, allocations: 0.6517 MB / 0.7965 GB, free: 2.746 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.927e-05/0.01025, allocations: 85.66 kB / 0.7965 GB, free: 2.645 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.732e-05/0.01029, allocations: 58.83 kB / 0.7966 GB, free: 2.578 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.01033, allocations: 7.984 kB / 0.7966 GB, free: 2.57 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001243/0.01045, allocations: 136.4 kB / 0.7967 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 9.82e-07/0.01045, allocations: 0 / 0.7967 GB, free: 2.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002734/0.01073, allocations: 287.3 kB / 0.797 GB, free: 2.105 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.25e-05/0.01076, allocations: 81.09 kB / 0.7971 GB, free: 2.008 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005951/0.01136, allocations: 0.8493 MB / 0.7979 GB, free: 1.141 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.01137, allocations: 29.7 kB / 0.798 GB, free: 1.105 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002358/0.01161, allocations: 426.7 kB / 0.7984 GB, free: 0.6836 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.01163, allocations: 23.81 kB / 0.7984 GB, free: 0.6602 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.006e-05/0.01167, allocations: 35.36 kB / 0.7984 GB, free: 0.6172 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.925e-05/0.01177, allocations: 488.4 kB / 0.7989 GB, free: 136 kB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.899e-05/0.01181, allocations: 46.28 kB / 0.7989 GB, free: 84 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.441e-05/0.01184, allocations: 53.12 kB / 0.799 GB, free: 28 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.942e-05/0.01193, allocations: 111.5 kB / 0.7991 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01193, allocations: 0 / 0.7991 GB, free: 15.9 MB / 0.7605 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001761/0.01211, allocations: 240.5 kB / 0.7993 GB, free: 15.65 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.01214, allocations: 37.69 kB / 0.7993 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.01214, allocations: 0 / 0.7993 GB, free: 15.61 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.01215, allocations: 3.938 kB / 0.7994 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.673e-05/0.01221, allocations: 8 kB / 0.7994 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.01221, allocations: 0 / 0.7994 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.288e-05/0.01228, allocations: 8.438 kB / 0.7994 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.01229, allocations: 8 kB / 0.7994 GB, free: 15.58 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.0001137/0.01241, allocations: 202 kB / 0.7996 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.092e-05/0.01245, allocations: 71.58 kB / 0.7996 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.01267, allocations: 234.6 kB / 0.7999 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.01267, allocations: 3.938 kB / 0.7999 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.01268, allocations: 0.5312 kB / 0.7999 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.01268, allocations: 0 / 0.7999 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/0.01302, allocations: 489.1 kB / 0.8003 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.01302, allocations: 0 / 0.8003 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.42e-05/0.01305, allocations: 12.59 kB / 0.8003 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.01305, allocations: 0 / 0.8003 GB, free: 14.52 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.052e-05/0.01306, allocations: 8.641 kB / 0.8003 GB, free: 14.51 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.01306, allocations: 10.47 kB / 0.8004 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.01306, allocations: 3.938 kB / 0.8004 GB, free: 14.5 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.01326, allocations: 291.2 kB / 0.8006 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.038e-05/0.01333, allocations: 67.55 kB / 0.8007 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.915e-05/0.01335, allocations: 4 kB / 0.8007 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.145e-05/0.01341, allocations: 4 kB / 0.8007 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.756e-05/0.01344, allocations: 18.91 kB / 0.8007 GB, free: 14.09 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.375e-06/0.01345, allocations: 4 kB / 0.8007 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003524/0.0138, allocations: 471 kB / 0.8012 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.0138, allocations: 0 / 0.8012 GB, free: 13.63 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003505/0.01416, allocations: 131.8 kB / 0.8013 GB, free: 13.5 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.006322/0.02048, allocations: 199 kB / 0.8015 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002262/0.0207, allocations: 195.3 kB / 0.8017 GB, free: 13.08 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.0207, allocations: 0 / 0.8017 GB, free: 13.08 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 9.032e-05/0.02079, allocations: 128.8 kB / 0.8018 GB, free: 12.93 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004626/0.02126, allocations: 134.3 kB / 0.8019 GB, free: 12.8 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001523/0.02278, allocations: 0.8852 MB / 0.8028 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001395/0.02292, allocations: 189.2 kB / 0.803 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 6.787e-05/0.02299, allocations: 17.97 kB / 0.803 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.244e-05/0.02302, allocations: 20.48 kB / 0.803 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of SimCode: time 6.91e-07/0.02302, allocations: 0 / 0.803 GB, free: 11.64 MB / 0.7605 GB Notification: Performance of Templates: time 0.03371/0.05673, allocations: 5.615 MB / 0.8085 GB, free: 6.16 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: 5.50943621667102]