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.001492/0.001492, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.002009/0.002009, allocations: 173 kB / 23.49 MB, free: 1.055 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.991/0.991, allocations: 177.1 MB / 203.8 MB, free: 5.605 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.157/2.157, allocations: 429.5 MB / 0.6736 GB, free: 4 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.332e-06/1.332e-06, allocations: 0 / 0.8782 GB, free: 6.586 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.585e-05/1.718e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.002329/0.002346, allocations: 2.111 MB / 0.8803 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002313/0.00466, allocations: 2.56 MB / 0.8828 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.402e-05/0.004754, allocations: 3.938 kB / 0.8828 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000862/0.005616, allocations: 479.1 kB / 0.8832 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 9.404e-05/0.00571, allocations: 75.52 kB / 0.8833 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005267/0.006237, allocations: 277.5 kB / 0.8836 GB, free: 1.113 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000304/0.006541, allocations: 340.4 kB / 0.8839 GB, free: 0.7812 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.006659, allocations: 41.27 kB / 0.8839 GB, free: 0.7383 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.006782, allocations: 155.5 kB / 0.8841 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001388/0.006921, allocations: 108.3 kB / 0.8842 GB, free: 492 kB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.006943, allocations: 8 kB / 0.8842 GB, free: 484 kB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003343/0.007277, allocations: 336.3 kB / 0.8845 GB, free: 148 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 8.646e-05/0.007364, allocations: 111.5 kB / 0.8846 GB, free: 36 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.007464, allocations: 101.3 kB / 0.8847 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005188/0.007983, allocations: 0.5996 MB / 0.8853 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.007986, allocations: 0 / 0.8853 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of FrontEnd: time 7.81e-07/0.007986, allocations: 0 / 0.8853 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.531e-06/0.007992, allocations: 0 / 0.8853 GB, free: 15.33 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.0009601/0.008952, allocations: 1.009 MB / 0.8863 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.008985, allocations: 8.031 kB / 0.8863 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.595e-05/0.009061, allocations: 76.52 kB / 0.8864 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.009337, allocations: 325.2 kB / 0.8867 GB, free: 13.85 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.762e-05/0.009355, allocations: 8.375 kB / 0.8867 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.00937, allocations: 8.312 kB / 0.8867 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.009535, allocations: 121.2 kB / 0.8868 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.009544, allocations: 3.938 kB / 0.8868 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.246e-05/0.009556, allocations: 4 kB / 0.8868 GB, free: 13.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.201e-05/0.009568, allocations: 8 kB / 0.8868 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.715e-05/0.009645, allocations: 69.66 kB / 0.8869 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006433/0.01029, allocations: 0.6633 MB / 0.8876 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.65e-05/0.01039, allocations: 76.75 kB / 0.8876 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.141e-05/0.01044, allocations: 57.61 kB / 0.8877 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.01047, allocations: 7.938 kB / 0.8877 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001313/0.0106, allocations: 148.4 kB / 0.8878 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 2.044e-06/0.0106, allocations: 0 / 0.8878 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.000308/0.01091, allocations: 278.4 kB / 0.8881 GB, free: 12.28 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.01095, allocations: 81.11 kB / 0.8882 GB, free: 12.18 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000616/0.01156, allocations: 0.8511 MB / 0.889 GB, free: 11.31 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.509e-05/0.01158, allocations: 29.7 kB / 0.889 GB, free: 11.28 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002576/0.01184, allocations: 442.6 kB / 0.8895 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.406e-05/0.01186, allocations: 19.8 kB / 0.8895 GB, free: 10.82 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.0119, allocations: 39.31 kB / 0.8895 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000104/0.01201, allocations: 488.4 kB / 0.89 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.313e-05/0.01205, allocations: 45.69 kB / 0.89 GB, free: 10.24 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.617e-05/0.01209, allocations: 49.69 kB / 0.8901 GB, free: 10.18 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.949e-05/0.01216, allocations: 107.1 kB / 0.8902 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.01217, allocations: 0 / 0.8902 GB, free: 10.06 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001747/0.01234, allocations: 236.7 kB / 0.8904 GB, free: 9.812 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.825e-05/0.01237, allocations: 33.7 kB / 0.8904 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.01237, allocations: 0 / 0.8904 GB, free: 9.773 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.01239, allocations: 7.875 kB / 0.8904 GB, free: 9.766 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.93e-05/0.01245, allocations: 15.92 kB / 0.8905 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/0.01245, allocations: 0 / 0.8905 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.652e-05/0.01252, allocations: 11.95 kB / 0.8905 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.601e-05/0.01253, allocations: 4 kB / 0.8905 GB, free: 9.734 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.0001033/0.01264, allocations: 194.3 kB / 0.8907 GB, free: 9.527 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.194e-05/0.01268, allocations: 71.58 kB / 0.8907 GB, free: 9.457 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002364/0.01292, allocations: 242.6 kB / 0.891 GB, free: 9.195 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.01292, allocations: 3.938 kB / 0.891 GB, free: 9.191 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.01292, allocations: 0 / 0.891 GB, free: 9.191 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.01292, allocations: 0 / 0.891 GB, free: 9.191 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00034/0.01326, allocations: 484.5 kB / 0.8914 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.01327, allocations: 0 / 0.8914 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.279e-05/0.01329, allocations: 4 kB / 0.8914 GB, free: 8.68 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.916e-06/0.01329, allocations: 4 kB / 0.8914 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.598e-06/0.0133, allocations: 0 / 0.8914 GB, free: 8.676 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.0133, allocations: 4 kB / 0.8914 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.01331, allocations: 3.938 kB / 0.8914 GB, free: 8.668 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001963/0.0135, allocations: 303.6 kB / 0.8917 GB, free: 8.336 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.266e-05/0.01356, allocations: 75.42 kB / 0.8918 GB, free: 8.262 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.161e-05/0.0136, allocations: 4 kB / 0.8918 GB, free: 8.258 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.074e-05/0.01365, allocations: 4 kB / 0.8918 GB, free: 8.254 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.01369, allocations: 11.92 kB / 0.8918 GB, free: 8.242 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.171e-05/0.0137, allocations: 4.188 kB / 0.8918 GB, free: 8.238 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003281/0.01403, allocations: 471 kB / 0.8923 GB, free: 7.785 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.01403, allocations: 0 / 0.8923 GB, free: 7.785 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003773/0.01441, allocations: 123.8 kB / 0.8924 GB, free: 7.664 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.0002422/0.01465, allocations: 203.1 kB / 0.8926 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001804/0.01483, allocations: 190.4 kB / 0.8928 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.01483, allocations: 0 / 0.8928 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.039e-05/0.0149, allocations: 136.7 kB / 0.8929 GB, free: 7.082 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.01522, allocations: 124.5 kB / 0.893 GB, free: 6.961 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.01631, allocations: 0.9001 MB / 0.8939 GB, free: 6.02 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001059/0.01641, allocations: 183.8 kB / 0.8941 GB, free: 5.82 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.998e-05/0.01646, allocations: 21.94 kB / 0.8941 GB, free: 5.801 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.614e-05/0.01649, allocations: 16.5 kB / 0.8941 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of SimCode: time 4.41e-07/0.01649, allocations: 0 / 0.8941 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of Templates: time 0.007638/0.02413, allocations: 5.614 MB / 0.8996 GB, free: 304 kB / 0.8542 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.587041819002479]