Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.SensibleHeatRatio,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_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.001493/0.001493, 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.001764/0.001764, allocations: 197 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.31/1.31, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.465/2.465, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001254, allocations: 66.53 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2222, allocations: 157.4 MB / 1.053 GB, free: 8.293 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.002382/0.2246, allocations: 1.649 MB / 1.055 GB, free: 6.629 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1228/0.3474, allocations: 147.3 MB / 1.198 GB, free: 2.77 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.33e-05/0.3475, allocations: 4 kB / 1.198 GB, free: 2.766 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.71e-05/0.3476, allocations: 7.922 kB / 1.198 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.769e-05/0.3476, allocations: 11.81 kB / 1.198 GB, free: 2.746 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006681/0.3483, allocations: 247.1 kB / 1.199 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001018/0.3484, allocations: 91.66 kB / 1.199 GB, free: 2.414 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.798e-05/0.3485, allocations: 24.27 kB / 1.199 GB, free: 2.391 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 5.097e-05/0.3486, allocations: 39.89 kB / 1.199 GB, free: 2.352 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.689e-05/0.3487, allocations: 47.77 kB / 1.199 GB, free: 2.305 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.3487, allocations: 8 kB / 1.199 GB, free: 2.297 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004278/0.3491, allocations: 243.4 kB / 1.199 GB, free: 2.059 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.3492, allocations: 19.92 kB / 1.199 GB, free: 2.039 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.236e-05/0.3492, allocations: 35.8 kB / 1.199 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002845/0.3495, allocations: 207.5 kB / 1.199 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.3495, allocations: 0 / 1.199 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.665e-06/0.3495, allocations: 0 / 1.199 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.3495, allocations: 3.938 kB / 1.199 GB, free: 1.797 MB / 0.9512 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.0005279/0.3501, allocations: 427 kB / 1.2 GB, free: 1.332 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.3501, allocations: 8.625 kB / 1.2 GB, free: 1.324 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.417e-05/0.3501, allocations: 42.73 kB / 1.2 GB, free: 1.273 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.3513, allocations: 152.6 kB / 1.2 GB, free: 1.125 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001003/0.3514, allocations: 187.9 kB / 1.2 GB, free: 0.9023 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.832e-05/0.3514, allocations: 33.7 kB / 1.2 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.3515, allocations: 12 kB / 1.2 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000501/0.352, allocations: 161.5 kB / 1.2 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.352, allocations: 0 / 1.2 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.352, allocations: 0 / 1.2 GB, free: 0.6875 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.352, allocations: 4 kB / 1.2 GB, free: 0.6836 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007627/0.3528, allocations: 195.8 kB / 1.2 GB, free: 0.4922 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000712/0.3535, allocations: 422.2 kB / 1.201 GB, free: 32 kB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004882/0.354, allocations: 134.5 kB / 1.201 GB, free: 15.89 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003755/0.3544, allocations: 100.8 kB / 1.201 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/0.3544, allocations: 0 / 1.201 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.3544, allocations: 38.5 kB / 1.201 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=6): time 8.51e-07/0.3544, allocations: 0 / 1.201 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6): time 0.001258/0.3557, allocations: 313.3 kB / 1.201 GB, free: 15.43 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.843e-05/0.3557, allocations: 51.41 kB / 1.201 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.682e-05/0.3558, allocations: 139.7 kB / 1.202 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.768e-05/0.3559, allocations: 29.7 kB / 1.202 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.647e-05/0.3559, allocations: 96.12 kB / 1.202 GB, free: 15.09 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.545e-05/0.3559, allocations: 27.73 kB / 1.202 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.209e-05/0.356, allocations: 21.7 kB / 1.202 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 8.619e-05/0.3561, allocations: 318.8 kB / 1.202 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003725/0.3565, allocations: 87.86 kB / 1.202 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003579/0.3568, allocations: 95.91 kB / 1.202 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006907/0.3575, allocations: 168.7 kB / 1.202 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3576, allocations: 4 kB / 1.202 GB, free: 14.36 MB / 0.9669 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007834/0.3583, allocations: 229.3 kB / 1.203 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.089e-05/0.3584, allocations: 4 kB / 1.203 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.3584, allocations: 0 / 1.203 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.538e-06/0.3584, allocations: 0 / 1.203 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002742/0.3587, allocations: 39.89 kB / 1.203 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.3587, allocations: 0 / 1.203 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/0.3589, allocations: 36.39 kB / 1.203 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.3589, allocations: 0 / 1.203 GB, free: 14.05 MB / 0.9669 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 7.983e-05/0.359, allocations: 113.8 kB / 1.203 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.025e-05/0.359, allocations: 11.84 kB / 1.203 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.738e-05/0.3591, allocations: 24.7 kB / 1.203 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.3591, allocations: 3.984 kB / 1.203 GB, free: 13.89 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3591, allocations: 4 kB / 1.203 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.903e-06/0.3591, allocations: 0 / 1.203 GB, free: 13.88 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.3593, allocations: 221.4 kB / 1.203 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.3593, allocations: 0 / 1.203 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002604/0.3596, allocations: 43.89 kB / 1.203 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3596, allocations: 0 / 1.203 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.346e-05/0.3596, allocations: 3.984 kB / 1.203 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3596, allocations: 0 / 1.203 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3596, allocations: 4 kB / 1.203 GB, free: 13.57 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000805/0.3604, allocations: 311.2 kB / 1.203 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 3.696e-05/0.3605, allocations: 92.94 kB / 1.204 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.361e-05/0.3605, allocations: 0 / 1.204 GB, free: 13.14 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002442/0.3608, allocations: 31.97 kB / 1.204 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.316e-05/0.3608, allocations: 7.984 kB / 1.204 GB, free: 13.1 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.357e-05/0.3608, allocations: 4 kB / 1.204 GB, free: 13.09 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.344e-05/0.3609, allocations: 121 kB / 1.204 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.3609, allocations: 0 / 1.204 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002239/0.3611, allocations: 16 kB / 1.204 GB, free: 12.96 MB / 0.9669 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.001049/0.3622, allocations: 0.8528 MB / 1.205 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0007682/0.363, allocations: 199.8 kB / 1.205 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.363, allocations: 0 / 1.205 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0003766/0.3633, allocations: 99.84 kB / 1.205 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002835/0.3636, allocations: 16.36 kB / 1.205 GB, free: 11.77 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003588/0.3672, allocations: 1.966 MB / 1.207 GB, free: 9.734 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001901/0.3674, allocations: 0.6962 MB / 1.207 GB, free: 9.012 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001197/0.3676, allocations: 12 kB / 1.207 GB, free: 9 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.717e-05/0.3677, allocations: 39.36 kB / 1.207 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.3677, allocations: 0 / 1.207 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8387/1.206, allocations: 2.877 MB / 1.21 GB, free: 6.219 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.344/8.55, allocations: 6.938 kB / 1.21 GB, free: 6.215 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches