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.002463/0.002463, allocations: 85.48 kB / 19.44 MB, free: 344 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.002957/0.002957, allocations: 173.2 kB / 22.76 MB, free: 1.664 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.661/1.661, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 3.418/3.418, allocations: 429.5 MB / 0.6729 GB, free: 4.023 MB / 0.6355 GB " [Timeout remaining time 176] 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 4.92e-06/4.92e-06, allocations: 3.984 kB / 0.8775 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.391e-05/3.883e-05, allocations: 2.312 kB / 0.8775 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.004114/0.004153, allocations: 2.085 MB / 0.8795 GB, free: 4.547 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004388/0.008542, allocations: 2.548 MB / 0.882 GB, free: 2 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001267/0.008669, allocations: 5.562 kB / 0.882 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001429/0.0101, allocations: 474.7 kB / 0.8825 GB, free: 1.531 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000149/0.01025, allocations: 67.53 kB / 0.8825 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009775/0.01122, allocations: 299.1 kB / 0.8828 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005043/0.01173, allocations: 330.1 kB / 0.8831 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001633/0.01189, allocations: 49.25 kB / 0.8832 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002205/0.01211, allocations: 147.5 kB / 0.8833 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002235/0.01234, allocations: 107.7 kB / 0.8834 GB, free: 0.5469 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.558e-05/0.01238, allocations: 15.94 kB / 0.8834 GB, free: 0.5312 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009305/0.01331, allocations: 331.5 kB / 0.8838 GB, free: 212 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.01347, allocations: 111.5 kB / 0.8839 GB, free: 100 kB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001569/0.01362, allocations: 95.61 kB / 0.884 GB, free: 4 kB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001199/0.01482, allocations: 0.8566 MB / 0.8848 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/0.01483, allocations: 4 kB / 0.8848 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.513e-06/0.01483, allocations: 0 / 0.8848 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.947e-06/0.01484, allocations: 0 / 0.8848 GB, free: 15.14 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.0015/0.01634, allocations: 1.001 MB / 0.8858 GB, free: 14.09 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.01638, allocations: 12.03 kB / 0.8858 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001314/0.01652, allocations: 76.52 kB / 0.8859 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005322/0.01705, allocations: 337.2 kB / 0.8862 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/0.01707, allocations: 4.375 kB / 0.8862 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.302e-05/0.01709, allocations: 8.375 kB / 0.8862 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002797/0.01737, allocations: 134.8 kB / 0.8863 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.01738, allocations: 3.938 kB / 0.8863 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.0174, allocations: 0 / 0.8863 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.0174, allocations: 4 kB / 0.8863 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001737/0.01758, allocations: 93.59 kB / 0.8864 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00115/0.01873, allocations: 0.6752 MB / 0.8871 GB, free: 12.68 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.01894, allocations: 112.7 kB / 0.8872 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.01904, allocations: 73.5 kB / 0.8873 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.317e-05/0.01908, allocations: 4 kB / 0.8873 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002402/0.01932, allocations: 152.4 kB / 0.8874 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.293e-06/0.01933, allocations: 0 / 0.8874 GB, free: 12.29 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0005803/0.01991, allocations: 318.3 kB / 0.8877 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/0.01998, allocations: 85.09 kB / 0.8878 GB, free: 11.86 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.02131, allocations: 0.9253 MB / 0.8887 GB, free: 10.91 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.878e-05/0.02134, allocations: 33.7 kB / 0.8887 GB, free: 10.88 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005143/0.02186, allocations: 430.6 kB / 0.8891 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/0.0219, allocations: 35.78 kB / 0.8892 GB, free: 10.41 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.541e-05/0.02198, allocations: 39.36 kB / 0.8892 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002646/0.02224, allocations: 488.4 kB / 0.8897 GB, free: 9.883 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.23e-05/0.02233, allocations: 57.69 kB / 0.8897 GB, free: 9.82 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.968e-05/0.02242, allocations: 57.69 kB / 0.8898 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001933/0.02262, allocations: 135 kB / 0.8899 GB, free: 9.609 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.093e-06/0.02262, allocations: 7.938 kB / 0.8899 GB, free: 9.602 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003856/0.023, allocations: 260.6 kB / 0.8902 GB, free: 9.328 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.005e-05/0.02305, allocations: 33.7 kB / 0.8902 GB, free: 9.289 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.02306, allocations: 0 / 0.8902 GB, free: 9.289 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.02308, allocations: 11.92 kB / 0.8902 GB, free: 9.277 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.641e-05/0.02317, allocations: 8 kB / 0.8902 GB, free: 9.27 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.801e-06/0.02317, allocations: 0 / 0.8902 GB, free: 9.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001125/0.02329, allocations: 11.95 kB / 0.8902 GB, free: 9.258 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.283e-05/0.02331, allocations: 4 kB / 0.8902 GB, free: 9.254 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.000569/0.02388, allocations: 262.8 kB / 0.8905 GB, free: 8.98 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.984e-05/0.02397, allocations: 71.58 kB / 0.8905 GB, free: 8.91 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000469/0.02444, allocations: 267 kB / 0.8908 GB, free: 8.625 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.737e-06/0.02445, allocations: 7.922 kB / 0.8908 GB, free: 8.617 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.02445, allocations: 0 / 0.8908 GB, free: 8.617 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.02445, allocations: 4 kB / 0.8908 GB, free: 8.613 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000703/0.02516, allocations: 492.5 kB / 0.8913 GB, free: 8.098 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.087e-06/0.02516, allocations: 3.984 kB / 0.8913 GB, free: 8.094 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.127e-05/0.0252, allocations: 8 kB / 0.8913 GB, free: 8.086 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.0252, allocations: 0 / 0.8913 GB, free: 8.086 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.02522, allocations: 4 kB / 0.8913 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.02522, allocations: 0 / 0.8913 GB, free: 8.082 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.02522, allocations: 3.938 kB / 0.8913 GB, free: 8.078 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004621/0.02569, allocations: 319.4 kB / 0.8916 GB, free: 7.73 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001471/0.02583, allocations: 71.5 kB / 0.8917 GB, free: 7.66 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.826e-05/0.02589, allocations: 12 kB / 0.8917 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.918e-05/0.02599, allocations: 8 kB / 0.8917 GB, free: 7.641 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.707e-05/0.02605, allocations: 11.92 kB / 0.8917 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.916e-05/0.02607, allocations: 8 kB / 0.8917 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0007478/0.02682, allocations: 0.5341 MB / 0.8922 GB, free: 7.094 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.02682, allocations: 0 / 0.8922 GB, free: 7.094 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004399/0.02726, allocations: 127.8 kB / 0.8924 GB, free: 6.969 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.0004542/0.02771, allocations: 199.1 kB / 0.8925 GB, free: 6.762 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003732/0.02808, allocations: 226.4 kB / 0.8928 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.02808, allocations: 0 / 0.8928 GB, free: 6.512 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001802/0.02826, allocations: 148.8 kB / 0.8929 GB, free: 6.344 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005786/0.02884, allocations: 127.3 kB / 0.893 GB, free: 6.223 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.03039, allocations: 0.9539 MB / 0.894 GB, free: 5.23 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004356/0.03082, allocations: 338.5 kB / 0.8943 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.805e-05/0.0309, allocations: 21.94 kB / 0.8943 GB, free: 4.855 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.272e-05/0.03094, allocations: 20.5 kB / 0.8943 GB, free: 4.836 MB / 0.8542 GB Notification: Performance of SimCode: time 7.31e-07/0.03095, allocations: 0 / 0.8943 GB, free: 4.836 MB / 0.8542 GB Notification: Performance of Templates: time 0.01352/0.04446, allocations: 5.596 MB / 0.8998 GB, free: 15.36 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.042998226941563]