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.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.001698/0.001698, allocations: 113 kB / 18.14 MB, free: 3.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.00198/0.00198, allocations: 198.2 kB / 21.43 MB, free: 412 kB / 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.437/1.437, allocations: 225.6 MB / 250.2 MB, free: 13.29 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.774/2.774, allocations: 476.7 MB / 0.7637 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001992/0.001992, allocations: 71.89 kB / 1.108 GB, free: 7.023 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8686/0.8706, allocations: 168.7 MB / 1.273 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003634/0.8743, allocations: 2.079 MB / 1.275 GB, free: 2.258 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003697/0.878, allocations: 2.623 MB / 1.277 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.8781, allocations: 3.938 kB / 1.277 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.8794, allocations: 0.5153 MB / 1.278 GB, free: 15.11 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001473/0.8796, allocations: 67.59 kB / 1.278 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008311/0.8804, allocations: 277.9 kB / 1.278 GB, free: 14.77 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0004555/0.8808, allocations: 325.5 kB / 1.279 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001396/0.881, allocations: 45.03 kB / 1.279 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.8811, allocations: 119.4 kB / 1.279 GB, free: 14.29 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.8814, allocations: 135.2 kB / 1.279 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.8814, allocations: 8 kB / 1.279 GB, free: 14.15 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005548/0.882, allocations: 335.5 kB / 1.279 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001293/0.8821, allocations: 107.5 kB / 1.279 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002278/0.8823, allocations: 214.5 kB / 1.28 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.8833, allocations: 0.8209 MB / 1.28 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.8833, allocations: 0 / 1.28 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.383e-06/0.8833, allocations: 4 kB / 1.28 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.108e-05/0.8833, allocations: 0 / 1.28 GB, free: 12.68 MB / 0.9825 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.001263/0.8846, allocations: 0.8912 MB / 1.281 GB, free: 11.73 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.838e-05/0.8846, allocations: 8.031 kB / 1.281 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.824e-05/0.8847, allocations: 42.75 kB / 1.281 GB, free: 11.67 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.496e-05/0.8848, allocations: 68.47 kB / 1.281 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005364/0.8853, allocations: 400.9 kB / 1.282 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.8853, allocations: 4.375 kB / 1.282 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.152e-05/0.8854, allocations: 8.375 kB / 1.282 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002475/0.8856, allocations: 135.2 kB / 1.282 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.8856, allocations: 3.938 kB / 1.282 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.8856, allocations: 8 kB / 1.282 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.8856, allocations: 4 kB / 1.282 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001584/0.8858, allocations: 91.89 kB / 1.282 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008425/0.8866, allocations: 0.5472 MB / 1.282 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00017/0.8868, allocations: 98.45 kB / 1.283 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.095e-05/0.8869, allocations: 53.16 kB / 1.283 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.475e-05/0.8869, allocations: 11.94 kB / 1.283 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.8871, allocations: 141 kB / 1.283 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.362e-06/0.8871, allocations: 96 / 1.283 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0005138/0.8877, allocations: 314.8 kB / 1.283 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.638e-05/0.8877, allocations: 81.11 kB / 1.283 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009701/0.8887, allocations: 0.7973 MB / 1.284 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.167e-05/0.8887, allocations: 25.7 kB / 1.284 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002702/0.889, allocations: 292.3 kB / 1.284 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.415e-05/0.889, allocations: 27.75 kB / 1.284 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.543e-05/0.8891, allocations: 25.7 kB / 1.284 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.8892, allocations: 318 kB / 1.285 GB, free: 8.07 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.593e-05/0.8893, allocations: 43.98 kB / 1.285 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.136e-05/0.8894, allocations: 43.97 kB / 1.285 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001892/0.8895, allocations: 160.2 kB / 1.285 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.8895, allocations: 0 / 1.285 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003443/0.8899, allocations: 270.8 kB / 1.285 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 4.46e-05/0.8899, allocations: 41.69 kB / 1.285 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.8899, allocations: 0 / 1.285 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.735e-05/0.89, allocations: 4 kB / 1.285 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.826e-05/0.89, allocations: 4 kB / 1.285 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.89, allocations: 0 / 1.285 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001207/0.8902, allocations: 15.94 kB / 1.285 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.8902, allocations: 4.062 kB / 1.285 GB, free: 7.461 MB / 0.9825 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.0003431/0.8905, allocations: 343.3 kB / 1.285 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-05/0.8906, allocations: 75.52 kB / 1.286 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004529/0.8911, allocations: 297 kB / 1.286 GB, free: 6.723 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.8911, allocations: 4 kB / 1.286 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.8911, allocations: 0 / 1.286 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.718e-06/0.8911, allocations: 3.984 kB / 1.286 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004018/0.8915, allocations: 385.3 kB / 1.286 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.8915, allocations: 0 / 1.286 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.254e-05/0.8915, allocations: 11.94 kB / 1.286 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.8915, allocations: 0 / 1.286 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.8915, allocations: 8 kB / 1.286 GB, free: 6.27 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.8915, allocations: 7.938 kB / 1.286 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.8915, allocations: 0 / 1.286 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000399/0.8919, allocations: 314.7 kB / 1.287 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001784/0.8921, allocations: 148.7 kB / 1.287 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.681e-05/0.8922, allocations: 0 / 1.287 GB, free: 5.766 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.8923, allocations: 8 kB / 1.287 GB, free: 5.758 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.879e-05/0.8923, allocations: 7.984 kB / 1.287 GB, free: 5.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.568e-05/0.8923, allocations: 4 kB / 1.287 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0007298/0.8931, allocations: 0.5887 MB / 1.287 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8931, allocations: 0 / 1.287 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004305/0.8935, allocations: 127.8 kB / 1.287 GB, free: 5.039 MB / 0.9825 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.001041/0.8946, allocations: 0.9458 MB / 1.288 GB, free: 4.055 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000287/0.8948, allocations: 175.3 kB / 1.288 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.8948, allocations: 0 / 1.288 GB, free: 3.871 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.895, allocations: 123.3 kB / 1.289 GB, free: 3.738 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005457/0.8955, allocations: 121.1 kB / 1.289 GB, free: 3.621 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005832/0.9014, allocations: 4.687 MB / 1.293 GB, free: 14.83 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006682/0.902, allocations: 0.982 MB / 1.294 GB, free: 13.82 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001084/0.9021, allocations: 37.88 kB / 1.294 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002092/0.9023, allocations: 163.4 kB / 1.294 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/0.9023, allocations: 0 / 1.294 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03974/0.9421, allocations: 12.07 MB / 1.306 GB, free: 1.762 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.478/10.42, allocations: 18.83 kB / 1.306 GB, free: 1.746 MB / 0.9981 GB " [Timeout remaining time 290] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 420.0] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 16.368294037878513]