Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.SpeedSelect,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_latest_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.001084/0.001084, 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.001123/0.001123, allocations: 193.2 kB / 16.14 MB, free: 6.645 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.234/1.234, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.492/2.492, allocations: 461.9 MB / 0.7342 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 63.98 kB / 0.8985 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2301/0.2313, allocations: 157.4 MB / 1.052 GB, free: 8.191 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003301/0.2347, allocations: 2.226 MB / 1.054 GB, free: 5.949 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.002939/0.2376, allocations: 2.601 MB / 1.057 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001521/0.2378, allocations: 7.938 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.2391, allocations: 0.5371 MB / 1.057 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002356/0.2393, allocations: 107.5 kB / 1.058 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005433/0.2399, allocations: 206 kB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003786/0.2403, allocations: 362.2 kB / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.2404, allocations: 73.05 kB / 1.058 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.2406, allocations: 119.3 kB / 1.058 GB, free: 1.941 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000177/0.2407, allocations: 155.2 kB / 1.058 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.37e-05/0.2408, allocations: 4 kB / 1.058 GB, free: 1.785 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000159/0.2409, allocations: 55.91 kB / 1.059 GB, free: 1.73 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.000143/0.2411, allocations: 127.5 kB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001794/0.2413, allocations: 226.4 kB / 1.059 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005488/0.2418, allocations: 0.6889 MB / 1.06 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2418, allocations: 0 / 1.06 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.134e-06/0.2419, allocations: 0 / 1.06 GB, free: 0.6914 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.715e-06/0.2419, allocations: 3.938 kB / 1.06 GB, free: 0.6875 MB / 0.8106 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.001113/0.243, allocations: 0.9067 MB / 1.06 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.243, allocations: 11.97 kB / 1.06 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.889e-05/0.2431, allocations: 38.75 kB / 1.06 GB, free: 15.66 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.885e-05/0.2432, allocations: 72.08 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004621/0.2436, allocations: 452 kB / 1.061 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.479e-05/0.2437, allocations: 12.31 kB / 1.061 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.2437, allocations: 7.938 kB / 1.061 GB, free: 15.09 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001998/0.2439, allocations: 104.2 kB / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.883e-06/0.2439, allocations: 0 / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.276e-05/0.2439, allocations: 0 / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.2439, allocations: 0 / 1.061 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.244, allocations: 47.91 kB / 1.061 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006513/0.2447, allocations: 0.5123 MB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/0.2451, allocations: 110.7 kB / 1.062 GB, free: 14.25 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.666e-05/0.2452, allocations: 32.84 kB / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.2452, allocations: 0 / 1.062 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.2454, allocations: 83.38 kB / 1.062 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.2454, allocations: 4 kB / 1.062 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0004095/0.2458, allocations: 200.7 kB / 1.062 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.14e-05/0.2459, allocations: 106.8 kB / 1.062 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009878/0.2469, allocations: 0.9265 MB / 1.063 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.776e-05/0.2469, allocations: 25.7 kB / 1.063 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002584/0.2471, allocations: 316.1 kB / 1.063 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.825e-05/0.2472, allocations: 23.73 kB / 1.063 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.732e-05/0.2472, allocations: 21.72 kB / 1.063 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.003e-05/0.2473, allocations: 314 kB / 1.064 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.781e-05/0.2474, allocations: 27.98 kB / 1.064 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.2475, allocations: 72.28 kB / 1.064 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.2477, allocations: 77.56 kB / 1.064 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2477, allocations: 0 / 1.064 GB, free: 11.94 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002517/0.2479, allocations: 164.8 kB / 1.064 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.248, allocations: 4 kB / 1.064 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.248, allocations: 4 kB / 1.064 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.248, allocations: 0 / 1.064 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.636e-05/0.2481, allocations: 19.92 kB / 1.064 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2481, allocations: 0 / 1.064 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001201/0.2482, allocations: 11.84 kB / 1.064 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.2482, allocations: 7.984 kB / 1.064 GB, free: 11.72 MB / 0.8262 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.0002774/0.2485, allocations: 321.7 kB / 1.064 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.584e-05/0.2486, allocations: 67.16 kB / 1.064 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.2487, allocations: 78.41 kB / 1.065 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-06/0.2487, allocations: 4.031 kB / 1.065 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2487, allocations: 0 / 1.065 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2487, allocations: 3.938 kB / 1.065 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003444/0.2491, allocations: 393.4 kB / 1.065 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2491, allocations: 4 kB / 1.065 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.08e-05/0.2491, allocations: 15.92 kB / 1.065 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.2491, allocations: 0 / 1.065 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.628e-06/0.2492, allocations: 0 / 1.065 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.2492, allocations: 8 kB / 1.065 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.2492, allocations: 0 / 1.065 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002717/0.2494, allocations: 196.2 kB / 1.065 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001052/0.2496, allocations: 140.1 kB / 1.065 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.568e-05/0.2496, allocations: 3.984 kB / 1.065 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001301/0.2498, allocations: 8 kB / 1.065 GB, free: 10.4 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.408e-05/0.2498, allocations: 12.11 kB / 1.065 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.489e-05/0.2498, allocations: 4 kB / 1.065 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007288/0.2506, allocations: 0.6863 MB / 1.066 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2506, allocations: 0 / 1.066 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002781/0.2509, allocations: 52 kB / 1.066 GB, free: 9.656 MB / 0.8262 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.001323/0.2522, allocations: 1.068 MB / 1.067 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002024/0.2524, allocations: 75.88 kB / 1.067 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2524, allocations: 0 / 1.067 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.381e-05/0.2525, allocations: 39.92 kB / 1.067 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006508/0.2532, allocations: 155.1 kB / 1.067 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005451/0.2586, allocations: 5.066 MB / 1.072 GB, free: 3.277 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000497/0.2592, allocations: 0.9944 MB / 1.073 GB, free: 2.258 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001502/0.2593, allocations: 55.19 kB / 1.073 GB, free: 2.207 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002048/0.2595, allocations: 187.4 kB / 1.073 GB, free: 2.027 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2595, allocations: 4 kB / 1.073 GB, free: 2.023 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4263/0.6859, allocations: 12.69 MB / 1.086 GB, free: 5.637 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002789/0.6862, allocations: 283.6 kB / 1.086 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.054/2.74, allocations: 0 / 1.086 GB, free: 5.266 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches