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.001694/0.001694, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.001714/0.001714, allocations: 161.7 kB / 23.54 MB, free: 0.8867 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.557/1.557, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 2.808/2.808, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.014e-06/2.014e-06, allocations: 0 / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.516e-05/3.717e-05, allocations: 4.219 kB / 0.7864 GB, free: 12.78 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.004118/0.004156, allocations: 2.037 MB / 0.7884 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004112/0.008267, allocations: 2.362 MB / 0.7907 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001153/0.008382, allocations: 0 / 0.7907 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.009758, allocations: 465.9 kB / 0.7911 GB, free: 7.938 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001685/0.009927, allocations: 77.06 kB / 0.7912 GB, free: 7.863 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009393/0.01087, allocations: 281.7 kB / 0.7915 GB, free: 7.59 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005318/0.0114, allocations: 335.9 kB / 0.7918 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.01155, allocations: 45.25 kB / 0.7919 GB, free: 7.215 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00021/0.01176, allocations: 147.6 kB / 0.792 GB, free: 7.07 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002136/0.01198, allocations: 111.7 kB / 0.7921 GB, free: 6.961 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.713e-05/0.01203, allocations: 8 kB / 0.7921 GB, free: 6.953 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006084/0.01263, allocations: 332 kB / 0.7924 GB, free: 6.629 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001512/0.01279, allocations: 104.1 kB / 0.7925 GB, free: 6.527 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.01296, allocations: 101.2 kB / 0.7926 GB, free: 6.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.0142, allocations: 0.8604 MB / 0.7935 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.0142, allocations: 0 / 0.7935 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.493e-06/0.0142, allocations: 0 / 0.7935 GB, free: 5.566 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.415e-06/0.01421, allocations: 4 kB / 0.7935 GB, free: 5.562 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.001393/0.0156, allocations: 0.814 MB / 0.7943 GB, free: 4.711 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.01565, allocations: 8.031 kB / 0.7943 GB, free: 4.703 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001437/0.01579, allocations: 80.47 kB / 0.7943 GB, free: 4.625 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007604/0.01655, allocations: 342.3 kB / 0.7947 GB, free: 4.266 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.391e-05/0.01658, allocations: 8.906 kB / 0.7947 GB, free: 4.258 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.91e-05/0.0166, allocations: 4.375 kB / 0.7947 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003328/0.01693, allocations: 157.6 kB / 0.7948 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.337e-05/0.01694, allocations: 3.938 kB / 0.7948 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.86e-05/0.01696, allocations: 4 kB / 0.7948 GB, free: 4.082 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.01697, allocations: 4.812 kB / 0.7948 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002277/0.0172, allocations: 133.5 kB / 0.795 GB, free: 3.941 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008306/0.01803, allocations: 468.6 kB / 0.7954 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002271/0.01825, allocations: 129 kB / 0.7955 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001274/0.01838, allocations: 84.73 kB / 0.7956 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.941e-05/0.01843, allocations: 11.98 kB / 0.7956 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002533/0.01868, allocations: 162.8 kB / 0.7958 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.182e-06/0.01868, allocations: 0 / 0.7958 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0006499/0.01933, allocations: 370.5 kB / 0.7961 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.542e-05/0.01941, allocations: 85.11 kB / 0.7962 GB, free: 2.539 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001061/0.02047, allocations: 0.7587 MB / 0.797 GB, free: 1.773 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.679e-05/0.0205, allocations: 30.83 kB / 0.797 GB, free: 1.738 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003382/0.02084, allocations: 299.9 kB / 0.7973 GB, free: 1.441 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 4.495e-05/0.02088, allocations: 31.73 kB / 0.7973 GB, free: 1.41 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.397e-05/0.02094, allocations: 26.75 kB / 0.7973 GB, free: 1.379 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001823/0.02113, allocations: 314 kB / 0.7976 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001168/0.02124, allocations: 77.67 kB / 0.7977 GB, free: 0.9844 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.02135, allocations: 82.8 kB / 0.7978 GB, free: 0.8984 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002169/0.02157, allocations: 160.2 kB / 0.7979 GB, free: 0.7266 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.02157, allocations: 0 / 0.7979 GB, free: 0.7266 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0004488/0.02202, allocations: 306.2 kB / 0.7982 GB, free: 420 kB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.444e-05/0.02208, allocations: 41.64 kB / 0.7983 GB, free: 372 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.02208, allocations: 0 / 0.7983 GB, free: 372 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.974e-05/0.02211, allocations: 9.094 kB / 0.7983 GB, free: 364 kB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.251e-05/0.02219, allocations: 7.984 kB / 0.7983 GB, free: 356 kB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.0222, allocations: 0 / 0.7983 GB, free: 356 kB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.02232, allocations: 9.688 kB / 0.7983 GB, free: 348 kB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.384e-05/0.02235, allocations: 4 kB / 0.7983 GB, free: 344 kB / 0.7448 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.0004482/0.0228, allocations: 344.9 kB / 0.7986 GB, free: 15.98 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.836e-05/0.02289, allocations: 71.52 kB / 0.7987 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005402/0.02344, allocations: 327.3 kB / 0.799 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.02344, allocations: 3.938 kB / 0.799 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.02345, allocations: 0.625 kB / 0.799 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.02345, allocations: 1.094 kB / 0.799 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004316/0.02388, allocations: 317.1 kB / 0.7993 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.02388, allocations: 0 / 0.7993 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.02392, allocations: 4.781 kB / 0.7993 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/0.02393, allocations: 4 kB / 0.7993 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.02395, allocations: 4.906 kB / 0.7993 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.02395, allocations: 3.938 kB / 0.7993 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.915e-06/0.02396, allocations: 15.59 kB / 0.7994 GB, free: 15.2 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00049/0.02445, allocations: 344 kB / 0.7997 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001372/0.02458, allocations: 75.5 kB / 0.7998 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.438e-05/0.02465, allocations: 4 kB / 0.7998 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001086/0.02476, allocations: 4 kB / 0.7998 GB, free: 14.75 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.349e-05/0.02482, allocations: 15.92 kB / 0.7998 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.425e-05/0.02483, allocations: 4 kB / 0.7998 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0007836/0.02562, allocations: 0.5575 MB / 0.8003 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.02562, allocations: 0 / 0.8003 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005279/0.02615, allocations: 131.8 kB / 0.8004 GB, free: 14.05 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.0004844/0.02663, allocations: 203.1 kB / 0.8006 GB, free: 13.84 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003961/0.02703, allocations: 246.6 kB / 0.8009 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.02703, allocations: 4 kB / 0.8009 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001888/0.02722, allocations: 149.1 kB / 0.801 GB, free: 13.41 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006163/0.02783, allocations: 127.3 kB / 0.8011 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002039/0.02987, allocations: 1.119 MB / 0.8022 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005015/0.03037, allocations: 374.5 kB / 0.8026 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 9.899e-05/0.03047, allocations: 25.95 kB / 0.8026 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/0.03053, allocations: 24.48 kB / 0.8026 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of SimCode: time 1.323e-06/0.03053, allocations: 0 / 0.8026 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of Templates: time 0.01301/0.04354, allocations: 5.595 MB / 0.8081 GB, free: 6.223 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.415364993968979]