Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009123/0.0009123, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008119/0.0008119, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.903/0.903, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.71/1.71, allocations: 377.8 MB / 0.6221 GB, free: 8.648 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.981 GB, free: 2.539 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.677e-05, allocations: 6.281 kB / 0.981 GB, free: 2.531 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.002177/0.002204, allocations: 1.658 MB / 0.9826 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.5241/0.5263, allocations: 129.3 MB / 1.109 GB, free: 24.19 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.804e-05/0.5264, allocations: 5.156 kB / 1.109 GB, free: 24.19 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 4.277e-05/0.5264, allocations: 5.859 kB / 1.109 GB, free: 24.18 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 7.004e-05/0.5265, allocations: 19.42 kB / 1.109 GB, free: 24.17 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007801/0.5272, allocations: 246.5 kB / 1.109 GB, free: 24.06 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.5274, allocations: 100.3 kB / 1.109 GB, free: 24.01 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.232e-05/0.5275, allocations: 14.33 kB / 1.109 GB, free: 24.01 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.143e-05/0.5275, allocations: 53.5 kB / 1.109 GB, free: 23.98 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.486e-05/0.5276, allocations: 34.69 kB / 1.109 GB, free: 23.97 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.5276, allocations: 8.031 kB / 1.109 GB, free: 23.97 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000313/0.5279, allocations: 213.2 kB / 1.11 GB, free: 23.89 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 2.142e-05/0.528, allocations: 22.12 kB / 1.11 GB, free: 23.88 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 3.088e-05/0.528, allocations: 26.11 kB / 1.11 GB, free: 23.87 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0002733/0.5283, allocations: 220 kB / 1.11 GB, free: 23.79 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.5283, allocations: 3.938 kB / 1.11 GB, free: 23.79 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.663e-06/0.5283, allocations: 0 / 1.11 GB, free: 23.79 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.5283, allocations: 0 / 1.11 GB, free: 23.79 MB / 0.9948 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.0004189/0.5287, allocations: 356.2 kB / 1.11 GB, free: 23.48 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.5287, allocations: 9.312 kB / 1.11 GB, free: 23.48 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.047e-05/0.5288, allocations: 39.64 kB / 1.11 GB, free: 23.43 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006413/0.5294, allocations: 148.5 kB / 1.11 GB, free: 23.42 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.421e-05/0.5295, allocations: 120.9 kB / 1.11 GB, free: 23.29 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.013e-05/0.5295, allocations: 60.19 kB / 1.111 GB, free: 23.22 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.5295, allocations: 11.94 kB / 1.111 GB, free: 23.21 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.5298, allocations: 161.9 kB / 1.111 GB, free: 23.15 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.602e-06/0.5299, allocations: 4 kB / 1.111 GB, free: 23.15 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.365e-05/0.5299, allocations: 5.188 kB / 1.111 GB, free: 23.14 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.5299, allocations: 8.891 kB / 1.111 GB, free: 23.14 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004098/0.5303, allocations: 197.2 kB / 1.111 GB, free: 23.1 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004976/0.5308, allocations: 380 kB / 1.111 GB, free: 22.8 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002737/0.5311, allocations: 124 kB / 1.111 GB, free: 22.75 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001959/0.5313, allocations: 97.2 kB / 1.111 GB, free: 22.73 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/0.5313, allocations: 1.938 kB / 1.111 GB, free: 22.73 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.343e-05/0.5313, allocations: 32.42 kB / 1.112 GB, free: 22.69 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=6): time 1.022e-06/0.5313, allocations: 0 / 1.112 GB, free: 22.69 MB / 0.9948 GB Notification: Performance of matching and sorting (n=6): time 0.000737/0.532, allocations: 321.4 kB / 1.112 GB, free: 22.59 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.03e-05/0.532, allocations: 53.66 kB / 1.112 GB, free: 22.53 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.997e-05/0.5321, allocations: 146.7 kB / 1.112 GB, free: 22.41 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.005e-05/0.5321, allocations: 30.92 kB / 1.112 GB, free: 22.38 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 3.036e-05/0.5322, allocations: 94.64 kB / 1.112 GB, free: 22.29 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.5322, allocations: 19.67 kB / 1.112 GB, free: 22.27 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.92e-05/0.5322, allocations: 21.38 kB / 1.112 GB, free: 22.25 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 3.368e-05/0.5323, allocations: 324.3 kB / 1.112 GB, free: 21.93 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002004/0.5325, allocations: 86.97 kB / 1.113 GB, free: 21.91 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001973/0.5327, allocations: 90.5 kB / 1.113 GB, free: 21.89 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000384/0.533, allocations: 171.4 kB / 1.113 GB, free: 21.86 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.533, allocations: 4 kB / 1.113 GB, free: 21.85 MB / 0.9948 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004219/0.5335, allocations: 219.6 kB / 1.113 GB, free: 21.78 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.5335, allocations: 5.594 kB / 1.113 GB, free: 21.78 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.5335, allocations: 0 / 1.113 GB, free: 21.78 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.5335, allocations: 5.938 kB / 1.113 GB, free: 21.77 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000144/0.5336, allocations: 34.27 kB / 1.113 GB, free: 21.77 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.5336, allocations: 1.859 kB / 1.113 GB, free: 21.77 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/0.5337, allocations: 40.66 kB / 1.113 GB, free: 21.76 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.5338, allocations: 2.938 kB / 1.113 GB, free: 21.76 MB / 0.9948 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 5.085e-05/0.5338, allocations: 113.9 kB / 1.113 GB, free: 21.64 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.882e-05/0.5338, allocations: 8.625 kB / 1.113 GB, free: 21.64 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.983e-05/0.5338, allocations: 12.14 kB / 1.113 GB, free: 21.63 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.5338, allocations: 9.062 kB / 1.113 GB, free: 21.62 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.5338, allocations: 2 kB / 1.113 GB, free: 21.62 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.5339, allocations: 0 / 1.113 GB, free: 21.62 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.534, allocations: 170.9 kB / 1.113 GB, free: 21.45 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.534, allocations: 0 / 1.113 GB, free: 21.45 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.5341, allocations: 37.09 kB / 1.113 GB, free: 21.45 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.282e-06/0.5341, allocations: 5.219 kB / 1.113 GB, free: 21.44 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.043e-05/0.5341, allocations: 5.891 kB / 1.113 GB, free: 21.44 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.5341, allocations: 7.062 kB / 1.113 GB, free: 21.43 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.81e-07/0.5341, allocations: 1.062 kB / 1.113 GB, free: 21.43 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004291/0.5345, allocations: 313.3 kB / 1.114 GB, free: 21.26 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.2e-05/0.5345, allocations: 7.219 kB / 1.114 GB, free: 21.26 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.502e-05/0.5346, allocations: 5.828 kB / 1.114 GB, free: 21.25 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001198/0.5347, allocations: 36.17 kB / 1.114 GB, free: 21.25 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.5347, allocations: 10.03 kB / 1.114 GB, free: 21.24 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.454e-06/0.5347, allocations: 5.906 kB / 1.114 GB, free: 21.24 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 4.136e-05/0.5348, allocations: 115.6 kB / 1.114 GB, free: 21.15 MB / 0.9948 GB Notification: Performance of sort global known variables: time 6e-08/0.5348, allocations: 0 / 1.114 GB, free: 21.15 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0001653/0.5349, allocations: 16.06 kB / 1.114 GB, free: 21.15 MB / 0.9948 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.0005781/0.5355, allocations: 0.8453 MB / 1.115 GB, free: 20.46 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0004393/0.536, allocations: 193.9 kB / 1.115 GB, free: 20.41 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.536, allocations: 0 / 1.115 GB, free: 20.41 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002001/0.5362, allocations: 93.11 kB / 1.115 GB, free: 20.4 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/0.5364, allocations: 22.52 kB / 1.115 GB, free: 20.39 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.5384, allocations: 1.983 MB / 1.117 GB, free: 19 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.38e-05/0.5385, allocations: 81.8 kB / 1.117 GB, free: 18.93 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 7.179e-05/0.5385, allocations: 14.02 kB / 1.117 GB, free: 18.92 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.632e-05/0.5386, allocations: 28.8 kB / 1.117 GB, free: 18.9 MB / 0.9948 GB Notification: Performance of SimCode: time 4.31e-07/0.5386, allocations: 3.938 kB / 1.117 GB, free: 18.9 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.5548, allocations: 3.726 MB / 1.121 GB, free: 17.88 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.624/7.179, allocations: 7.516 kB / 1.121 GB, free: 17.88 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.fmu > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.195805799216032]