Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio",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.001432/0.001432, allocations: 108 kB / 15.6 MB, free: 132 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.00164/0.00164, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.318/1.318, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.335/2.335, allocations: 390.3 MB / 0.6647 GB, free: 272 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 71.91 kB / 0.8127 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5138/0.515, allocations: 140.4 MB / 0.9497 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio): time 0.002277/0.5173, allocations: 1.664 MB / 0.9514 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.1372/0.6545, allocations: 147.3 MB / 1.095 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.055e-05/0.6546, allocations: 0 / 1.095 GB, free: 12.28 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.713e-05/0.6546, allocations: 7.875 kB / 1.095 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.737e-05/0.6548, allocations: 19.84 kB / 1.095 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007161/0.6555, allocations: 239.1 kB / 1.095 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.6556, allocations: 99.59 kB / 1.096 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.531e-05/0.6557, allocations: 19.98 kB / 1.096 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.993e-05/0.6558, allocations: 39.86 kB / 1.096 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 8.207e-05/0.6558, allocations: 43.83 kB / 1.096 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.887e-05/0.6559, allocations: 12 kB / 1.096 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004429/0.6563, allocations: 243.3 kB / 1.096 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.553e-05/0.6564, allocations: 23.92 kB / 1.096 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.049e-05/0.6564, allocations: 39.78 kB / 1.096 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002935/0.6567, allocations: 205.7 kB / 1.096 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.6567, allocations: 0 / 1.096 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6567, allocations: 3.938 kB / 1.096 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.6567, allocations: 0 / 1.096 GB, free: 11.3 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005689/0.6573, allocations: 423.2 kB / 1.097 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.6573, allocations: 12.03 kB / 1.097 GB, free: 10.83 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.356e-05/0.6574, allocations: 34.75 kB / 1.097 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001215/0.6586, allocations: 160.5 kB / 1.097 GB, free: 10.63 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001054/0.6587, allocations: 183.3 kB / 1.097 GB, free: 10.41 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.079e-05/0.6588, allocations: 33.7 kB / 1.097 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.6588, allocations: 12 kB / 1.097 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005355/0.6594, allocations: 160 kB / 1.097 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.262e-06/0.6594, allocations: 4 kB / 1.097 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.596e-05/0.6594, allocations: 8 kB / 1.097 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.6594, allocations: 0 / 1.097 GB, free: 10.19 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008298/0.6602, allocations: 199.8 kB / 1.097 GB, free: 9.992 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007779/0.661, allocations: 430.4 kB / 1.098 GB, free: 9.516 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005284/0.6616, allocations: 138.3 kB / 1.098 GB, free: 9.371 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004087/0.662, allocations: 96.89 kB / 1.098 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.583e-05/0.662, allocations: 0 / 1.098 GB, free: 9.273 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.177e-05/0.662, allocations: 38.56 kB / 1.098 GB, free: 9.227 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=6): time 9.82e-07/0.6621, allocations: 4 kB / 1.098 GB, free: 9.223 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6): time 0.00136/0.6634, allocations: 305.3 kB / 1.098 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.045e-05/0.6635, allocations: 59.41 kB / 1.098 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.6636, allocations: 139 kB / 1.098 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.6636, allocations: 25.7 kB / 1.099 GB, free: 8.672 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.634e-05/0.6636, allocations: 104.1 kB / 1.099 GB, free: 8.566 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.382e-05/0.6637, allocations: 19.7 kB / 1.099 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.436e-05/0.6637, allocations: 21.7 kB / 1.099 GB, free: 8.52 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.103e-05/0.6638, allocations: 318.8 kB / 1.099 GB, free: 8.199 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004043/0.6642, allocations: 91.91 kB / 1.099 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/0.6646, allocations: 87.91 kB / 1.099 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007541/0.6654, allocations: 168.7 kB / 1.099 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.6654, allocations: 0 / 1.099 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008521/0.6663, allocations: 217.4 kB / 1.099 GB, free: 7.637 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.6663, allocations: 11.98 kB / 1.1 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.047e-06/0.6663, allocations: 4 kB / 1.1 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.6663, allocations: 0 / 1.1 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002963/0.6666, allocations: 39.89 kB / 1.1 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.6666, allocations: 0 / 1.1 GB, free: 7.582 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002416/0.6669, allocations: 39.91 kB / 1.1 GB, free: 7.543 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.314e-05/0.6669, allocations: 3.984 kB / 1.1 GB, free: 7.539 MB / 0.8575 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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 8.404e-05/0.667, allocations: 117.8 kB / 1.1 GB, free: 7.414 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.709e-05/0.667, allocations: 7.906 kB / 1.1 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.431e-05/0.6671, allocations: 12.66 kB / 1.1 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.6671, allocations: 8 kB / 1.1 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.6671, allocations: 0 / 1.1 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.6671, allocations: 0 / 1.1 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002071/0.6673, allocations: 225.3 kB / 1.1 GB, free: 7.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.006e-06/0.6673, allocations: 4 kB / 1.1 GB, free: 7.113 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/0.6676, allocations: 31.95 kB / 1.1 GB, free: 7.082 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.6676, allocations: 8.438 kB / 1.1 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.6676, allocations: 0 / 1.1 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.173e-06/0.6676, allocations: 0 / 1.1 GB, free: 7.074 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.6676, allocations: 4 kB / 1.1 GB, free: 7.07 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008808/0.6685, allocations: 319.2 kB / 1.1 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.753e-05/0.6686, allocations: 88.92 kB / 1.1 GB, free: 6.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.6686, allocations: 0 / 1.1 GB, free: 6.637 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002772/0.6689, allocations: 35.95 kB / 1.1 GB, free: 6.602 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.248e-05/0.6689, allocations: 7.984 kB / 1.1 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.669e-06/0.6689, allocations: 4 kB / 1.1 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.424e-05/0.669, allocations: 104.8 kB / 1.101 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.669, allocations: 0 / 1.101 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002503/0.6693, allocations: 27.98 kB / 1.101 GB, free: 6.461 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (onOff.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 6 * 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 Backend phase and start with SimCode phase: time 0.001157/0.6704, allocations: 0.8567 MB / 1.101 GB, free: 5.578 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000847/0.6713, allocations: 191.8 kB / 1.102 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6713, allocations: 0 / 1.102 GB, free: 5.391 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004255/0.6717, allocations: 103.8 kB / 1.102 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003108/0.6721, allocations: 22.73 kB / 1.102 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003892/0.676, allocations: 1.951 MB / 1.104 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.6762, allocations: 0.6963 MB / 1.104 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001347/0.6763, allocations: 12 kB / 1.104 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.209e-05/0.6764, allocations: 35.42 kB / 1.104 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of SimCode: time 2.71e-07/0.6764, allocations: 4 kB / 1.104 GB, free: 2.469 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.116/1.793, allocations: 2.876 MB / 1.107 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/12.21, allocations: 17.28 kB / 1.107 GB, free: 15.71 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_SensibleHeatRatio.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.SensibleHeatRatio.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches