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.001662/0.001662, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001886/0.001886, allocations: 209.7 kB / 22.24 MB, free: 5.262 MB / 14.72 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.477/1.477, allocations: 230.6 MB / 256 MB, free: 7.773 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.869/2.869, allocations: 476 MB / 0.7699 GB, free: 4.719 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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: "" <> 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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002143/0.002143, allocations: 71.39 kB / 1.117 GB, free: 41.03 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3689/0.371, allocations: 170 MB / 1.283 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.005003/0.376, allocations: 2.018 MB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004299/0.3803, allocations: 2.355 MB / 1.287 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002321/0.3805, allocations: 4 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001511/0.3821, allocations: 459.3 kB / 1.287 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.000214/0.3823, allocations: 71.59 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001006/0.3833, allocations: 284.6 kB / 1.288 GB, free: 7.219 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0005386/0.3838, allocations: 318.4 kB / 1.288 GB, free: 6.906 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001763/0.384, allocations: 49.19 kB / 1.288 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001993/0.3842, allocations: 111.4 kB / 1.288 GB, free: 6.746 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000282/0.3845, allocations: 139.2 kB / 1.288 GB, free: 6.609 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.438e-05/0.3845, allocations: 8 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006543/0.3852, allocations: 331.5 kB / 1.289 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001423/0.3853, allocations: 103.5 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001975/0.3855, allocations: 150.8 kB / 1.289 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001166/0.3867, allocations: 0.8327 MB / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.3867, allocations: 3.938 kB / 1.29 GB, free: 5.188 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.465e-06/0.3867, allocations: 4 kB / 1.29 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.037e-05/0.3867, allocations: 0 / 1.29 GB, free: 5.184 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.001672/0.3884, allocations: 0.8158 MB / 1.29 GB, free: 4.328 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.553e-05/0.3884, allocations: 8.031 kB / 1.29 GB, free: 4.32 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.277e-05/0.3885, allocations: 46.73 kB / 1.29 GB, free: 4.266 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.3886, allocations: 68.52 kB / 1.291 GB, free: 4.199 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006066/0.3892, allocations: 335.1 kB / 1.291 GB, free: 3.844 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.017e-05/0.3892, allocations: 8.281 kB / 1.291 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.392e-05/0.3893, allocations: 12.38 kB / 1.291 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002882/0.3895, allocations: 163.5 kB / 1.291 GB, free: 3.652 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.3896, allocations: 4 kB / 1.291 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.3896, allocations: 0 / 1.291 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.3896, allocations: 4 kB / 1.291 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002045/0.3898, allocations: 137.5 kB / 1.291 GB, free: 3.504 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009016/0.3907, allocations: 0.4956 MB / 1.292 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002052/0.3909, allocations: 124.2 kB / 1.292 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.391, allocations: 86.86 kB / 1.292 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.661e-05/0.391, allocations: 11.92 kB / 1.292 GB, free: 2.723 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002388/0.3913, allocations: 162.8 kB / 1.292 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.363e-06/0.3913, allocations: 4 kB / 1.292 GB, free: 2.535 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.0005782/0.3919, allocations: 370.3 kB / 1.292 GB, free: 2.148 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.026e-05/0.3919, allocations: 85.11 kB / 1.292 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009722/0.3929, allocations: 0.7896 MB / 1.293 GB, free: 1.25 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.303e-05/0.3929, allocations: 29.64 kB / 1.293 GB, free: 1.215 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000281/0.3932, allocations: 292.2 kB / 1.294 GB, free: 0.9258 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.3932, allocations: 31.77 kB / 1.294 GB, free: 0.8945 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.825e-05/0.3933, allocations: 29.72 kB / 1.294 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.3934, allocations: 310 kB / 1.294 GB, free: 0.5508 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001088/0.3935, allocations: 77.69 kB / 1.294 GB, free: 480 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.952e-05/0.3936, allocations: 81.67 kB / 1.294 GB, free: 392 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.3938, allocations: 168.5 kB / 1.294 GB, free: 208 kB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3938, allocations: 0 / 1.294 GB, free: 208 kB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003985/0.3942, allocations: 304.6 kB / 1.295 GB, free: 15.89 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.701e-05/0.3943, allocations: 45.62 kB / 1.295 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.3943, allocations: 0 / 1.295 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.457e-05/0.3943, allocations: 0 / 1.295 GB, free: 15.84 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.334e-05/0.3944, allocations: 8 kB / 1.295 GB, free: 15.83 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.3944, allocations: 7.922 kB / 1.295 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.3945, allocations: 11.89 kB / 1.295 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.716e-05/0.3945, allocations: 4 kB / 1.295 GB, free: 15.8 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.0003539/0.3949, allocations: 343.4 kB / 1.295 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.263e-05/0.395, allocations: 75.45 kB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000499/0.3955, allocations: 330.6 kB / 1.295 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3955, allocations: 0 / 1.295 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.92e-06/0.3955, allocations: 4 kB / 1.295 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.229e-06/0.3955, allocations: 3.984 kB / 1.295 GB, free: 15.02 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.3959, allocations: 340.5 kB / 1.296 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3959, allocations: 0 / 1.296 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.926e-05/0.3959, allocations: 4 kB / 1.296 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3959, allocations: 4 kB / 1.296 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.3959, allocations: 7.984 kB / 1.296 GB, free: 14.63 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3959, allocations: 7.938 kB / 1.296 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.3959, allocations: 0 / 1.296 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004446/0.3964, allocations: 344 kB / 1.296 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.3965, allocations: 75.56 kB / 1.296 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.119e-05/0.3966, allocations: 11.98 kB / 1.296 GB, free: 14.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001069/0.3967, allocations: 4 kB / 1.296 GB, free: 14.16 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.986e-05/0.3967, allocations: 11.98 kB / 1.296 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.311e-05/0.3968, allocations: 4 kB / 1.296 GB, free: 14.15 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0007414/0.3975, allocations: 0.5809 MB / 1.297 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3975, allocations: 4 kB / 1.297 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004381/0.3979, allocations: 131.8 kB / 1.297 GB, free: 13.44 MB / 0.9981 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.001116/0.3991, allocations: 0.9626 MB / 1.298 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003706/0.3994, allocations: 246.7 kB / 1.298 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3994, allocations: 0 / 1.298 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001766/0.3996, allocations: 153 kB / 1.298 GB, free: 12 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005745/0.4002, allocations: 137 kB / 1.298 GB, free: 11.88 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006537/0.4067, allocations: 4.847 MB / 1.303 GB, free: 6.891 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/0.4072, allocations: 374.9 kB / 1.303 GB, free: 6.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001287/0.4073, allocations: 25.95 kB / 1.303 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002266/0.4076, allocations: 171.4 kB / 1.304 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of SimCode: time 1.082e-06/0.4076, allocations: 3.938 kB / 1.304 GB, free: 6.309 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04955/0.4571, allocations: 13.1 MB / 1.316 GB, free: 9.48 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.51/11.97, allocations: 5.953 kB / 1.316 GB, free: 9.477 MB / 1.014 GB " [Timeout remaining time 287] (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/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: 18.725159414112568]