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.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: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shr.SHR|onOff.y|TEvaIn.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|shr.SHR|onOff.y|TEvaIn.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 86.88 kB / 15.06 MB, free: 1.09 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.001346/0.001346, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.533/1.533, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.03/3.03, allocations: 462.6 MB / 0.736 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004189/0.0004189, allocations: 8.906 kB / 0.9021 GB, free: 36.64 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3982/0.3987, allocations: 159.6 MB / 1.058 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.002003/0.4007, allocations: 1.343 MB / 1.059 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1891/0.5898, allocations: 133.7 MB / 1.19 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.152e-05/0.59, allocations: 4 kB / 1.19 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.831e-05/0.59, allocations: 3.938 kB / 1.19 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.000116/0.5901, allocations: 15.8 kB / 1.19 GB, free: 13.77 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008593/0.591, allocations: 155.5 kB / 1.19 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001587/0.5912, allocations: 87.69 kB / 1.19 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001164/0.5913, allocations: 15.98 kB / 1.19 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.435e-05/0.5914, allocations: 31.86 kB / 1.19 GB, free: 13.49 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001153/0.5915, allocations: 35.78 kB / 1.19 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.5916, allocations: 4 kB / 1.19 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004854/0.5921, allocations: 147.7 kB / 1.19 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.833e-05/0.5921, allocations: 15.92 kB / 1.19 GB, free: 13.29 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.106e-05/0.5922, allocations: 37.64 kB / 1.19 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002564/0.5924, allocations: 116 kB / 1.191 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 7.584e-06/0.5924, allocations: 0 / 1.191 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of FrontEnd: time 4.208e-06/0.5924, allocations: 4 kB / 1.191 GB, free: 13.13 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.5925, allocations: 0 / 1.191 GB, free: 13.13 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.0006598/0.5931, allocations: 427 kB / 1.191 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.679e-05/0.5932, allocations: 8.031 kB / 1.191 GB, free: 12.66 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001138/0.5943, allocations: 155.7 kB / 1.191 GB, free: 12.5 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/0.5945, allocations: 174.9 kB / 1.191 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.391e-05/0.5946, allocations: 45.62 kB / 1.191 GB, free: 12.24 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.5946, allocations: 8 kB / 1.191 GB, free: 12.23 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005457/0.5951, allocations: 169.6 kB / 1.192 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.5952, allocations: 3.984 kB / 1.192 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.5952, allocations: 0 / 1.192 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.5952, allocations: 0 / 1.192 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007296/0.5959, allocations: 219.8 kB / 1.192 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008451/0.5968, allocations: 426.2 kB / 1.192 GB, free: 11.38 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004941/0.5973, allocations: 146.5 kB / 1.192 GB, free: 11.23 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003675/0.5977, allocations: 108.9 kB / 1.192 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.5977, allocations: 4 kB / 1.192 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/0.5977, allocations: 38.5 kB / 1.192 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.5977, allocations: 0 / 1.192 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6): time 0.001366/0.5991, allocations: 337.3 kB / 1.193 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.465e-05/0.5992, allocations: 51.41 kB / 1.193 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.5993, allocations: 147.4 kB / 1.193 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.5993, allocations: 25.7 kB / 1.193 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.452e-05/0.5994, allocations: 100.1 kB / 1.193 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.805e-05/0.5994, allocations: 15.8 kB / 1.193 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.839e-06/0.5995, allocations: 0 / 1.193 GB, free: 10.37 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.5996, allocations: 322.8 kB / 1.193 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003649/0.6, allocations: 103.9 kB / 1.193 GB, free: 9.941 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003464/0.6003, allocations: 103.9 kB / 1.194 GB, free: 9.84 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003401/0.6007, allocations: 87.94 kB / 1.194 GB, free: 9.754 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.6007, allocations: 7.875 kB / 1.194 GB, free: 9.746 MB / 0.9512 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007649/0.6015, allocations: 241.4 kB / 1.194 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.6015, allocations: 8 kB / 1.194 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.6015, allocations: 0 / 1.194 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.6015, allocations: 0 / 1.194 GB, free: 9.496 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002913/0.6018, allocations: 39.95 kB / 1.194 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.6018, allocations: 4 kB / 1.194 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002235/0.6021, allocations: 39.95 kB / 1.194 GB, free: 9.414 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.451e-05/0.6021, allocations: 4 kB / 1.194 GB, free: 9.41 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001116/0.6022, allocations: 117.8 kB / 1.194 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.688e-05/0.6022, allocations: 11.86 kB / 1.194 GB, free: 9.273 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.899e-05/0.6023, allocations: 12.7 kB / 1.194 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.932e-06/0.6023, allocations: 0 / 1.194 GB, free: 9.254 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.6023, allocations: 7.938 kB / 1.194 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.6023, allocations: 0 / 1.194 GB, free: 9.246 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000265/0.6026, allocations: 213.9 kB / 1.194 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.6026, allocations: 3.953 kB / 1.194 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002657/0.6029, allocations: 51.95 kB / 1.194 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.6029, allocations: 4 kB / 1.194 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.09e-05/0.6029, allocations: 3.984 kB / 1.194 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.6029, allocations: 0 / 1.194 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.6029, allocations: 0 / 1.194 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008146/0.6038, allocations: 331.3 kB / 1.195 GB, free: 8.586 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.435e-05/0.6038, allocations: 92.88 kB / 1.195 GB, free: 8.477 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.6039, allocations: 4 kB / 1.195 GB, free: 8.473 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002374/0.6041, allocations: 39.95 kB / 1.195 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.326e-05/0.6042, allocations: 3.984 kB / 1.195 GB, free: 8.43 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.513e-05/0.6042, allocations: 11.94 kB / 1.195 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.029e-05/0.6043, allocations: 104.6 kB / 1.195 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of sort global known variables: time 9e-08/0.6043, allocations: 0 / 1.195 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002514/0.6046, allocations: 16 kB / 1.195 GB, free: 8.301 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001862/0.6047, allocations: 111.2 kB / 1.195 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0007703/0.6055, allocations: 207.8 kB / 1.195 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.6055, allocations: 0 / 1.195 GB, free: 7.98 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0003856/0.6059, allocations: 119.8 kB / 1.195 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003505/0.6063, allocations: 11.98 kB / 1.195 GB, free: 7.852 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00108/0.6074, allocations: 318.9 kB / 1.196 GB, free: 7.512 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002608/0.6077, allocations: 0.6965 MB / 1.196 GB, free: 6.789 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0001445/0.6078, allocations: 15.98 kB / 1.196 GB, free: 6.773 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.357e-05/0.6079, allocations: 11.44 kB / 1.196 GB, free: 6.762 MB / 0.9512 GB Notification: Performance of SimCode: time 3.31e-07/0.6079, allocations: 3.938 kB / 1.196 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of Templates: time 0.003989/0.6119, allocations: 1.348 MB / 1.198 GB, free: 5.434 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.makefile (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 & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/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