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.002/0.002, allocations: 104.6 kB / 16.45 MB, free: 6.445 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.002134/0.002134, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.548/1.548, allocations: 225.6 MB / 247.8 MB, free: 3.734 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.997/2.997, allocations: 497.2 MB / 0.7812 GB, free: 11.95 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: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002116/0.002116, allocations: 68.05 kB / 1.134 GB, free: 13.15 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.02/1.022, allocations: 173.9 MB / 1.304 GB, free: 32.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.003638/1.026, allocations: 2.061 MB / 1.306 GB, free: 30.71 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003184/1.029, allocations: 2.617 MB / 1.309 GB, free: 28.88 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001804/1.029, allocations: 2.812 kB / 1.309 GB, free: 28.88 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.001419/1.03, allocations: 0.5078 MB / 1.309 GB, free: 28.64 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0002117/1.031, allocations: 72.34 kB / 1.309 GB, free: 28.61 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009914/1.032, allocations: 277.9 kB / 1.309 GB, free: 28.5 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004688/1.032, allocations: 325.8 kB / 1.31 GB, free: 28.37 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001725/1.032, allocations: 68.25 kB / 1.31 GB, free: 28.34 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001434/1.032, allocations: 102.5 kB / 1.31 GB, free: 28.3 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001927/1.033, allocations: 140.7 kB / 1.31 GB, free: 28.24 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.432e-05/1.033, allocations: 11.84 kB / 1.31 GB, free: 28.23 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000586/1.033, allocations: 330 kB / 1.31 GB, free: 28.14 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001093/1.033, allocations: 100.1 kB / 1.31 GB, free: 28.11 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001681/1.034, allocations: 222.6 kB / 1.311 GB, free: 27.95 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0009285/1.034, allocations: 0.8203 MB / 1.311 GB, free: 27.68 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/1.034, allocations: 3.938 kB / 1.311 GB, free: 27.68 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.413e-06/1.034, allocations: 2.625 kB / 1.311 GB, free: 27.68 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.172e-05/1.034, allocations: 0 / 1.311 GB, free: 27.68 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.001097/1.036, allocations: 0.8969 MB / 1.312 GB, free: 26.94 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/1.036, allocations: 8.094 kB / 1.312 GB, free: 26.94 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.562e-05/1.036, allocations: 37.97 kB / 1.312 GB, free: 26.9 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001038/1.036, allocations: 76 kB / 1.312 GB, free: 26.86 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005489/1.036, allocations: 401.6 kB / 1.313 GB, free: 26.52 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.898e-05/1.036, allocations: 7 kB / 1.313 GB, free: 26.51 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.905e-05/1.036, allocations: 6.875 kB / 1.313 GB, free: 26.51 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002571/1.037, allocations: 137 kB / 1.313 GB, free: 26.45 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/1.037, allocations: 0 / 1.313 GB, free: 26.45 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.463e-05/1.037, allocations: 0 / 1.313 GB, free: 26.45 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/1.037, allocations: 2.812 kB / 1.313 GB, free: 26.45 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000149/1.037, allocations: 94.8 kB / 1.313 GB, free: 26.42 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009203/1.038, allocations: 0.5513 MB / 1.314 GB, free: 26.04 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001929/1.038, allocations: 100.3 kB / 1.314 GB, free: 26 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.858e-05/1.038, allocations: 51.28 kB / 1.314 GB, free: 25.98 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 5.076e-05/1.038, allocations: 9.5 kB / 1.314 GB, free: 25.97 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002114/1.038, allocations: 133.3 kB / 1.314 GB, free: 25.88 MB / 1.061 GB Notification: Performance of pre-optimization done (n=11): time 2.585e-06/1.038, allocations: 3.938 kB / 1.314 GB, free: 25.87 MB / 1.061 GB Notification: Performance of matching and sorting (n=11): time 0.0005225/1.039, allocations: 315.6 kB / 1.314 GB, free: 25.72 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.801e-05/1.039, allocations: 86.89 kB / 1.314 GB, free: 25.62 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/1.04, allocations: 0.7883 MB / 1.315 GB, free: 25.32 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.631e-05/1.04, allocations: 29.7 kB / 1.315 GB, free: 25.29 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002217/1.04, allocations: 291.6 kB / 1.315 GB, free: 25.06 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 4.045e-05/1.04, allocations: 28.08 kB / 1.315 GB, free: 25.04 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.517e-05/1.04, allocations: 24.19 kB / 1.315 GB, free: 25.02 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.07e-05/1.04, allocations: 309.4 kB / 1.316 GB, free: 24.71 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.782e-05/1.04, allocations: 49.77 kB / 1.316 GB, free: 24.7 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.525e-05/1.04, allocations: 50.44 kB / 1.316 GB, free: 24.69 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001643/1.041, allocations: 160.5 kB / 1.316 GB, free: 24.58 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/1.041, allocations: 0 / 1.316 GB, free: 24.58 MB / 1.061 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003173/1.041, allocations: 274.6 kB / 1.316 GB, free: 24.44 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 4.224e-05/1.041, allocations: 36.92 kB / 1.316 GB, free: 24.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.052e-06/1.041, allocations: 0 / 1.316 GB, free: 24.41 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.159e-05/1.041, allocations: 2.562 kB / 1.316 GB, free: 24.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.34e-05/1.041, allocations: 5.188 kB / 1.316 GB, free: 24.41 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/1.041, allocations: 2.719 kB / 1.316 GB, free: 24.41 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/1.041, allocations: 20.62 kB / 1.316 GB, free: 24.39 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.18e-05/1.041, allocations: 2.844 kB / 1.316 GB, free: 24.39 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.0003209/1.042, allocations: 335.6 kB / 1.317 GB, free: 24.19 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.706e-05/1.042, allocations: 69.73 kB / 1.317 GB, free: 24.15 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004283/1.042, allocations: 312.7 kB / 1.317 GB, free: 24 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.987e-06/1.042, allocations: 0 / 1.317 GB, free: 24 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/1.042, allocations: 3.984 kB / 1.317 GB, free: 24 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/1.042, allocations: 0 / 1.317 GB, free: 24 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003649/1.042, allocations: 390.9 kB / 1.317 GB, free: 23.73 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/1.042, allocations: 0 / 1.317 GB, free: 23.73 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.841e-05/1.043, allocations: 7.375 kB / 1.317 GB, free: 23.73 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/1.043, allocations: 0 / 1.317 GB, free: 23.73 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.508e-05/1.043, allocations: 5.594 kB / 1.317 GB, free: 23.73 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/1.043, allocations: 0 / 1.317 GB, free: 23.73 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.414e-06/1.043, allocations: 6.266 kB / 1.317 GB, free: 23.73 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000327/1.043, allocations: 315.1 kB / 1.318 GB, free: 23.55 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/1.043, allocations: 152.9 kB / 1.318 GB, free: 23.4 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.435e-05/1.043, allocations: 5.25 kB / 1.318 GB, free: 23.4 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/1.043, allocations: 5.859 kB / 1.318 GB, free: 23.4 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.469e-05/1.043, allocations: 9.812 kB / 1.318 GB, free: 23.4 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/1.043, allocations: 9.25 kB / 1.318 GB, free: 23.39 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006744/1.044, allocations: 0.5824 MB / 1.318 GB, free: 23.17 MB / 1.061 GB Notification: Performance of sort global known variables: time 1.8e-07/1.044, allocations: 0 / 1.318 GB, free: 23.17 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005478/1.044, allocations: 133.5 kB / 1.319 GB, free: 23.15 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.001017/1.046, allocations: 0.9345 MB / 1.319 GB, free: 22.43 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003211/1.046, allocations: 183.8 kB / 1.32 GB, free: 22.33 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.046, allocations: 0 / 1.32 GB, free: 22.33 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001029/1.046, allocations: 119 kB / 1.32 GB, free: 22.25 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006324/1.047, allocations: 116.3 kB / 1.32 GB, free: 22.21 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006025/1.053, allocations: 4.678 MB / 1.324 GB, free: 19.88 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005048/1.053, allocations: 0.9737 MB / 1.325 GB, free: 19.12 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001558/1.053, allocations: 29.3 kB / 1.325 GB, free: 19.12 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002107/1.053, allocations: 166 kB / 1.326 GB, free: 18.98 MB / 1.061 GB Notification: Performance of SimCode: time 1.332e-06/1.053, allocations: 0.625 kB / 1.326 GB, free: 18.98 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05131/1.105, allocations: 12.1 MB / 1.337 GB, free: 17.79 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.462/10.57, allocations: 11.66 kB / 1.337 GB, free: 17.78 MB / 1.061 GB " [Timeout remaining time 289] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 840.0] 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: 17.05497143790126]