Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 107.6 kB / 17.07 MB, free: 6.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002097/0.002097, allocations: 190.2 kB / 20.02 MB, free: 3.168 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.51/1.51, allocations: 222.9 MB / 245.7 MB, free: 4.203 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.723/2.723, allocations: 437.1 MB / 0.7177 GB, free: 4.527 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002004/0.002004, allocations: 63.89 kB / 1.028 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3067, allocations: 151.6 MB / 1.176 GB, free: 5.895 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003422/0.3102, allocations: 2.06 MB / 1.178 GB, free: 3.812 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003596/0.3138, allocations: 2.609 MB / 1.18 GB, free: 1.188 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.3139, allocations: 4 kB / 1.18 GB, free: 1.184 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.3152, allocations: 0.5017 MB / 1.181 GB, free: 0.6797 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000124/0.3153, allocations: 63.59 kB / 1.181 GB, free: 0.6172 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007927/0.3161, allocations: 279.3 kB / 1.181 GB, free: 352 kB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0004427/0.3166, allocations: 326.2 kB / 1.182 GB, free: 28 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.3168, allocations: 101 kB / 1.182 GB, free: 15.92 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.3169, allocations: 115.4 kB / 1.182 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001988/0.3172, allocations: 131.2 kB / 1.182 GB, free: 15.68 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.235e-05/0.3172, allocations: 8 kB / 1.182 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005319/0.3177, allocations: 319.5 kB / 1.182 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001278/0.3179, allocations: 107.5 kB / 1.182 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002107/0.3181, allocations: 214.5 kB / 1.182 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009288/0.319, allocations: 0.8249 MB / 1.183 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.319, allocations: 0 / 1.183 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.382e-06/0.319, allocations: 3.938 kB / 1.183 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.645e-06/0.3191, allocations: 8 kB / 1.183 GB, free: 14.2 MB / 0.9356 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.001135/0.3202, allocations: 0.8911 MB / 1.184 GB, free: 13.25 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.676e-05/0.3203, allocations: 11.97 kB / 1.184 GB, free: 13.24 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.464e-05/0.3204, allocations: 64.52 kB / 1.184 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005162/0.3209, allocations: 400.9 kB / 1.185 GB, free: 12.75 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.132e-05/0.3209, allocations: 8.375 kB / 1.185 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.3209, allocations: 4.375 kB / 1.185 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002519/0.3212, allocations: 136.6 kB / 1.185 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.3212, allocations: 0 / 1.185 GB, free: 12.6 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.3212, allocations: 4 kB / 1.185 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.3212, allocations: 7.984 kB / 1.185 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.3214, allocations: 93.67 kB / 1.185 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007813/0.3222, allocations: 0.551 MB / 1.185 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000179/0.3224, allocations: 106.5 kB / 1.186 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.042e-05/0.3225, allocations: 64.97 kB / 1.186 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.546e-05/0.3225, allocations: 8.188 kB / 1.186 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002054/0.3228, allocations: 137 kB / 1.186 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.422e-06/0.3228, allocations: 0 / 1.186 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0005227/0.3233, allocations: 310.9 kB / 1.186 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.444e-05/0.3234, allocations: 81.11 kB / 1.186 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001004/0.3244, allocations: 0.7973 MB / 1.187 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.275e-05/0.3244, allocations: 29.7 kB / 1.187 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.000296/0.3247, allocations: 288.3 kB / 1.187 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.872e-05/0.3248, allocations: 27.75 kB / 1.187 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.257e-05/0.3248, allocations: 29.7 kB / 1.187 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.325, allocations: 314 kB / 1.188 GB, free: 9.637 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.327e-05/0.3251, allocations: 43.98 kB / 1.188 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.662e-05/0.3252, allocations: 47.97 kB / 1.188 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000185/0.3254, allocations: 152.7 kB / 1.188 GB, free: 9.383 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.3254, allocations: 4 kB / 1.188 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003592/0.3258, allocations: 278.7 kB / 1.188 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.458e-05/0.3258, allocations: 37.69 kB / 1.188 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.3258, allocations: 0 / 1.188 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3258, allocations: 0 / 1.188 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.865e-05/0.3259, allocations: 8 kB / 1.188 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3259, allocations: 0 / 1.188 GB, free: 9.043 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.3261, allocations: 23.88 kB / 1.188 GB, free: 9.023 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.173e-05/0.3261, allocations: 4 kB / 1.188 GB, free: 9.02 MB / 0.9356 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.0003713/0.3265, allocations: 339.4 kB / 1.188 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.051e-05/0.3265, allocations: 71.52 kB / 1.188 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004682/0.327, allocations: 304.9 kB / 1.189 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.327, allocations: 0 / 1.189 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.327, allocations: 0 / 1.189 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.3271, allocations: 3.984 kB / 1.189 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004274/0.3275, allocations: 377.5 kB / 1.189 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.3275, allocations: 3.938 kB / 1.189 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.963e-05/0.3275, allocations: 8 kB / 1.189 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.3275, allocations: 0 / 1.189 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.3276, allocations: 8 kB / 1.189 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.3276, allocations: 0 / 1.189 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3276, allocations: 0 / 1.189 GB, free: 7.844 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004326/0.328, allocations: 322.1 kB / 1.189 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000156/0.3282, allocations: 148.6 kB / 1.19 GB, free: 7.34 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.873e-05/0.3283, allocations: 8 kB / 1.19 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.867e-05/0.3284, allocations: 7.938 kB / 1.19 GB, free: 7.324 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.67e-05/0.3284, allocations: 7.984 kB / 1.19 GB, free: 7.316 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.3284, allocations: 8 kB / 1.19 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007312/0.3292, allocations: 0.5809 MB / 1.19 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3292, allocations: 0 / 1.19 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004226/0.3296, allocations: 127.8 kB / 1.19 GB, free: 6.609 MB / 0.9356 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.0004033/0.33, allocations: 191 kB / 1.191 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003258/0.3304, allocations: 207.3 kB / 1.191 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3304, allocations: 0 / 1.191 GB, free: 6.199 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001676/0.3305, allocations: 155.4 kB / 1.191 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005196/0.3311, allocations: 120.2 kB / 1.191 GB, free: 5.918 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.3327, allocations: 1.14 MB / 1.192 GB, free: 4.742 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006637/0.3334, allocations: 0.9781 MB / 1.193 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.902e-05/0.3334, allocations: 23.38 kB / 1.193 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of SimCode: time 5.01e-07/0.3334, allocations: 0 / 1.193 GB, free: 3.715 MB / 0.9356 GB Notification: Performance of Templates: time 0.0104/0.3438, allocations: 6.741 MB / 1.2 GB, free: 13.03 MB / 0.9512 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 11.718446076032706]