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.002397/0.002397, allocations: 109 kB / 17.08 MB, free: 6.012 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.003083/0.003083, allocations: 197.1 kB / 20.03 MB, free: 3.082 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.558/1.558, allocations: 222.9 MB / 245.7 MB, free: 4.211 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 3.175/3.175, allocations: 489.3 MB / 0.7687 GB, free: 3.777 MB / 0.6075 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.002037/0.002037, allocations: 71.89 kB / 1.103 GB, free: 0.7812 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.035/1.037, allocations: 163.8 MB / 1.263 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003697/1.041, allocations: 2.053 MB / 1.265 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.003524/1.044, allocations: 2.599 MB / 1.267 GB, free: 4.961 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001411/1.044, allocations: 6.25 kB / 1.267 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001451/1.046, allocations: 0.5113 MB / 1.268 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001838/1.046, allocations: 71.78 kB / 1.268 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0012/1.047, allocations: 278.6 kB / 1.268 GB, free: 4.582 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0005007/1.048, allocations: 325.2 kB / 1.268 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001888/1.048, allocations: 95.03 kB / 1.268 GB, free: 4.406 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001437/1.048, allocations: 105.8 kB / 1.268 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002195/1.048, allocations: 130.6 kB / 1.269 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.816e-05/1.048, allocations: 7.781 kB / 1.269 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006391/1.049, allocations: 330.9 kB / 1.269 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001443/1.049, allocations: 100.6 kB / 1.269 GB, free: 4.176 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001931/1.049, allocations: 217.7 kB / 1.269 GB, free: 4.023 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001144/1.05, allocations: 0.8233 MB / 1.27 GB, free: 3.754 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/1.05, allocations: 3.938 kB / 1.27 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.533e-06/1.05, allocations: 0.7188 kB / 1.27 GB, free: 3.75 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 9.217e-06/1.05, allocations: 0 / 1.27 GB, free: 3.75 MB / 0.9981 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.001081/1.052, allocations: 0.8915 MB / 1.271 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/1.052, allocations: 8.844 kB / 1.271 GB, free: 3.016 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001082/1.052, allocations: 75.41 kB / 1.271 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004619/1.052, allocations: 392.8 kB / 1.271 GB, free: 2.641 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/1.052, allocations: 7.875 kB / 1.271 GB, free: 2.637 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.036e-05/1.052, allocations: 10.88 kB / 1.271 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/1.053, allocations: 126.6 kB / 1.272 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.998e-06/1.053, allocations: 0.5 kB / 1.272 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.425e-05/1.053, allocations: 1.125 kB / 1.272 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/1.053, allocations: 2.656 kB / 1.272 GB, free: 2.574 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000187/1.053, allocations: 99.78 kB / 1.272 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007868/1.054, allocations: 0.5517 MB / 1.272 GB, free: 2.168 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001873/1.054, allocations: 107.4 kB / 1.272 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/1.054, allocations: 60.92 kB / 1.272 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.135e-05/1.054, allocations: 8.922 kB / 1.272 GB, free: 2.094 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001818/1.054, allocations: 136.5 kB / 1.272 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 1.403e-06/1.054, allocations: 0 / 1.272 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0005259/1.055, allocations: 320 kB / 1.273 GB, free: 1.836 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.596e-05/1.055, allocations: 80.27 kB / 1.273 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/1.056, allocations: 0.7906 MB / 1.274 GB, free: 1.445 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.541e-05/1.056, allocations: 30.27 kB / 1.274 GB, free: 1.41 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/1.056, allocations: 294.5 kB / 1.274 GB, free: 1.176 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/1.056, allocations: 27.7 kB / 1.274 GB, free: 1.156 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/1.056, allocations: 30.8 kB / 1.274 GB, free: 1.133 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.842e-05/1.056, allocations: 312 kB / 1.274 GB, free: 0.8242 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.722e-05/1.056, allocations: 47.16 kB / 1.274 GB, free: 0.8125 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.544e-05/1.056, allocations: 47.23 kB / 1.274 GB, free: 0.8008 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002046/1.057, allocations: 164.6 kB / 1.275 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/1.057, allocations: 0 / 1.275 GB, free: 0.6914 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000359/1.057, allocations: 272.6 kB / 1.275 GB, free: 0.5508 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.695e-05/1.057, allocations: 41.34 kB / 1.275 GB, free: 0.5156 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/1.057, allocations: 3.938 kB / 1.275 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/1.057, allocations: 1.469 kB / 1.275 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.526e-05/1.057, allocations: 7.453 kB / 1.275 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.247e-06/1.057, allocations: 0.9688 kB / 1.275 GB, free: 0.5117 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001297/1.057, allocations: 19.39 kB / 1.275 GB, free: 0.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/1.057, allocations: 3.781 kB / 1.275 GB, free: 0.5 MB / 0.9981 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.0003674/1.058, allocations: 334.3 kB / 1.275 GB, free: 304 kB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.371e-05/1.058, allocations: 73.22 kB / 1.275 GB, free: 264 kB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004776/1.058, allocations: 295.3 kB / 1.276 GB, free: 112 kB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/1.058, allocations: 0.7969 kB / 1.276 GB, free: 112 kB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/1.058, allocations: 1.125 kB / 1.276 GB, free: 112 kB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/1.058, allocations: 0 / 1.276 GB, free: 112 kB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004894/1.059, allocations: 384.3 kB / 1.276 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/1.059, allocations: 3.938 kB / 1.276 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.818e-05/1.059, allocations: 5.344 kB / 1.276 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/1.059, allocations: 2.516 kB / 1.276 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.471e-05/1.059, allocations: 2.062 kB / 1.276 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/1.059, allocations: 1.375 kB / 1.276 GB, free: 15.85 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/1.059, allocations: 4.5 kB / 1.276 GB, free: 15.84 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004718/1.059, allocations: 317 kB / 1.276 GB, free: 15.66 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001672/1.06, allocations: 160.7 kB / 1.276 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.858e-05/1.06, allocations: 2.656 kB / 1.276 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001044/1.06, allocations: 3.469 kB / 1.276 GB, free: 15.52 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.849e-05/1.06, allocations: 9.891 kB / 1.276 GB, free: 15.51 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.67e-05/1.06, allocations: 9.203 kB / 1.276 GB, free: 15.51 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0007943/1.061, allocations: 0.5838 MB / 1.277 GB, free: 15.29 MB / 1.014 GB Notification: Performance of sort global known variables: time 1.51e-07/1.061, allocations: 0 / 1.277 GB, free: 15.29 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006037/1.061, allocations: 123.2 kB / 1.277 GB, free: 15.27 MB / 1.014 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.0004486/1.062, allocations: 189.3 kB / 1.277 GB, free: 15.16 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003701/1.062, allocations: 213.8 kB / 1.277 GB, free: 15.04 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.062, allocations: 0 / 1.277 GB, free: 15.04 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001835/1.062, allocations: 146 kB / 1.278 GB, free: 14.95 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000608/1.063, allocations: 135.8 kB / 1.278 GB, free: 14.89 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001747/1.065, allocations: 1.136 MB / 1.279 GB, free: 14.33 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007186/1.065, allocations: 0.9807 MB / 1.28 GB, free: 13.56 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/1.065, allocations: 17 kB / 1.28 GB, free: 13.56 MB / 1.014 GB Notification: Performance of SimCode: time 2.5e-07/1.066, allocations: 4 kB / 1.28 GB, free: 13.55 MB / 1.014 GB Notification: Performance of Templates: time 0.01476/1.08, allocations: 6.734 MB / 1.286 GB, free: 12.74 MB / 1.014 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 800] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 13.208705472992733]