Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001572/0.001572, allocations: 109.2 kB / 16.46 MB, free: 6.504 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.001858/0.001858, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.395/1.395, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.627/2.627, allocations: 443.5 MB / 0.7287 GB, free: 13.19 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001995/0.001995, allocations: 68.09 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8355/0.8375, allocations: 160.7 MB / 1.213 GB, free: 5.34 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.004321/0.8418, allocations: 2.055 MB / 1.215 GB, free: 3.273 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004362/0.8461, allocations: 2.62 MB / 1.218 GB, free: 0.6406 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002201/0.8464, allocations: 4 kB / 1.218 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001672/0.848, allocations: 0.5114 MB / 1.218 GB, free: 128 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002561/0.8483, allocations: 67.59 kB / 1.218 GB, free: 60 kB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.8494, allocations: 279.4 kB / 1.218 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0005969/0.85, allocations: 314.4 kB / 1.219 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.8502, allocations: 69.08 kB / 1.219 GB, free: 15.41 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002066/0.8504, allocations: 115.4 kB / 1.219 GB, free: 15.3 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.8507, allocations: 135.2 kB / 1.219 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.047e-05/0.8507, allocations: 8 kB / 1.219 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007118/0.8514, allocations: 331.5 kB / 1.219 GB, free: 14.83 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.8516, allocations: 103.5 kB / 1.219 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0002542/0.8519, allocations: 210.5 kB / 1.22 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.8532, allocations: 0.8288 MB / 1.22 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.8532, allocations: 0 / 1.22 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8532, allocations: 3.938 kB / 1.22 GB, free: 13.69 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.442e-05/0.8532, allocations: 0 / 1.22 GB, free: 13.69 MB / 0.9356 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.001453/0.8547, allocations: 0.8972 MB / 1.221 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.653e-05/0.8547, allocations: 8.625 kB / 1.221 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.228e-05/0.8548, allocations: 42.75 kB / 1.221 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.8549, allocations: 72.5 kB / 1.221 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006505/0.8556, allocations: 392.9 kB / 1.222 GB, free: 12.18 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.8556, allocations: 12.38 kB / 1.222 GB, free: 12.17 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.531e-05/0.8556, allocations: 12.38 kB / 1.222 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.8559, allocations: 129.7 kB / 1.222 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.8559, allocations: 0 / 1.222 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.8559, allocations: 4 kB / 1.222 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.8559, allocations: 0 / 1.222 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001817/0.8561, allocations: 103.9 kB / 1.222 GB, free: 11.92 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009722/0.857, allocations: 0.5509 MB / 1.223 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001913/0.8572, allocations: 98.56 kB / 1.223 GB, free: 11.21 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.978e-05/0.8573, allocations: 53.12 kB / 1.223 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.779e-05/0.8574, allocations: 11.92 kB / 1.223 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002271/0.8576, allocations: 125.1 kB / 1.223 GB, free: 11 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=11): time 1.673e-06/0.8576, allocations: 96 / 1.223 GB, free: 11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.0005572/0.8582, allocations: 310.8 kB / 1.223 GB, free: 10.69 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.934e-05/0.8582, allocations: 89.11 kB / 1.223 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.8594, allocations: 0.7934 MB / 1.224 GB, free: 9.777 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.794e-05/0.8594, allocations: 33.7 kB / 1.224 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002794/0.8597, allocations: 288.2 kB / 1.224 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.8597, allocations: 35.72 kB / 1.224 GB, free: 9.418 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.066e-05/0.8598, allocations: 25.72 kB / 1.224 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.8599, allocations: 314 kB / 1.225 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.271e-05/0.86, allocations: 43.98 kB / 1.225 GB, free: 9.031 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.798e-05/0.8601, allocations: 47.97 kB / 1.225 GB, free: 8.984 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002054/0.8603, allocations: 164.5 kB / 1.225 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.8603, allocations: 0 / 1.225 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003759/0.8607, allocations: 266.9 kB / 1.225 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.887e-05/0.8607, allocations: 37.69 kB / 1.225 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.8607, allocations: 3.938 kB / 1.225 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.8607, allocations: 0 / 1.225 GB, free: 8.488 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.412e-05/0.8608, allocations: 12 kB / 1.225 GB, free: 8.477 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.8608, allocations: 3.984 kB / 1.225 GB, free: 8.473 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.861, allocations: 11.95 kB / 1.225 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.123e-05/0.861, allocations: 4 kB / 1.225 GB, free: 8.457 MB / 0.9356 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.000373/0.8614, allocations: 340.8 kB / 1.226 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.873e-05/0.8614, allocations: 71.52 kB / 1.226 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004831/0.8619, allocations: 297.1 kB / 1.226 GB, free: 7.73 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.8619, allocations: 3.984 kB / 1.226 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.8619, allocations: 0 / 1.226 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.8619, allocations: 3.938 kB / 1.226 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004417/0.8624, allocations: 389.3 kB / 1.226 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.8624, allocations: 4 kB / 1.226 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.54e-05/0.8624, allocations: 4 kB / 1.226 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.8624, allocations: 0 / 1.226 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.8625, allocations: 8.125 kB / 1.226 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.8625, allocations: 0 / 1.226 GB, free: 7.277 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.8625, allocations: 4.094 kB / 1.226 GB, free: 7.273 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000415/0.8629, allocations: 326.1 kB / 1.227 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002092/0.8631, allocations: 148.7 kB / 1.227 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.178e-05/0.8631, allocations: 8 kB / 1.227 GB, free: 6.758 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001139/0.8633, allocations: 4 kB / 1.227 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.361e-05/0.8633, allocations: 11.98 kB / 1.227 GB, free: 6.742 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.57e-05/0.8633, allocations: 4 kB / 1.227 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0007616/0.8641, allocations: 0.5848 MB / 1.227 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.8641, allocations: 0 / 1.227 GB, free: 6.16 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004367/0.8645, allocations: 127.8 kB / 1.227 GB, free: 6.035 MB / 0.9356 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.001068/0.8656, allocations: 0.9337 MB / 1.228 GB, free: 5.066 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000306/0.8659, allocations: 179.3 kB / 1.229 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.8659, allocations: 0 / 1.229 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.866, allocations: 123.3 kB / 1.229 GB, free: 4.746 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006055/0.8666, allocations: 125.3 kB / 1.229 GB, free: 4.621 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006327/0.873, allocations: 4.681 MB / 1.233 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006656/0.8736, allocations: 0.9704 MB / 1.234 GB, free: 14.84 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001179/0.8738, allocations: 29.89 kB / 1.234 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002323/0.874, allocations: 167.4 kB / 1.234 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of SimCode: time 7.21e-07/0.874, allocations: 0 / 1.234 GB, free: 14.65 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04235/0.9163, allocations: 12.11 MB / 1.246 GB, free: 2.801 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.442/10.36, allocations: 4.766 kB / 1.246 GB, free: 2.797 MB / 0.9512 GB " [Timeout remaining time 290] (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedShift.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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.073134534992278]