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.001697/0.001697, allocations: 105.8 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.001894/0.001894, 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.444/1.444, 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 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.768/2.768, allocations: 476.7 MB / 0.7611 GB, free: 15.67 MB / 0.6075 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.002028/0.002028, allocations: 71.88 kB / 1.104 GB, free: 6.547 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9431/0.9451, allocations: 168.7 MB / 1.269 GB, free: 7.617 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedShift): time 0.00437/0.9495, allocations: 2.06 MB / 1.271 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004372/0.9538, allocations: 2.624 MB / 1.273 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002355/0.9541, allocations: 2.312 kB / 1.273 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00184/0.9559, allocations: 0.5086 MB / 1.274 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002729/0.9562, allocations: 78.02 kB / 1.274 GB, free: 4.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.9574, allocations: 275.2 kB / 1.274 GB, free: 4.102 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000613/0.958, allocations: 312.3 kB / 1.274 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002081/0.9582, allocations: 73.48 kB / 1.275 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002086/0.9585, allocations: 115.3 kB / 1.275 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002566/0.9587, allocations: 139 kB / 1.275 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.51e-05/0.9588, allocations: 7.875 kB / 1.275 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008634/0.9596, allocations: 333.1 kB / 1.275 GB, free: 3.742 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002118/0.9598, allocations: 102.3 kB / 1.275 GB, free: 3.703 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000294/0.9601, allocations: 216.8 kB / 1.275 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001577/0.9617, allocations: 0.8204 MB / 1.276 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.9617, allocations: 1.094 kB / 1.276 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.315e-06/0.9617, allocations: 3.938 kB / 1.276 GB, free: 3.281 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.876e-05/0.9617, allocations: 0 / 1.276 GB, free: 3.281 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.001492/0.9632, allocations: 0.8949 MB / 1.277 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.9633, allocations: 9.062 kB / 1.277 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.479e-05/0.9633, allocations: 45.12 kB / 1.277 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001372/0.9635, allocations: 71.16 kB / 1.277 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006312/0.9641, allocations: 392.1 kB / 1.278 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.9641, allocations: 4 kB / 1.278 GB, free: 2.125 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.897e-05/0.9641, allocations: 10.66 kB / 1.278 GB, free: 2.121 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002901/0.9644, allocations: 139.5 kB / 1.278 GB, free: 2.051 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.9644, allocations: 4 kB / 1.278 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.689e-05/0.9645, allocations: 2 kB / 1.278 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.812e-06/0.9645, allocations: 1.875 kB / 1.278 GB, free: 2.047 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.9647, allocations: 98.81 kB / 1.278 GB, free: 2.023 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001138/0.9658, allocations: 0.5512 MB / 1.278 GB, free: 1.641 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002174/0.966, allocations: 91.48 kB / 1.278 GB, free: 1.602 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.778e-05/0.9661, allocations: 56.16 kB / 1.279 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.41e-05/0.9662, allocations: 10.12 kB / 1.279 GB, free: 1.574 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.9664, allocations: 132.7 kB / 1.279 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=11): time 2.324e-06/0.9664, allocations: 0.875 kB / 1.279 GB, free: 1.477 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11): time 0.0006857/0.9671, allocations: 307.3 kB / 1.279 GB, free: 1.336 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.9671, allocations: 80.7 kB / 1.279 GB, free: 1.242 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001283/0.9684, allocations: 0.8012 MB / 1.28 GB, free: 0.9336 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.65e-05/0.9685, allocations: 30.77 kB / 1.28 GB, free: 0.8984 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002308/0.9687, allocations: 291.8 kB / 1.28 GB, free: 0.668 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.926e-05/0.9687, allocations: 34.09 kB / 1.28 GB, free: 0.6406 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.975e-05/0.9688, allocations: 25.3 kB / 1.28 GB, free: 0.6211 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.9688, allocations: 313.7 kB / 1.28 GB, free: 320 kB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.766e-05/0.9689, allocations: 51.78 kB / 1.281 GB, free: 304 kB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.469e-05/0.969, allocations: 46.77 kB / 1.281 GB, free: 292 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.9692, allocations: 161.9 kB / 1.281 GB, free: 184 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.9692, allocations: 0 / 1.281 GB, free: 184 kB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003805/0.9696, allocations: 268.2 kB / 1.281 GB, free: 44 kB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.626e-05/0.9696, allocations: 39.5 kB / 1.281 GB, free: 8 kB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.834e-06/0.9696, allocations: 6.594 kB / 1.281 GB, free: 4 kB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.9696, allocations: 4 kB / 1.281 GB, free: 0 / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.9698, allocations: 11.05 kB / 1.281 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.9698, allocations: 1.156 kB / 1.281 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002341/0.97, allocations: 11.55 kB / 1.281 GB, free: 15.99 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.97, allocations: 3.391 kB / 1.281 GB, free: 15.99 MB / 1.014 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.0005419/0.9706, allocations: 340.4 kB / 1.281 GB, free: 15.78 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001358/0.9707, allocations: 71.42 kB / 1.281 GB, free: 15.74 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005851/0.9713, allocations: 301.6 kB / 1.282 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.9713, allocations: 0.6562 kB / 1.282 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.9713, allocations: 0 / 1.282 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.9713, allocations: 0.7031 kB / 1.282 GB, free: 15.59 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006758/0.972, allocations: 384.8 kB / 1.282 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.972, allocations: 3.938 kB / 1.282 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.798e-05/0.9721, allocations: 6.344 kB / 1.282 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.22e-06/0.9721, allocations: 2.188 kB / 1.282 GB, free: 15.33 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.248e-05/0.9721, allocations: 11.44 kB / 1.282 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.497e-06/0.9721, allocations: 0 / 1.282 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.9721, allocations: 5.422 kB / 1.282 GB, free: 15.32 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004631/0.9725, allocations: 315 kB / 1.282 GB, free: 15.14 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002458/0.9728, allocations: 146.2 kB / 1.283 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.373e-05/0.9729, allocations: 2.344 kB / 1.283 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.973, allocations: 5.625 kB / 1.283 GB, free: 15.01 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.374e-05/0.973, allocations: 8.969 kB / 1.283 GB, free: 15 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.05e-05/0.9731, allocations: 13.22 kB / 1.283 GB, free: 15 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001008/0.9741, allocations: 0.5848 MB / 1.283 GB, free: 14.77 MB / 1.014 GB Notification: Performance of sort global known variables: time 9e-08/0.9741, allocations: 0 / 1.283 GB, free: 14.77 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0006297/0.9747, allocations: 131 kB / 1.283 GB, free: 14.75 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.00139/0.9761, allocations: 0.9328 MB / 1.284 GB, free: 14.03 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004037/0.9765, allocations: 183.5 kB / 1.284 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.9765, allocations: 0 / 1.284 GB, free: 13.93 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001568/0.9767, allocations: 117 kB / 1.284 GB, free: 13.85 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007767/0.9774, allocations: 125.7 kB / 1.285 GB, free: 13.8 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007523/0.985, allocations: 4.682 MB / 1.289 GB, free: 11.48 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007824/0.9857, allocations: 0.9757 MB / 1.29 GB, free: 10.72 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.0002074/0.9859, allocations: 26.22 kB / 1.29 GB, free: 10.72 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002613/0.9862, allocations: 169.1 kB / 1.29 GB, free: 10.58 MB / 1.014 GB Notification: Performance of SimCode: time 1.623e-06/0.9862, allocations: 3.938 kB / 1.29 GB, free: 10.58 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04913/1.035, allocations: 12.1 MB / 1.302 GB, free: 9.371 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.717/10.75, allocations: 12.23 kB / 1.302 GB, free: 9.363 MB / 1.014 GB " [Timeout remaining time 289] (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.77809240994975]