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.001388/0.001388, allocations: 71.75 kB / 20.97 MB, free: 3.582 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.001437/0.001437, allocations: 169 kB / 24.28 MB, free: 280 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.9516/0.9516, allocations: 177.1 MB / 204.6 MB, free: 5.637 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.838/1.838, allocations: 359 MB / 0.6055 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 2.234e-06/2.234e-06, allocations: 0 / 0.7871 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.651e-05/3.874e-05, allocations: 4.844 kB / 0.7871 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.004291/0.004329, allocations: 2.104 MB / 0.7892 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003143/0.007472, allocations: 2.557 MB / 0.7917 GB, free: 8.109 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001427/0.007615, allocations: 4 kB / 0.7917 GB, free: 8.105 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.008817, allocations: 473.3 kB / 0.7921 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.008949, allocations: 72.11 kB / 0.7922 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008444/0.009793, allocations: 289.8 kB / 0.7925 GB, free: 7.293 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004371/0.01023, allocations: 336.2 kB / 0.7928 GB, free: 6.965 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.01038, allocations: 41.27 kB / 0.7928 GB, free: 6.922 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001692/0.01055, allocations: 147.6 kB / 0.793 GB, free: 6.777 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001655/0.01071, allocations: 116.8 kB / 0.7931 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.01074, allocations: 8 kB / 0.7931 GB, free: 6.656 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007929/0.01153, allocations: 339.3 kB / 0.7934 GB, free: 6.324 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.01165, allocations: 108.1 kB / 0.7935 GB, free: 6.219 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001157/0.01177, allocations: 95.61 kB / 0.7936 GB, free: 6.125 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007275/0.0125, allocations: 0.6079 MB / 0.7942 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.0125, allocations: 0.875 kB / 0.7942 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.653e-06/0.0125, allocations: 0 / 0.7942 GB, free: 5.516 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.01251, allocations: 0 / 0.7942 GB, free: 5.516 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.000987/0.0135, allocations: 0.9947 MB / 0.7952 GB, free: 4.477 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.01354, allocations: 8.562 kB / 0.7952 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.333e-05/0.01363, allocations: 76.47 kB / 0.7953 GB, free: 4.395 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003227/0.01396, allocations: 338.5 kB / 0.7956 GB, free: 4.039 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.01398, allocations: 4.375 kB / 0.7956 GB, free: 4.035 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.724e-05/0.01399, allocations: 16.31 kB / 0.7956 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.01418, allocations: 120.2 kB / 0.7957 GB, free: 3.891 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.663e-05/0.0142, allocations: 3.938 kB / 0.7957 GB, free: 3.887 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.368e-05/0.01421, allocations: 4 kB / 0.7957 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.01422, allocations: 0.7812 kB / 0.7957 GB, free: 3.883 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.209e-05/0.0143, allocations: 77.52 kB / 0.7958 GB, free: 3.801 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007106/0.01501, allocations: 0.66 MB / 0.7965 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001156/0.01513, allocations: 81.56 kB / 0.7965 GB, free: 3.008 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.132e-05/0.01518, allocations: 53.52 kB / 0.7966 GB, free: 2.945 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.865e-05/0.01522, allocations: 8.938 kB / 0.7966 GB, free: 2.938 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/0.01536, allocations: 136.5 kB / 0.7967 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 2.384e-06/0.01536, allocations: 1.219 kB / 0.7967 GB, free: 2.777 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0003276/0.01569, allocations: 282.4 kB / 0.797 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.075e-05/0.01573, allocations: 81.11 kB / 0.7971 GB, free: 2.379 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006501/0.01638, allocations: 0.8443 MB / 0.7979 GB, free: 1.52 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.0164, allocations: 29.7 kB / 0.7979 GB, free: 1.484 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002647/0.01666, allocations: 426.7 kB / 0.7983 GB, free: 1.062 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.991e-05/0.01669, allocations: 34.05 kB / 0.7984 GB, free: 1.031 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.994e-05/0.01674, allocations: 43.34 kB / 0.7984 GB, free: 0.9805 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.00012/0.01686, allocations: 484.4 kB / 0.7989 GB, free: 0.5 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.94e-05/0.01691, allocations: 49.69 kB / 0.7989 GB, free: 456 kB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.69e-05/0.01695, allocations: 49.75 kB / 0.799 GB, free: 400 kB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.999e-05/0.01704, allocations: 115.4 kB / 0.7991 GB, free: 268 kB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.01704, allocations: 3.406 kB / 0.7991 GB, free: 268 kB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000202/0.01724, allocations: 232.6 kB / 0.7993 GB, free: 16 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.47e-05/0.0173, allocations: 37.69 kB / 0.7993 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.628e-06/0.0173, allocations: 0 / 0.7993 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.651e-05/0.01732, allocations: 3.938 kB / 0.7993 GB, free: 15.97 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.095e-05/0.01739, allocations: 11.98 kB / 0.7993 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.01739, allocations: 0 / 0.7993 GB, free: 15.96 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.252e-05/0.01747, allocations: 4 kB / 0.7994 GB, free: 15.95 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.658e-05/0.01748, allocations: 8 kB / 0.7994 GB, free: 15.95 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.0001216/0.01761, allocations: 203.1 kB / 0.7996 GB, free: 15.73 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.544e-05/0.01765, allocations: 67.58 kB / 0.7996 GB, free: 15.66 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002651/0.01792, allocations: 231.2 kB / 0.7998 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.01792, allocations: 4.5 kB / 0.7998 GB, free: 15.41 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.01792, allocations: 8.547 kB / 0.7998 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.01793, allocations: 0 / 0.7998 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006815/0.01861, allocations: 489.7 kB / 0.8003 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.01861, allocations: 0 / 0.8003 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.123e-05/0.01864, allocations: 11.94 kB / 0.8003 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.01865, allocations: 0 / 0.8003 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.233e-05/0.01866, allocations: 8.969 kB / 0.8003 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.01866, allocations: 0 / 0.8003 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.345e-06/0.01866, allocations: 4.5 kB / 0.8003 GB, free: 14.87 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002206/0.01888, allocations: 291.3 kB / 0.8006 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.929e-05/0.01895, allocations: 72.19 kB / 0.8007 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.482e-05/0.01899, allocations: 4 kB / 0.8007 GB, free: 14.47 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.018e-05/0.01905, allocations: 9.844 kB / 0.8007 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.781e-05/0.0191, allocations: 7.922 kB / 0.8007 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.121e-05/0.01911, allocations: 8 kB / 0.8007 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003494/0.01946, allocations: 467 kB / 0.8012 GB, free: 14 MB / 0.7605 GB Notification: Performance of sort global known variables: time 9e-08/0.01946, allocations: 3.344 kB / 0.8012 GB, free: 14 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003194/0.01978, allocations: 127.8 kB / 0.8013 GB, free: 13.88 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.0002947/0.02007, allocations: 202.9 kB / 0.8015 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002001/0.02027, allocations: 190.5 kB / 0.8017 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.02027, allocations: 0 / 0.8017 GB, free: 13.45 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 7.601e-05/0.02035, allocations: 136.7 kB / 0.8018 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000421/0.02077, allocations: 128.2 kB / 0.8019 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.02214, allocations: 0.8891 MB / 0.8028 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.02226, allocations: 187.8 kB / 0.803 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 8.434e-05/0.02235, allocations: 19.05 kB / 0.803 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.038e-05/0.02238, allocations: 16.5 kB / 0.803 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of SimCode: time 7.41e-07/0.02238, allocations: 0 / 0.803 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of Templates: time 0.009863/0.03224, allocations: 5.606 MB / 0.8085 GB, free: 6.535 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.130680406000465]