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.001462/0.001462, 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.001623/0.001623, allocations: 169.3 kB / 23.02 MB, free: 1.555 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.9863/0.9863, allocations: 177.1 MB / 203.4 MB, free: 5.617 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.116/2.116, allocations: 429.5 MB / 0.6733 GB, free: 4.031 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.974e-06/1.974e-06, allocations: 0 / 0.8782 GB, free: 5.156 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.566e-05/2.763e-05, allocations: 2.312 kB / 0.8782 GB, free: 5.152 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003767/0.003794, allocations: 2.111 MB / 0.8803 GB, free: 3.059 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.003179/0.006973, allocations: 2.585 MB / 0.8828 GB, free: 488 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001244/0.007098, allocations: 4 kB / 0.8828 GB, free: 484 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001361/0.008458, allocations: 465.7 kB / 0.8832 GB, free: 16 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0001764/0.008635, allocations: 79.41 kB / 0.8833 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000888/0.009523, allocations: 279.2 kB / 0.8836 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004733/0.009996, allocations: 336.6 kB / 0.8839 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.01015, allocations: 53.17 kB / 0.884 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.01034, allocations: 151.6 kB / 0.8841 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001716/0.01052, allocations: 111.7 kB / 0.8842 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.997e-05/0.01055, allocations: 8 kB / 0.8842 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005259/0.01107, allocations: 327.5 kB / 0.8845 GB, free: 14.7 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001369/0.01121, allocations: 115.5 kB / 0.8846 GB, free: 14.58 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001399/0.01135, allocations: 99.62 kB / 0.8847 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.000826/0.01217, allocations: 0.6074 MB / 0.8853 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.01218, allocations: 0 / 0.8853 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.633e-06/0.01218, allocations: 0 / 0.8853 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.013e-06/0.01219, allocations: 0 / 0.8853 GB, free: 13.88 MB / 0.8073 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.00125/0.01344, allocations: 1.002 MB / 0.8863 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/0.01348, allocations: 8.031 kB / 0.8863 GB, free: 12.82 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000131/0.01361, allocations: 76.52 kB / 0.8864 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004194/0.01403, allocations: 329.2 kB / 0.8867 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.595e-05/0.01406, allocations: 8.375 kB / 0.8867 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.251e-05/0.01408, allocations: 12.38 kB / 0.8867 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.0143, allocations: 118.9 kB / 0.8868 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.01432, allocations: 3.938 kB / 0.8868 GB, free: 12.24 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.608e-05/0.01433, allocations: 8 kB / 0.8868 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.01434, allocations: 0 / 0.8868 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.01445, allocations: 79.75 kB / 0.8869 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009875/0.01543, allocations: 0.6556 MB / 0.8876 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001374/0.01557, allocations: 80.75 kB / 0.8876 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.245e-05/0.01563, allocations: 53.52 kB / 0.8877 GB, free: 11.3 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 4.897e-05/0.01568, allocations: 15.94 kB / 0.8877 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.01585, allocations: 148.4 kB / 0.8878 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=11): time 1.743e-06/0.01585, allocations: 0 / 0.8878 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11): time 0.0003895/0.01624, allocations: 274.5 kB / 0.8881 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.547e-05/0.01629, allocations: 85.11 kB / 0.8882 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008993/0.01719, allocations: 0.8394 MB / 0.889 GB, free: 9.863 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.01721, allocations: 33.7 kB / 0.889 GB, free: 9.824 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003401/0.01755, allocations: 430.6 kB / 0.8895 GB, free: 9.398 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 3.078e-05/0.01758, allocations: 23.84 kB / 0.8895 GB, free: 9.375 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.599e-05/0.01763, allocations: 31.38 kB / 0.8895 GB, free: 9.336 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.01777, allocations: 488.4 kB / 0.89 GB, free: 8.852 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.574e-05/0.01782, allocations: 53.62 kB / 0.89 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.606e-05/0.01787, allocations: 49.69 kB / 0.8901 GB, free: 8.738 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.01798, allocations: 111 kB / 0.8902 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.01798, allocations: 0 / 0.8902 GB, free: 8.613 MB / 0.8073 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002661/0.01825, allocations: 232.7 kB / 0.8904 GB, free: 8.367 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.939e-05/0.01829, allocations: 37.69 kB / 0.8904 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.01829, allocations: 0 / 0.8904 GB, free: 8.324 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.01831, allocations: 3.938 kB / 0.8904 GB, free: 8.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.831e-05/0.01839, allocations: 11.98 kB / 0.8904 GB, free: 8.309 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.74e-06/0.01839, allocations: 0 / 0.8904 GB, free: 8.309 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001021/0.0185, allocations: 19.89 kB / 0.8905 GB, free: 8.289 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/0.01852, allocations: 4 kB / 0.8905 GB, free: 8.285 MB / 0.8073 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.0001463/0.01866, allocations: 204.3 kB / 0.8907 GB, free: 8.07 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.408e-05/0.01873, allocations: 71.52 kB / 0.8907 GB, free: 8 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003224/0.01905, allocations: 234.6 kB / 0.891 GB, free: 7.738 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.01905, allocations: 3.938 kB / 0.891 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.01906, allocations: 4 kB / 0.891 GB, free: 7.73 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.01906, allocations: 3.984 kB / 0.891 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005096/0.01957, allocations: 480.5 kB / 0.8914 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.01957, allocations: 0 / 0.8914 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.693e-05/0.01962, allocations: 15.94 kB / 0.8914 GB, free: 7.207 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.01962, allocations: 0 / 0.8914 GB, free: 7.207 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.01964, allocations: 4 kB / 0.8914 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.574e-06/0.01964, allocations: 0 / 0.8914 GB, free: 7.203 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.01964, allocations: 3.938 kB / 0.8915 GB, free: 7.199 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003103/0.01996, allocations: 291.7 kB / 0.8917 GB, free: 6.879 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.02006, allocations: 67.5 kB / 0.8918 GB, free: 6.812 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.108e-05/0.02011, allocations: 11.98 kB / 0.8918 GB, free: 6.801 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.088e-05/0.0202, allocations: 4 kB / 0.8918 GB, free: 6.797 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.835e-05/0.02025, allocations: 7.922 kB / 0.8918 GB, free: 6.789 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.02026, allocations: 8 kB / 0.8918 GB, free: 6.781 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.000578/0.02084, allocations: 467 kB / 0.8923 GB, free: 6.328 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.2e-07/0.02084, allocations: 0 / 0.8923 GB, free: 6.328 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0004912/0.02133, allocations: 127.8 kB / 0.8924 GB, free: 6.203 MB / 0.8073 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.0003882/0.02172, allocations: 214.6 kB / 0.8926 GB, free: 5.988 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.000231/0.02195, allocations: 186.5 kB / 0.8928 GB, free: 5.777 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.02195, allocations: 0 / 0.8928 GB, free: 5.777 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 9.713e-05/0.02205, allocations: 132.7 kB / 0.8929 GB, free: 5.625 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004956/0.02255, allocations: 136.1 kB / 0.893 GB, free: 5.496 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.0241, allocations: 0.8847 MB / 0.8939 GB, free: 4.566 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001534/0.02426, allocations: 179.8 kB / 0.8941 GB, free: 4.371 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 8.577e-05/0.02434, allocations: 25.94 kB / 0.8941 GB, free: 4.348 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.574e-05/0.02438, allocations: 16.5 kB / 0.8941 GB, free: 4.332 MB / 0.8073 GB Notification: Performance of SimCode: time 9.92e-07/0.02438, allocations: 0 / 0.8941 GB, free: 4.332 MB / 0.8073 GB Notification: Performance of Templates: time 0.01078/0.03516, allocations: 5.606 MB / 0.8996 GB, free: 14.84 MB / 0.823 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.557138051837683]