Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.SpeedSelect,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 191.7 kB / 16.13 MB, free: 6.691 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.172/1.172, allocations: 222.9 MB / 239.8 MB, free: 4.637 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.221/2.221, allocations: 437 MB / 0.71 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 63.91 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4954/0.4965, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003321/0.4999, allocations: 2.214 MB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003045/0.503, allocations: 2.617 MB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001265/0.5031, allocations: 0 / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/0.5044, allocations: 0.5468 MB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.5046, allocations: 111.4 kB / 1.022 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005386/0.5052, allocations: 203.4 kB / 1.022 GB, free: 13.08 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004104/0.5056, allocations: 359.3 kB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.5057, allocations: 69.08 kB / 1.023 GB, free: 12.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001475/0.5059, allocations: 123.3 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001847/0.5061, allocations: 151.2 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.425e-05/0.5061, allocations: 7.938 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001521/0.5063, allocations: 47.98 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001497/0.5064, allocations: 135.4 kB / 1.023 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.5066, allocations: 222.4 kB / 1.023 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005749/0.5072, allocations: 0.6889 MB / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.875e-06/0.5072, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of FrontEnd: time 6.81e-07/0.5072, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.203e-05/0.5073, allocations: 0 / 1.024 GB, free: 11.29 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.001098/0.5084, allocations: 0.9029 MB / 1.025 GB, free: 10.33 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.5084, allocations: 8.031 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.715e-05/0.5084, allocations: 38.75 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.22e-05/0.5085, allocations: 75.94 kB / 1.025 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004666/0.509, allocations: 452.1 kB / 1.025 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.509, allocations: 12.38 kB / 1.025 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.5091, allocations: 7.938 kB / 1.025 GB, free: 9.699 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001975/0.5093, allocations: 92.23 kB / 1.026 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.733e-06/0.5093, allocations: 0 / 1.026 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.5093, allocations: 0 / 1.026 GB, free: 9.594 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.5093, allocations: 4 kB / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001117/0.5094, allocations: 43.91 kB / 1.026 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007427/0.5102, allocations: 0.5316 MB / 1.026 GB, free: 8.965 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000365/0.5105, allocations: 106.7 kB / 1.026 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.449e-05/0.5106, allocations: 32.84 kB / 1.026 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.5107, allocations: 0 / 1.026 GB, free: 8.816 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000163/0.5108, allocations: 87.38 kB / 1.026 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.5108, allocations: 0 / 1.026 GB, free: 8.719 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003902/0.5112, allocations: 200.7 kB / 1.027 GB, free: 8.516 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.5113, allocations: 102.8 kB / 1.027 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009882/0.5123, allocations: 0.9188 MB / 1.028 GB, free: 7.461 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.5123, allocations: 33.64 kB / 1.028 GB, free: 7.422 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002571/0.5126, allocations: 324 kB / 1.028 GB, free: 7.102 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.328e-05/0.5126, allocations: 15.81 kB / 1.028 GB, free: 7.086 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.377e-05/0.5126, allocations: 25.7 kB / 1.028 GB, free: 7.055 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.257e-05/0.5127, allocations: 306 kB / 1.028 GB, free: 6.75 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.67e-05/0.5128, allocations: 27.98 kB / 1.028 GB, free: 6.723 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.5129, allocations: 76.27 kB / 1.028 GB, free: 6.633 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.5131, allocations: 77.64 kB / 1.028 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.5131, allocations: 0 / 1.028 GB, free: 6.551 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002555/0.5134, allocations: 172.7 kB / 1.029 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.5134, allocations: 13.81 kB / 1.029 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/0.5134, allocations: 0 / 1.029 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.5134, allocations: 0 / 1.029 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.38e-05/0.5135, allocations: 12 kB / 1.029 GB, free: 6.352 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.5135, allocations: 3.984 kB / 1.029 GB, free: 6.348 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000124/0.5136, allocations: 19.81 kB / 1.029 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.5136, allocations: 4 kB / 1.029 GB, free: 6.324 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.sta.combiTimeTable.nextTimeEvent,$whenCondition1,sta.combiTimeTable.nextTimeEventScaled,$PRE.sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent,sta.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0002772/0.5139, allocations: 322.2 kB / 1.029 GB, free: 6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.233e-05/0.514, allocations: 67.16 kB / 1.029 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001006/0.5141, allocations: 78.41 kB / 1.029 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.5141, allocations: 0 / 1.029 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.5141, allocations: 0 / 1.029 GB, free: 5.852 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.5141, allocations: 3.938 kB / 1.029 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/0.5145, allocations: 393.4 kB / 1.029 GB, free: 5.414 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.5145, allocations: 4 kB / 1.029 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.527e-05/0.5145, allocations: 7.938 kB / 1.029 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.5145, allocations: 0 / 1.029 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.123e-05/0.5146, allocations: 4 kB / 1.029 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.5146, allocations: 0 / 1.029 GB, free: 5.398 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.5146, allocations: 3.984 kB / 1.029 GB, free: 5.395 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002738/0.5148, allocations: 192.2 kB / 1.03 GB, free: 5.188 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.515, allocations: 136.2 kB / 1.03 GB, free: 5.035 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.241e-05/0.515, allocations: 4 kB / 1.03 GB, free: 5.031 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001206/0.5151, allocations: 11.98 kB / 1.03 GB, free: 5.02 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.816e-05/0.5152, allocations: 11.92 kB / 1.03 GB, free: 5.008 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.685e-05/0.5152, allocations: 7.984 kB / 1.03 GB, free: 5 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000728/0.516, allocations: 0.6748 MB / 1.03 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.516, allocations: 0 / 1.03 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002722/0.5162, allocations: 67.83 kB / 1.031 GB, free: 4.266 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,sta.y,sta.combiTimeTable.nextTimeEvent,sta.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (sta.combiTimeTable.nextTimeEventScaled,sta.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.00132/0.5176, allocations: 1.063 MB / 1.032 GB, free: 3.332 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001967/0.5178, allocations: 71.91 kB / 1.032 GB, free: 3.262 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.5178, allocations: 0 / 1.032 GB, free: 3.262 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.643e-05/0.5179, allocations: 31.98 kB / 1.032 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006469/0.5185, allocations: 176 kB / 1.032 GB, free: 3.059 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005518/0.5241, allocations: 5.077 MB / 1.037 GB, free: 13.88 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005163/0.5246, allocations: 0.9905 MB / 1.038 GB, free: 12.86 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001401/0.5247, allocations: 43.28 kB / 1.038 GB, free: 12.82 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002054/0.5249, allocations: 187.4 kB / 1.038 GB, free: 12.64 MB / 0.795 GB Notification: Performance of SimCode: time 3.21e-07/0.525, allocations: 0 / 1.038 GB, free: 12.64 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6477/1.173, allocations: 12.7 MB / 1.05 GB, free: 240 kB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004005/1.173, allocations: 265.8 kB / 1.051 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.426/3.599, allocations: 0 / 1.051 GB, free: 15.9 MB / 0.8106 GB (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.fmu > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches