Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001337/0.001337, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 13.93 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.001506/0.001506, allocations: 169 kB / 23.02 MB, free: 1.551 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 0.8694/0.8694, allocations: 177.1 MB / 203.4 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.025/2.025, allocations: 429.5 MB / 0.6732 GB, free: 4.07 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.963e-06/1.963e-06, allocations: 0 / 0.8782 GB, free: 6.309 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.977e-05/3.173e-05, allocations: 5.266 kB / 0.8782 GB, free: 6.305 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003892/0.003924, allocations: 2.135 MB / 0.8803 GB, free: 4.18 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003197/0.007121, allocations: 2.572 MB / 0.8828 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001178/0.007239, allocations: 0 / 0.8828 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001102/0.00834, allocations: 481.3 kB / 0.8833 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001385/0.008479, allocations: 67.59 kB / 0.8833 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007225/0.009202, allocations: 287.1 kB / 0.8836 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003725/0.009574, allocations: 338.1 kB / 0.8839 GB, free: 472 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.009711, allocations: 49.23 kB / 0.884 GB, free: 420 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001983/0.009909, allocations: 151.6 kB / 0.8841 GB, free: 268 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000132/0.01004, allocations: 107.7 kB / 0.8842 GB, free: 160 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.573e-05/0.01007, allocations: 8 kB / 0.8842 GB, free: 152 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004898/0.01056, allocations: 335.4 kB / 0.8845 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001209/0.01068, allocations: 115.5 kB / 0.8847 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001261/0.0108, allocations: 95.61 kB / 0.8847 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0007414/0.01154, allocations: 0.6113 MB / 0.8853 GB, free: 15 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.582e-06/0.01155, allocations: 4 kB / 0.8853 GB, free: 15 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.372e-06/0.01155, allocations: 0 / 0.8853 GB, free: 15 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.01156, allocations: 0 / 0.8853 GB, free: 15 MB / 0.8542 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.0009611/0.01252, allocations: 0.9939 MB / 0.8863 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.01256, allocations: 8.031 kB / 0.8863 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.72e-05/0.01266, allocations: 76.5 kB / 0.8864 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003159/0.01298, allocations: 333.1 kB / 0.8867 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.013, allocations: 4.375 kB / 0.8867 GB, free: 13.52 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.01301, allocations: 12.38 kB / 0.8867 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.01319, allocations: 121.2 kB / 0.8868 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.0132, allocations: 7.938 kB / 0.8869 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.01321, allocations: 4 kB / 0.8869 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.01322, allocations: 0 / 0.8869 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.855e-05/0.0133, allocations: 71.86 kB / 0.8869 GB, free: 13.29 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006772/0.01397, allocations: 0.6478 MB / 0.8876 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001147/0.01409, allocations: 92.7 kB / 0.8876 GB, free: 12.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.829e-05/0.01414, allocations: 49.45 kB / 0.8877 GB, free: 12.44 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.9e-05/0.01418, allocations: 8.031 kB / 0.8877 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001362/0.01431, allocations: 136.4 kB / 0.8878 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.703e-06/0.01431, allocations: 4 kB / 0.8878 GB, free: 12.27 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0003326/0.01465, allocations: 294.3 kB / 0.8881 GB, free: 11.95 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.01469, allocations: 81.11 kB / 0.8882 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006359/0.01532, allocations: 0.8433 MB / 0.889 GB, free: 10.99 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.097e-05/0.01534, allocations: 29.7 kB / 0.889 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002605/0.0156, allocations: 430.6 kB / 0.8895 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.958e-05/0.01563, allocations: 23.8 kB / 0.8895 GB, free: 10.51 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.903e-05/0.01568, allocations: 39.31 kB / 0.8895 GB, free: 10.46 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001128/0.0158, allocations: 492.4 kB / 0.89 GB, free: 9.973 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.533e-05/0.01584, allocations: 41.7 kB / 0.89 GB, free: 9.926 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.791e-05/0.01588, allocations: 53.69 kB / 0.8901 GB, free: 9.867 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.607e-05/0.01596, allocations: 107.1 kB / 0.8902 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.01597, allocations: 0 / 0.8902 GB, free: 9.746 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002096/0.01618, allocations: 232.6 kB / 0.8904 GB, free: 9.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/0.01621, allocations: 41.69 kB / 0.8904 GB, free: 9.453 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.81e-06/0.01622, allocations: 0 / 0.8904 GB, free: 9.453 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.01623, allocations: 3.938 kB / 0.8904 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.315e-05/0.01631, allocations: 12.06 kB / 0.8905 GB, free: 9.438 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.01631, allocations: 0 / 0.8905 GB, free: 9.438 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.511e-05/0.01639, allocations: 11.94 kB / 0.8905 GB, free: 9.426 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.0164, allocations: 4 kB / 0.8905 GB, free: 9.422 MB / 0.8542 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.0001247/0.01653, allocations: 208.5 kB / 0.8907 GB, free: 9.203 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5e-05/0.01658, allocations: 71.58 kB / 0.8907 GB, free: 9.133 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002498/0.01683, allocations: 238.5 kB / 0.891 GB, free: 8.875 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.01683, allocations: 3.938 kB / 0.891 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.01683, allocations: 0 / 0.891 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.01684, allocations: 0 / 0.891 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003653/0.0172, allocations: 484.5 kB / 0.8914 GB, free: 8.363 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01721, allocations: 0 / 0.8914 GB, free: 8.363 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.975e-05/0.01723, allocations: 11.98 kB / 0.8914 GB, free: 8.352 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01724, allocations: 0 / 0.8914 GB, free: 8.352 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.01725, allocations: 12 kB / 0.8915 GB, free: 8.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.01725, allocations: 0 / 0.8915 GB, free: 8.34 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.01725, allocations: 3.938 kB / 0.8915 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.01747, allocations: 295.6 kB / 0.8917 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.858e-05/0.01754, allocations: 67.5 kB / 0.8918 GB, free: 7.945 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.569e-05/0.01758, allocations: 4 kB / 0.8918 GB, free: 7.941 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.004e-05/0.01764, allocations: 7.984 kB / 0.8918 GB, free: 7.934 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.346e-05/0.01768, allocations: 7.938 kB / 0.8918 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.107e-06/0.01769, allocations: 7.938 kB / 0.8918 GB, free: 7.918 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000334/0.01803, allocations: 471 kB / 0.8923 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.01803, allocations: 0 / 0.8923 GB, free: 7.465 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003077/0.01833, allocations: 131.8 kB / 0.8924 GB, free: 7.336 MB / 0.8542 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.0002901/0.01862, allocations: 195.1 kB / 0.8926 GB, free: 7.133 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001872/0.01881, allocations: 198.4 kB / 0.8928 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.233e-06/0.01881, allocations: 0 / 0.8928 GB, free: 6.91 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.971e-05/0.01889, allocations: 128.8 kB / 0.8929 GB, free: 6.762 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/0.01925, allocations: 127.5 kB / 0.893 GB, free: 6.637 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001185/0.02043, allocations: 0.8962 MB / 0.8939 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001177/0.02055, allocations: 183.8 kB / 0.8941 GB, free: 5.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 6.957e-05/0.02062, allocations: 17.95 kB / 0.8941 GB, free: 5.484 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.182e-05/0.02065, allocations: 20.5 kB / 0.8941 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of SimCode: time 1.062e-06/0.02065, allocations: 0 / 0.8941 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of Templates: time 0.009236/0.02989, allocations: 6.095 MB / 0.9001 GB, free: 15.49 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.299262734130025]