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.1-maint.10.0.x/package.mo", uses=false) 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.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.00105/0.00105, allocations: 108 kB / 15.61 MB, free: 128 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.001106/0.001106, allocations: 195.5 kB / 16.53 MB, free: 6.668 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.297/1.297, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.484/2.484, allocations: 437 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 67.89 kB / 0.8694 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5232/0.5245, allocations: 151.6 MB / 1.017 GB, free: 2.426 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SpeedSelect): time 0.003321/0.5279, allocations: 2.159 MB / 1.02 GB, free: 256 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.003011/0.5309, allocations: 2.64 MB / 1.022 GB, free: 13.6 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001058/0.5311, allocations: 11.94 kB / 1.022 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001251/0.5323, allocations: 0.5427 MB / 1.023 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.5326, allocations: 127.3 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005755/0.5332, allocations: 235 kB / 1.023 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003773/0.5336, allocations: 370.2 kB / 1.023 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.5337, allocations: 73.06 kB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001382/0.5338, allocations: 127.4 kB / 1.024 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001845/0.534, allocations: 151.2 kB / 1.024 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.557e-05/0.5341, allocations: 8 kB / 1.024 GB, free: 11.97 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001543/0.5342, allocations: 55.97 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001431/0.5344, allocations: 131.5 kB / 1.024 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001867/0.5346, allocations: 234.3 kB / 1.024 GB, free: 11.56 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005889/0.5352, allocations: 0.7006 MB / 1.025 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.5352, allocations: 4 kB / 1.025 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5352, allocations: 0 / 1.025 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.384e-06/0.5352, allocations: 0 / 1.025 GB, free: 10.85 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.001071/0.5363, allocations: 0.9081 MB / 1.026 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.5363, allocations: 12.03 kB / 1.026 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.64e-05/0.5364, allocations: 38.73 kB / 1.026 GB, free: 9.828 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.833e-05/0.5365, allocations: 72 kB / 1.026 GB, free: 9.758 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004521/0.5369, allocations: 448.1 kB / 1.026 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.427e-05/0.537, allocations: 4.375 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.663e-05/0.537, allocations: 7.938 kB / 1.026 GB, free: 9.27 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.5372, allocations: 100.2 kB / 1.026 GB, free: 9.156 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.785e-06/0.5372, allocations: 3.938 kB / 1.026 GB, free: 9.152 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.349e-05/0.5372, allocations: 4 kB / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.5372, allocations: 0 / 1.026 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001153/0.5374, allocations: 43.97 kB / 1.026 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006543/0.538, allocations: 0.5161 MB / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003714/0.5384, allocations: 110.7 kB / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.388e-05/0.5385, allocations: 32.84 kB / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.5385, allocations: 11.97 kB / 1.027 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001621/0.5387, allocations: 83.36 kB / 1.027 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.5387, allocations: 0 / 1.027 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003855/0.5391, allocations: 196.8 kB / 1.027 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.729e-05/0.5391, allocations: 110.8 kB / 1.027 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009496/0.5401, allocations: 0.9226 MB / 1.028 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.78e-05/0.5401, allocations: 25.7 kB / 1.028 GB, free: 6.984 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002636/0.5404, allocations: 323.9 kB / 1.029 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.223e-05/0.5404, allocations: 11.8 kB / 1.029 GB, free: 6.652 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.5405, allocations: 29.72 kB / 1.029 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.078e-05/0.5406, allocations: 314 kB / 1.029 GB, free: 6.305 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.409e-05/0.5407, allocations: 27.98 kB / 1.029 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.5408, allocations: 76.27 kB / 1.029 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.5409, allocations: 73.94 kB / 1.029 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.5409, allocations: 4 kB / 1.029 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0002554/0.5412, allocations: 176.8 kB / 1.029 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.263e-05/0.5412, allocations: 4 kB / 1.029 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.5412, allocations: 0 / 1.029 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.5412, allocations: 7.984 kB / 1.029 GB, free: 5.914 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.641e-05/0.5413, allocations: 12 kB / 1.029 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.5413, allocations: 0 / 1.029 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.5414, allocations: 19.77 kB / 1.029 GB, free: 5.883 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.5415, allocations: 0 / 1.029 GB, free: 5.883 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.0002811/0.5417, allocations: 317.7 kB / 1.03 GB, free: 5.562 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.142e-05/0.5418, allocations: 71.16 kB / 1.03 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.5419, allocations: 78.41 kB / 1.03 GB, free: 5.41 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.5419, allocations: 4 kB / 1.03 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.542, allocations: 0 / 1.03 GB, free: 5.406 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.542, allocations: 3.938 kB / 1.03 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.5423, allocations: 393.4 kB / 1.03 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.5423, allocations: 0 / 1.03 GB, free: 4.969 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.818e-05/0.5424, allocations: 11.98 kB / 1.03 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5424, allocations: 0 / 1.03 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.5424, allocations: 0 / 1.03 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.5424, allocations: 0 / 1.03 GB, free: 4.957 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.5424, allocations: 4 kB / 1.03 GB, free: 4.953 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002752/0.5427, allocations: 196.2 kB / 1.03 GB, free: 4.742 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.5428, allocations: 140.2 kB / 1.031 GB, free: 4.586 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.051e-05/0.5429, allocations: 4 kB / 1.031 GB, free: 4.582 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.543, allocations: 4 kB / 1.031 GB, free: 4.578 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.5431, allocations: 15.86 kB / 1.031 GB, free: 4.562 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.5431, allocations: 4.188 kB / 1.031 GB, free: 4.559 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0007207/0.5438, allocations: 0.6864 MB / 1.031 GB, free: 3.879 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5438, allocations: 7.875 kB / 1.031 GB, free: 3.871 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002768/0.5441, allocations: 56 kB / 1.031 GB, free: 3.816 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.001379/0.5455, allocations: 1.05 MB / 1.032 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002133/0.5457, allocations: 75.89 kB / 1.032 GB, free: 2.82 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5457, allocations: 0 / 1.032 GB, free: 2.82 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.223e-05/0.5458, allocations: 39.98 kB / 1.032 GB, free: 2.781 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006503/0.5465, allocations: 173.6 kB / 1.033 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005225/0.5517, allocations: 4.983 MB / 1.037 GB, free: 13.52 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000521/0.5522, allocations: 0.9941 MB / 1.038 GB, free: 12.5 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001679/0.5524, allocations: 42.97 kB / 1.038 GB, free: 12.46 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002117/0.5526, allocations: 187.4 kB / 1.039 GB, free: 12.28 MB / 0.795 GB Notification: Performance of SimCode: time 6.51e-07/0.5526, allocations: 4 kB / 1.039 GB, free: 12.27 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03078/0.5834, allocations: 13.05 MB / 1.051 GB, free: 15.51 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.582/9.166, allocations: 9.672 kB / 1.051 GB, free: 15.5 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