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.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.002195/0.002195, allocations: 113.9 kB / 17.61 MB, free: 4.684 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.001695/0.001695, allocations: 185.9 kB / 20.78 MB, free: 1.52 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.521/1.521, allocations: 225.6 MB / 249.4 MB, free: 3.145 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.951/2.951, allocations: 496.2 MB / 0.7819 GB, free: 12.41 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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 0.002346/0.002346, allocations: 64.08 kB / 1.136 GB, free: 12.43 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.31/1.312, allocations: 173.6 MB / 1.305 GB, free: 33.42 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003404/1.315, allocations: 2.088 MB / 1.307 GB, free: 31.98 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003141/1.318, allocations: 2.617 MB / 1.31 GB, free: 30.15 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001665/1.319, allocations: 6.969 kB / 1.31 GB, free: 30.14 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001274/1.32, allocations: 0.5111 MB / 1.311 GB, free: 29.91 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001497/1.32, allocations: 72.27 kB / 1.311 GB, free: 29.88 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009469/1.321, allocations: 283.1 kB / 1.311 GB, free: 29.77 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.000392/1.321, allocations: 321.8 kB / 1.311 GB, free: 29.64 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001503/1.322, allocations: 45.27 kB / 1.311 GB, free: 29.61 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001408/1.322, allocations: 108.6 kB / 1.311 GB, free: 29.57 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001778/1.322, allocations: 137.2 kB / 1.311 GB, free: 29.51 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.832e-05/1.322, allocations: 16.33 kB / 1.311 GB, free: 29.5 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004734/1.322, allocations: 333.4 kB / 1.312 GB, free: 29.41 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.000105/1.322, allocations: 104.7 kB / 1.312 GB, free: 29.37 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001489/1.323, allocations: 212.6 kB / 1.312 GB, free: 29.22 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0008032/1.323, allocations: 0.826 MB / 1.313 GB, free: 28.95 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/1.323, allocations: 0 / 1.313 GB, free: 28.95 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.332e-06/1.323, allocations: 0 / 1.313 GB, free: 28.95 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.587e-06/1.323, allocations: 0 / 1.313 GB, free: 28.95 MB / 1.061 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.0009879/1.324, allocations: 0.894 MB / 1.314 GB, free: 28.21 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.283e-05/1.324, allocations: 7.438 kB / 1.314 GB, free: 28.21 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.301e-05/1.325, allocations: 76.12 kB / 1.314 GB, free: 28.17 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004671/1.325, allocations: 389.7 kB / 1.314 GB, free: 27.84 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.116e-05/1.325, allocations: 9.5 kB / 1.314 GB, free: 27.84 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.839e-05/1.325, allocations: 9.562 kB / 1.314 GB, free: 27.83 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002313/1.325, allocations: 137 kB / 1.314 GB, free: 27.77 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/1.325, allocations: 3.938 kB / 1.314 GB, free: 27.77 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.61e-05/1.325, allocations: 0 / 1.314 GB, free: 27.77 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/1.325, allocations: 2.906 kB / 1.314 GB, free: 27.77 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001587/1.325, allocations: 99.91 kB / 1.314 GB, free: 27.74 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006667/1.326, allocations: 0.5527 MB / 1.315 GB, free: 27.36 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001486/1.326, allocations: 97.61 kB / 1.315 GB, free: 27.31 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.877e-05/1.326, allocations: 54.38 kB / 1.315 GB, free: 27.29 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 4.226e-05/1.326, allocations: 7.047 kB / 1.315 GB, free: 27.29 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001617/1.327, allocations: 139.1 kB / 1.315 GB, free: 27.19 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/1.327, allocations: 0 / 1.315 GB, free: 27.19 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0004348/1.327, allocations: 313.2 kB / 1.316 GB, free: 27.04 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.28e-05/1.327, allocations: 83.73 kB / 1.316 GB, free: 26.95 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007714/1.328, allocations: 0.7946 MB / 1.316 GB, free: 26.64 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/1.328, allocations: 25.7 kB / 1.316 GB, free: 26.61 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001975/1.328, allocations: 289.4 kB / 1.317 GB, free: 26.38 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/1.328, allocations: 29.44 kB / 1.317 GB, free: 26.36 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.116e-05/1.328, allocations: 36.53 kB / 1.317 GB, free: 26.33 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.501e-05/1.328, allocations: 306 kB / 1.317 GB, free: 26.03 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.518e-05/1.328, allocations: 47.91 kB / 1.317 GB, free: 26.02 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.748e-05/1.328, allocations: 46.78 kB / 1.317 GB, free: 26 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001354/1.328, allocations: 160.6 kB / 1.317 GB, free: 25.9 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/1.328, allocations: 0 / 1.317 GB, free: 25.9 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002765/1.329, allocations: 274.1 kB / 1.318 GB, free: 25.76 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.469e-05/1.329, allocations: 38.28 kB / 1.318 GB, free: 25.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/1.329, allocations: 0 / 1.318 GB, free: 25.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.251e-05/1.329, allocations: 0 / 1.318 GB, free: 25.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.85e-05/1.329, allocations: 10.84 kB / 1.318 GB, free: 25.72 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/1.329, allocations: 2.062 kB / 1.318 GB, free: 25.72 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001202/1.329, allocations: 14.8 kB / 1.318 GB, free: 25.71 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/1.329, allocations: 8.219 kB / 1.318 GB, free: 25.71 MB / 1.061 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.0002614/1.329, allocations: 337.5 kB / 1.318 GB, free: 25.51 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.575e-05/1.329, allocations: 69.08 kB / 1.318 GB, free: 25.47 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000409/1.33, allocations: 296.1 kB / 1.318 GB, free: 25.33 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/1.33, allocations: 0 / 1.318 GB, free: 25.33 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/1.33, allocations: 7.938 kB / 1.318 GB, free: 25.32 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/1.33, allocations: 2.75 kB / 1.318 GB, free: 25.32 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000321/1.33, allocations: 385.3 kB / 1.319 GB, free: 25.06 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/1.33, allocations: 3.938 kB / 1.319 GB, free: 25.06 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.691e-05/1.33, allocations: 9.188 kB / 1.319 GB, free: 25.05 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.216e-06/1.33, allocations: 2.625 kB / 1.319 GB, free: 25.05 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/1.33, allocations: 2.625 kB / 1.319 GB, free: 25.05 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/1.33, allocations: 0 / 1.319 GB, free: 25.05 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.33, allocations: 3.422 kB / 1.319 GB, free: 25.05 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/1.33, allocations: 317.8 kB / 1.319 GB, free: 24.87 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001112/1.331, allocations: 152.3 kB / 1.319 GB, free: 24.73 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.816e-05/1.331, allocations: 6.625 kB / 1.319 GB, free: 24.73 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/1.331, allocations: 8.719 kB / 1.319 GB, free: 24.73 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.963e-05/1.331, allocations: 6.625 kB / 1.319 GB, free: 24.72 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.534e-05/1.331, allocations: 10.05 kB / 1.319 GB, free: 24.72 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0005444/1.331, allocations: 0.5816 MB / 1.32 GB, free: 24.5 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.331, allocations: 0 / 1.32 GB, free: 24.5 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0004339/1.332, allocations: 126.7 kB / 1.32 GB, free: 24.48 MB / 1.061 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.000349/1.332, allocations: 190.6 kB / 1.32 GB, free: 24.37 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002621/1.332, allocations: 177.5 kB / 1.32 GB, free: 24.28 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/1.332, allocations: 0 / 1.32 GB, free: 24.28 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/1.332, allocations: 116.3 kB / 1.32 GB, free: 24.2 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005344/1.333, allocations: 131.8 kB / 1.321 GB, free: 24.14 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/1.334, allocations: 1.098 MB / 1.322 GB, free: 23.62 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/1.335, allocations: 0.9705 MB / 1.323 GB, free: 22.87 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001026/1.335, allocations: 32.36 kB / 1.323 GB, free: 22.86 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.394e-05/1.335, allocations: 20.03 kB / 1.323 GB, free: 22.85 MB / 1.061 GB Notification: Performance of SimCode: time 1.072e-06/1.335, allocations: 0 / 1.323 GB, free: 22.85 MB / 1.061 GB Notification: Performance of Templates: time 0.01432/1.349, allocations: 5.597 MB / 1.328 GB, free: 22.43 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 400] 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: 10.202685946598649]