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.001239/0.001239, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 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.001463/0.001463, allocations: 215.2 kB / 22.25 MB, free: 5.258 MB / 14.72 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 1.45/1.45, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.138/3.138, allocations: 0.49 GB / 0.7951 GB, free: 35.5 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002015/0.002015, allocations: 65.69 kB / 1.154 GB, free: 25.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3676/0.3696, allocations: 176.1 MB / 1.326 GB, free: 1.496 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.003063/0.3727, allocations: 1.65 MB / 1.327 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.1684/0.5411, allocations: 129.3 MB / 1.454 GB, free: 14.01 MB / 1.154 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.199e-05/0.5412, allocations: 4 kB / 1.454 GB, free: 14 MB / 1.154 GB Notification: Performance of NFTyping.typeComponents: time 4.495e-05/0.5412, allocations: 11.92 kB / 1.454 GB, free: 13.99 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 9.56e-05/0.5413, allocations: 15.8 kB / 1.454 GB, free: 13.98 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009083/0.5422, allocations: 251 kB / 1.454 GB, free: 13.73 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.0001497/0.5424, allocations: 95.61 kB / 1.454 GB, free: 13.64 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.5425, allocations: 19.98 kB / 1.454 GB, free: 13.62 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 7.025e-05/0.5426, allocations: 31.92 kB / 1.454 GB, free: 13.59 MB / 1.154 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000108/0.5427, allocations: 51.77 kB / 1.454 GB, free: 13.54 MB / 1.154 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.5427, allocations: 11.98 kB / 1.454 GB, free: 13.53 MB / 1.154 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004685/0.5432, allocations: 211.4 kB / 1.454 GB, free: 13.32 MB / 1.154 GB Notification: Performance of NFScalarize.scalarize: time 3.086e-05/0.5432, allocations: 19.92 kB / 1.454 GB, free: 13.3 MB / 1.154 GB Notification: Performance of NFVerifyModel.verify: time 4.296e-05/0.5432, allocations: 27.86 kB / 1.455 GB, free: 13.27 MB / 1.154 GB Notification: Performance of NFConvertDAE.convert: time 0.0003591/0.5436, allocations: 199.4 kB / 1.455 GB, free: 13.08 MB / 1.154 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.5436, allocations: 3.938 kB / 1.455 GB, free: 13.07 MB / 1.154 GB Notification: Performance of FrontEnd: time 1.764e-06/0.5436, allocations: 0 / 1.455 GB, free: 13.07 MB / 1.154 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.5436, allocations: 0 / 1.455 GB, free: 13.07 MB / 1.154 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.0006999/0.5443, allocations: 357.7 kB / 1.455 GB, free: 12.7 MB / 1.154 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.5443, allocations: 12.03 kB / 1.455 GB, free: 12.68 MB / 1.154 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.823e-05/0.5444, allocations: 38.73 kB / 1.455 GB, free: 12.64 MB / 1.154 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/0.5457, allocations: 156.6 kB / 1.455 GB, free: 12.48 MB / 1.154 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001273/0.5458, allocations: 122.2 kB / 1.455 GB, free: 12.34 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001024/0.5459, allocations: 63.39 kB / 1.455 GB, free: 12.27 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.446e-05/0.5459, allocations: 8 kB / 1.455 GB, free: 12.26 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005652/0.5465, allocations: 164.4 kB / 1.456 GB, free: 12.09 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.5465, allocations: 8 kB / 1.456 GB, free: 12.09 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.866e-05/0.5465, allocations: 4 kB / 1.456 GB, free: 12.08 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.688e-06/0.5465, allocations: 0 / 1.456 GB, free: 12.08 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008392/0.5474, allocations: 195.8 kB / 1.456 GB, free: 11.89 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008925/0.5483, allocations: 369.5 kB / 1.456 GB, free: 11.48 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005558/0.5488, allocations: 126.5 kB / 1.456 GB, free: 11.35 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004042/0.5492, allocations: 96.84 kB / 1.456 GB, free: 11.26 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 2.242e-05/0.5493, allocations: 4 kB / 1.456 GB, free: 11.25 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.5493, allocations: 38.5 kB / 1.456 GB, free: 11.21 MB / 1.154 GB Notification: Performance of pre-optimization done (n=6): time 1.213e-06/0.5493, allocations: 0 / 1.456 GB, free: 11.21 MB / 1.154 GB Notification: Performance of matching and sorting (n=6): time 0.001404/0.5507, allocations: 313.3 kB / 1.457 GB, free: 10.89 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.565e-05/0.5507, allocations: 55.34 kB / 1.457 GB, free: 10.83 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001371/0.5509, allocations: 143 kB / 1.457 GB, free: 10.68 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 3.062e-05/0.5509, allocations: 25.7 kB / 1.457 GB, free: 10.65 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 6.705e-05/0.551, allocations: 100.1 kB / 1.457 GB, free: 10.55 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 2.947e-05/0.551, allocations: 11.91 kB / 1.457 GB, free: 10.54 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.534e-05/0.5511, allocations: 25.7 kB / 1.457 GB, free: 10.5 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000151/0.5512, allocations: 318.8 kB / 1.457 GB, free: 10.18 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003943/0.5516, allocations: 87.92 kB / 1.457 GB, free: 10.1 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003766/0.552, allocations: 95.91 kB / 1.458 GB, free: 10 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007625/0.5528, allocations: 164.7 kB / 1.458 GB, free: 9.84 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.5528, allocations: 4 kB / 1.458 GB, free: 9.836 MB / 1.154 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0008414/0.5536, allocations: 225.3 kB / 1.458 GB, free: 9.609 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.5536, allocations: 8 kB / 1.458 GB, free: 9.602 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.5536, allocations: 0 / 1.458 GB, free: 9.602 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.5536, allocations: 0 / 1.458 GB, free: 9.602 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003135/0.5539, allocations: 35.95 kB / 1.458 GB, free: 9.566 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.536e-06/0.554, allocations: 4 kB / 1.458 GB, free: 9.562 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000253/0.5542, allocations: 43.84 kB / 1.458 GB, free: 9.52 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.803e-05/0.5542, allocations: 4 kB / 1.458 GB, free: 9.516 MB / 1.154 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 0.0001083/0.5543, allocations: 113.8 kB / 1.458 GB, free: 9.395 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.016e-05/0.5544, allocations: 11.89 kB / 1.458 GB, free: 9.383 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.271e-05/0.5544, allocations: 8.719 kB / 1.458 GB, free: 9.367 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.5544, allocations: 4 kB / 1.458 GB, free: 9.363 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/0.5544, allocations: 7.984 kB / 1.458 GB, free: 9.355 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.5544, allocations: 448 / 1.458 GB, free: 9.355 MB / 1.154 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002369/0.5547, allocations: 160.7 kB / 1.458 GB, free: 9.156 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.5547, allocations: 0 / 1.458 GB, free: 9.156 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000304/0.555, allocations: 55.83 kB / 1.458 GB, free: 9.102 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.555, allocations: 4 kB / 1.458 GB, free: 9.098 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.754e-05/0.555, allocations: 7.984 kB / 1.458 GB, free: 9.09 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.555, allocations: 0 / 1.458 GB, free: 9.09 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.555, allocations: 0 / 1.458 GB, free: 9.09 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008922/0.5559, allocations: 315.3 kB / 1.459 GB, free: 8.766 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 2.239e-05/0.5559, allocations: 11.89 kB / 1.459 GB, free: 8.754 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.5559, allocations: 4 kB / 1.459 GB, free: 8.75 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/0.5562, allocations: 27.95 kB / 1.459 GB, free: 8.723 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.246e-05/0.5563, allocations: 12 kB / 1.459 GB, free: 8.711 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.362e-05/0.5563, allocations: 3.984 kB / 1.459 GB, free: 8.707 MB / 1.154 GB Notification: Performance of sorting global known variables: time 7.89e-05/0.5564, allocations: 105 kB / 1.459 GB, free: 8.605 MB / 1.154 GB Notification: Performance of sort global known variables: time 8e-08/0.5564, allocations: 0 / 1.459 GB, free: 8.605 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.0002819/0.5566, allocations: 24 kB / 1.459 GB, free: 8.582 MB / 1.154 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.001267/0.5579, allocations: 0.8622 MB / 1.46 GB, free: 7.695 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.000845/0.5588, allocations: 191.8 kB / 1.46 GB, free: 7.508 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5588, allocations: 0 / 1.46 GB, free: 7.508 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.0004085/0.5592, allocations: 95.91 kB / 1.46 GB, free: 7.414 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003572/0.5595, allocations: 21.06 kB / 1.46 GB, free: 7.395 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004184/0.5637, allocations: 1.972 MB / 1.462 GB, free: 5.348 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.833e-05/0.5638, allocations: 76.5 kB / 1.462 GB, free: 5.25 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.0001242/0.5639, allocations: 23.64 kB / 1.462 GB, free: 5.227 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001024/0.564, allocations: 27.42 kB / 1.462 GB, free: 5.199 MB / 1.154 GB Notification: Performance of SimCode: time 1.002e-06/0.564, allocations: 0 / 1.462 GB, free: 5.199 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02991/0.5939, allocations: 3.59 MB / 1.466 GB, free: 1.754 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.8, allocations: 6.031 kB / 1.466 GB, free: 1.75 MB / 1.154 GB " [Timeout remaining time 288] (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/jenkins1/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: 18.71376892499393]