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.002716/0.002716, allocations: 83.69 kB / 20.23 MB, free: 4.184 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.003419/0.003419, allocations: 157.7 kB / 23.55 MB, free: 0.8672 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.588/1.588, allocations: 177.1 MB / 203.9 MB, free: 5.621 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.962/2.962, allocations: 359 MB / 0.6048 GB, free: 10.94 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.234e-06/2.234e-06, allocations: 0 / 0.7864 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.52e-05/3.743e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.004284/0.004321, allocations: 2.089 MB / 0.7884 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004559/0.00888, allocations: 2.557 MB / 0.7909 GB, free: 8 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001654/0.009046, allocations: 0 / 0.7909 GB, free: 8 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001608/0.01065, allocations: 477.1 kB / 0.7914 GB, free: 7.535 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001631/0.01082, allocations: 73.45 kB / 0.7915 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001034/0.01185, allocations: 281.7 kB / 0.7917 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000542/0.01239, allocations: 338.8 kB / 0.7921 GB, free: 6.859 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001734/0.01257, allocations: 41.92 kB / 0.7921 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000236/0.0128, allocations: 151.6 kB / 0.7922 GB, free: 6.668 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000242/0.01304, allocations: 112.9 kB / 0.7923 GB, free: 6.559 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.5e-05/0.01309, allocations: 8 kB / 0.7924 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006457/0.01374, allocations: 331.5 kB / 0.7927 GB, free: 6.227 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001662/0.0139, allocations: 112.1 kB / 0.7928 GB, free: 6.117 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.01406, allocations: 95.59 kB / 0.7929 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001255/0.01532, allocations: 0.8577 MB / 0.7937 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.01532, allocations: 0 / 0.7937 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.132e-06/0.01532, allocations: 0 / 0.7937 GB, free: 5.164 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.01533, allocations: 0.8438 kB / 0.7937 GB, free: 5.164 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.001557/0.01689, allocations: 1.001 MB / 0.7947 GB, free: 4.117 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.01693, allocations: 8.594 kB / 0.7947 GB, free: 4.109 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.01707, allocations: 81.59 kB / 0.7948 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005269/0.0176, allocations: 341.2 kB / 0.7951 GB, free: 3.672 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.987e-05/0.01762, allocations: 4.375 kB / 0.7951 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.21e-05/0.01764, allocations: 9.344 kB / 0.7951 GB, free: 3.66 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000266/0.0179, allocations: 131 kB / 0.7952 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.01792, allocations: 4.781 kB / 0.7952 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.319e-05/0.01793, allocations: 0 / 0.7952 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.077e-06/0.01794, allocations: 4 kB / 0.7952 GB, free: 3.516 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.01811, allocations: 91.88 kB / 0.7953 GB, free: 3.422 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.01921, allocations: 0.6828 MB / 0.796 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002031/0.01942, allocations: 112.7 kB / 0.7961 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.986e-05/0.01952, allocations: 65.52 kB / 0.7962 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.961e-05/0.01957, allocations: 10.78 kB / 0.7962 GB, free: 2.492 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002825/0.01985, allocations: 156.4 kB / 0.7963 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.01985, allocations: 0 / 0.7963 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0006172/0.02047, allocations: 306.9 kB / 0.7966 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.585e-05/0.02056, allocations: 85.11 kB / 0.7967 GB, free: 1.887 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001585/0.02215, allocations: 0.9331 MB / 0.7976 GB, free: 0.9375 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.607e-05/0.02217, allocations: 25.7 kB / 0.7976 GB, free: 0.9062 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005071/0.02268, allocations: 434.7 kB / 0.798 GB, free: 488 kB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.361e-05/0.02274, allocations: 33.2 kB / 0.7981 GB, free: 456 kB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.172e-05/0.02282, allocations: 39.36 kB / 0.7981 GB, free: 408 kB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0003026/0.02312, allocations: 488.4 kB / 0.7986 GB, free: 15.91 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001059/0.02323, allocations: 62.19 kB / 0.7986 GB, free: 15.85 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.604e-05/0.02332, allocations: 69.55 kB / 0.7987 GB, free: 15.77 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000194/0.02352, allocations: 128.6 kB / 0.7988 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.02352, allocations: 4.062 kB / 0.7988 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000415/0.02394, allocations: 260.6 kB / 0.7991 GB, free: 15.36 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 5.493e-05/0.02399, allocations: 37.69 kB / 0.7991 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.024, allocations: 0.875 kB / 0.7991 GB, free: 15.31 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.161e-05/0.02402, allocations: 7.938 kB / 0.7991 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.679e-05/0.0241, allocations: 5.094 kB / 0.7991 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.02412, allocations: 4 kB / 0.7991 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001179/0.02423, allocations: 8 kB / 0.7991 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.287e-05/0.02426, allocations: 4.656 kB / 0.7991 GB, free: 15.29 MB / 0.7605 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.0003153/0.02457, allocations: 265.1 kB / 0.7994 GB, free: 15.01 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.211e-05/0.02466, allocations: 71.58 kB / 0.7995 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000472/0.02514, allocations: 262.6 kB / 0.7997 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.611e-06/0.02514, allocations: 7.906 kB / 0.7997 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.02514, allocations: 0 / 0.7997 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.02515, allocations: 0 / 0.7997 GB, free: 14.66 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000738/0.02589, allocations: 0.4887 MB / 0.8002 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.02589, allocations: 0 / 0.8002 GB, free: 14.13 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.553e-05/0.02593, allocations: 11.98 kB / 0.8002 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.02593, allocations: 0 / 0.8002 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/0.02595, allocations: 4 kB / 0.8002 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-06/0.02595, allocations: 0 / 0.8002 GB, free: 14.12 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.02596, allocations: 3.938 kB / 0.8002 GB, free: 14.11 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004826/0.02644, allocations: 323.2 kB / 0.8005 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001578/0.0266, allocations: 68.41 kB / 0.8006 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.719e-05/0.02666, allocations: 8 kB / 0.8006 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.971e-05/0.02676, allocations: 9.016 kB / 0.8006 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.996e-05/0.02682, allocations: 3.938 kB / 0.8006 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.02683, allocations: 7.984 kB / 0.8006 GB, free: 13.67 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.000803/0.02764, allocations: 0.5352 MB / 0.8011 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.02764, allocations: 0 / 0.8011 GB, free: 13.14 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0005408/0.02818, allocations: 131.8 kB / 0.8013 GB, free: 13.01 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.0005432/0.02872, allocations: 200.2 kB / 0.8015 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0004271/0.02915, allocations: 227.5 kB / 0.8017 GB, free: 12.56 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.02915, allocations: 0 / 0.8017 GB, free: 12.56 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002125/0.02936, allocations: 157.2 kB / 0.8018 GB, free: 12.38 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006458/0.03001, allocations: 135.5 kB / 0.802 GB, free: 12.25 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.03162, allocations: 0.9469 MB / 0.8029 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.03203, allocations: 338.5 kB / 0.8032 GB, free: 10.91 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 7.963e-05/0.03211, allocations: 21.89 kB / 0.8032 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.247e-05/0.03215, allocations: 16.5 kB / 0.8032 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of SimCode: time 9.02e-07/0.03216, allocations: 0 / 0.8032 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of Templates: time 0.01322/0.04538, allocations: 5.598 MB / 0.8087 GB, free: 5.406 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 240] 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.610772678046487]