Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) 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.SpeedSelect,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect,fileNamePrefix="Buildings_11_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.001418/0.001418, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.393/2.393, allocations: 469.8 MB / 0.7424 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001734/0.001734, allocations: 65.86 kB / 0.9087 GB, free: 34.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2481, allocations: 159.2 MB / 1.064 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003489/0.2517, allocations: 2.163 MB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003207/0.2549, allocations: 2.643 MB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.626e-05/0.255, allocations: 7.938 kB / 1.069 GB, free: 9.363 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001214/0.2562, allocations: 0.5369 MB / 1.069 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002311/0.2565, allocations: 127.3 kB / 1.069 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005437/0.257, allocations: 231.5 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0004002/0.2574, allocations: 370.9 kB / 1.07 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.2576, allocations: 73.06 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001444/0.2577, allocations: 127.4 kB / 1.07 GB, free: 7.91 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001827/0.2579, allocations: 143.2 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.327e-05/0.2579, allocations: 15.94 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.2581, allocations: 59.97 kB / 1.07 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.000149/0.2582, allocations: 131.5 kB / 1.071 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002049/0.2585, allocations: 226.4 kB / 1.071 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006613/0.2591, allocations: 0.7045 MB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2591, allocations: 0 / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2591, allocations: 0 / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.2592, allocations: 0 / 1.071 GB, free: 6.637 MB / 0.8262 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.001127/0.2603, allocations: 0.9067 MB / 1.072 GB, free: 5.672 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.139e-05/0.2603, allocations: 16.03 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.614e-05/0.2604, allocations: 42.72 kB / 1.072 GB, free: 5.605 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.531e-05/0.2605, allocations: 68.09 kB / 1.072 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004839/0.261, allocations: 455.9 kB / 1.073 GB, free: 5.055 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.403e-05/0.261, allocations: 4.375 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.78e-05/0.261, allocations: 11.88 kB / 1.073 GB, free: 5.039 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001984/0.2612, allocations: 96.22 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.332e-06/0.2612, allocations: 4 kB / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.092e-05/0.2612, allocations: 0 / 1.073 GB, free: 4.926 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.2613, allocations: 4 kB / 1.073 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001067/0.2614, allocations: 43.91 kB / 1.073 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006587/0.262, allocations: 0.5201 MB / 1.074 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000349/0.2624, allocations: 106.7 kB / 1.074 GB, free: 4.195 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.279e-05/0.2625, allocations: 32.84 kB / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.2625, allocations: 0 / 1.074 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001584/0.2627, allocations: 87.36 kB / 1.074 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.2627, allocations: 3.938 kB / 1.074 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.000374/0.263, allocations: 196.7 kB / 1.074 GB, free: 3.859 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.138e-05/0.2631, allocations: 110.8 kB / 1.074 GB, free: 3.727 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.2641, allocations: 0.9188 MB / 1.075 GB, free: 2.793 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.2642, allocations: 33.7 kB / 1.075 GB, free: 2.754 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002723/0.2644, allocations: 308.1 kB / 1.075 GB, free: 2.449 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.795e-05/0.2645, allocations: 27.72 kB / 1.075 GB, free: 2.422 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.585e-05/0.2645, allocations: 21.72 kB / 1.075 GB, free: 2.395 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.2647, allocations: 318 kB / 1.076 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.159e-05/0.2647, allocations: 23.98 kB / 1.076 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001014/0.2648, allocations: 76.27 kB / 1.076 GB, free: 1.965 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.265, allocations: 73.64 kB / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.265, allocations: 0 / 1.076 GB, free: 1.887 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002496/0.2653, allocations: 168.7 kB / 1.076 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.2653, allocations: 4 kB / 1.076 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.2653, allocations: 4.031 kB / 1.076 GB, free: 1.707 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.2653, allocations: 3.984 kB / 1.076 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.2654, allocations: 12 kB / 1.076 GB, free: 1.691 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.351e-06/0.2654, allocations: 4.188 kB / 1.076 GB, free: 1.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.2655, allocations: 11.92 kB / 1.076 GB, free: 1.676 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.667e-06/0.2655, allocations: 7.938 kB / 1.076 GB, free: 1.668 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.0002991/0.2658, allocations: 320.3 kB / 1.076 GB, free: 1.348 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.985e-05/0.2659, allocations: 67.16 kB / 1.076 GB, free: 1.281 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000109/0.266, allocations: 78.41 kB / 1.076 GB, free: 1.199 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.013e-06/0.266, allocations: 4 kB / 1.076 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.277e-06/0.266, allocations: 0 / 1.076 GB, free: 1.195 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.454e-06/0.266, allocations: 7.938 kB / 1.076 GB, free: 1.188 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003612/0.2664, allocations: 389.4 kB / 1.077 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2664, allocations: 0 / 1.077 GB, free: 0.7578 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.826e-05/0.2665, allocations: 11.92 kB / 1.077 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.2665, allocations: 4 kB / 1.077 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.2665, allocations: 0 / 1.077 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2665, allocations: 3.938 kB / 1.077 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.2665, allocations: 0 / 1.077 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002781/0.2668, allocations: 208.5 kB / 1.077 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.2669, allocations: 144.2 kB / 1.077 GB, free: 364 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.267, allocations: 4 kB / 1.077 GB, free: 360 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001097/0.2671, allocations: 4 kB / 1.077 GB, free: 356 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.006e-05/0.2671, allocations: 15.92 kB / 1.077 GB, free: 340 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.439e-05/0.2672, allocations: 4 kB / 1.077 GB, free: 336 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007716/0.2679, allocations: 0.6786 MB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.7e-07/0.2679, allocations: 4 kB / 1.078 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002587/0.2682, allocations: 56 kB / 1.078 GB, free: 15.59 MB / 0.8419 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.00183/0.27, allocations: 1.054 MB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0002086/0.2703, allocations: 83.89 kB / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2703, allocations: 0 / 1.079 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 8.571e-05/0.2704, allocations: 35.98 kB / 1.079 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006027/0.271, allocations: 166.8 kB / 1.079 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005639/0.2766, allocations: 4.99 MB / 1.084 GB, free: 9.301 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006327/0.2773, allocations: 0.9941 MB / 1.085 GB, free: 8.277 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001588/0.2774, allocations: 51.25 kB / 1.085 GB, free: 8.23 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002346/0.2777, allocations: 191.4 kB / 1.085 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of SimCode: time 3.81e-07/0.2777, allocations: 0 / 1.085 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.13/1.408, allocations: 13.04 MB / 1.098 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.44/13.85, allocations: 5.594 kB / 1.098 GB, free: 11.29 MB / 0.8575 GB (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect_fmu --startTime=0 --stopTime=60 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SpeedSelect.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches