Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.274/1.274, allocations: 225.6 MB / 249.3 MB, free: 3.172 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.48/2.48, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio,fileNamePrefix="Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001765/0.001765, allocations: 67.89 kB / 1.107 GB, free: 5.121 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7536/0.7554, allocations: 168.7 MB / 1.271 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio): time 0.002153/0.7576, allocations: 1.683 MB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.1582/0.9158, allocations: 147.7 MB / 1.417 GB, free: 9.133 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.313e-05/0.9159, allocations: 1.531 kB / 1.417 GB, free: 9.133 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 3.946e-05/0.9159, allocations: 11.86 kB / 1.417 GB, free: 9.121 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 7.096e-05/0.916, allocations: 14.41 kB / 1.417 GB, free: 9.109 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007609/0.9168, allocations: 246.7 kB / 1.418 GB, free: 8.934 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.0001259/0.9169, allocations: 92.27 kB / 1.418 GB, free: 8.879 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 8.548e-05/0.917, allocations: 19.58 kB / 1.418 GB, free: 8.867 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 5.898e-05/0.917, allocations: 37.72 kB / 1.418 GB, free: 8.844 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 8.744e-05/0.9171, allocations: 47.92 kB / 1.418 GB, free: 8.809 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.9171, allocations: 7.594 kB / 1.418 GB, free: 8.809 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004817/0.9176, allocations: 261.9 kB / 1.418 GB, free: 8.66 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 2.725e-05/0.9176, allocations: 18.58 kB / 1.418 GB, free: 8.645 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 4.764e-05/0.9177, allocations: 48.98 kB / 1.418 GB, free: 8.605 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.0003247/0.918, allocations: 205.3 kB / 1.418 GB, free: 8.48 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.055e-06/0.918, allocations: 0 / 1.418 GB, free: 8.48 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.333e-06/0.918, allocations: 0 / 1.418 GB, free: 8.48 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.918, allocations: 0 / 1.418 GB, free: 8.48 MB / 1.107 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.0006006/0.9186, allocations: 435.5 kB / 1.419 GB, free: 8.051 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 2.942e-05/0.9187, allocations: 10.28 kB / 1.419 GB, free: 8.051 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.78e-05/0.9187, allocations: 40.38 kB / 1.419 GB, free: 8.004 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.9198, allocations: 155.5 kB / 1.419 GB, free: 7.938 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.9199, allocations: 177.5 kB / 1.419 GB, free: 7.73 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.497e-05/0.92, allocations: 34.89 kB / 1.419 GB, free: 7.695 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.68e-05/0.92, allocations: 16.22 kB / 1.419 GB, free: 7.684 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005208/0.9205, allocations: 157.5 kB / 1.419 GB, free: 7.586 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.913e-06/0.9206, allocations: 4 kB / 1.419 GB, free: 7.582 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.502e-05/0.9206, allocations: 0 / 1.419 GB, free: 7.582 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.9206, allocations: 2.562 kB / 1.419 GB, free: 7.582 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007762/0.9214, allocations: 198 kB / 1.419 GB, free: 7.492 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007861/0.9221, allocations: 428.1 kB / 1.42 GB, free: 7.09 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004984/0.9226, allocations: 125.7 kB / 1.42 GB, free: 7.016 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003801/0.923, allocations: 94.28 kB / 1.42 GB, free: 6.969 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 1.796e-05/0.923, allocations: 5.109 kB / 1.42 GB, free: 6.965 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.697e-05/0.9231, allocations: 35.59 kB / 1.42 GB, free: 6.922 MB / 1.107 GB Notification: Performance of pre-optimization done (n=6): time 1.032e-06/0.9231, allocations: 0 / 1.42 GB, free: 6.922 MB / 1.107 GB Notification: Performance of matching and sorting (n=6): time 0.001302/0.9244, allocations: 316.1 kB / 1.42 GB, free: 6.758 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/0.9244, allocations: 60.88 kB / 1.42 GB, free: 6.688 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001222/0.9245, allocations: 146.3 kB / 1.421 GB, free: 6.562 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.9245, allocations: 25.7 kB / 1.421 GB, free: 6.531 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 5.472e-05/0.9246, allocations: 96.47 kB / 1.421 GB, free: 6.438 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 3.014e-05/0.9246, allocations: 25.95 kB / 1.421 GB, free: 6.414 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.692e-05/0.9247, allocations: 23.8 kB / 1.421 GB, free: 6.391 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.9248, allocations: 320 kB / 1.421 GB, free: 6.07 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003785/0.9252, allocations: 85.17 kB / 1.421 GB, free: 6.035 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003686/0.9256, allocations: 91.75 kB / 1.421 GB, free: 5.992 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000722/0.9263, allocations: 176.8 kB / 1.421 GB, free: 5.906 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.9263, allocations: 0 / 1.421 GB, free: 5.906 MB / 1.107 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0007845/0.9271, allocations: 218.8 kB / 1.422 GB, free: 5.789 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.9271, allocations: 7.156 kB / 1.422 GB, free: 5.789 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.9271, allocations: 448 / 1.422 GB, free: 5.789 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.028e-05/0.9271, allocations: 5.156 kB / 1.422 GB, free: 5.785 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.9274, allocations: 35.02 kB / 1.422 GB, free: 5.773 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.428e-06/0.9274, allocations: 1.062 kB / 1.422 GB, free: 5.773 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002268/0.9276, allocations: 45.88 kB / 1.422 GB, free: 5.746 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.9276, allocations: 2.25 kB / 1.422 GB, free: 5.746 MB / 1.107 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 9.751e-05/0.9277, allocations: 114.5 kB / 1.422 GB, free: 5.629 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.71e-05/0.9277, allocations: 14.83 kB / 1.422 GB, free: 5.617 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.526e-05/0.9278, allocations: 15.58 kB / 1.422 GB, free: 5.605 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.9278, allocations: 0 / 1.422 GB, free: 5.605 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.564e-06/0.9278, allocations: 5.125 kB / 1.422 GB, free: 5.602 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.9278, allocations: 0 / 1.422 GB, free: 5.602 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002308/0.928, allocations: 215.8 kB / 1.422 GB, free: 5.363 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.928, allocations: 0 / 1.422 GB, free: 5.363 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002724/0.9283, allocations: 43.97 kB / 1.422 GB, free: 5.344 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.9283, allocations: 1.219 kB / 1.422 GB, free: 5.344 MB / 1.107 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.9283, allocations: 8 kB / 1.422 GB, free: 5.336 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.9283, allocations: 1.188 kB / 1.422 GB, free: 5.336 MB / 1.107 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.9283, allocations: 0 / 1.422 GB, free: 5.336 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008338/0.9291, allocations: 309 kB / 1.422 GB, free: 5.121 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/0.9292, allocations: 91.53 kB / 1.423 GB, free: 5.016 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.188e-05/0.9292, allocations: 5.25 kB / 1.423 GB, free: 5.012 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.9295, allocations: 33.2 kB / 1.423 GB, free: 4.996 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.668e-05/0.9295, allocations: 11.41 kB / 1.423 GB, free: 4.988 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.9295, allocations: 5.047 kB / 1.423 GB, free: 4.984 MB / 1.107 GB Notification: Performance of sorting global known variables: time 8.045e-05/0.9296, allocations: 106.6 kB / 1.423 GB, free: 4.898 MB / 1.107 GB Notification: Performance of sort global known variables: time 7.1e-08/0.9296, allocations: 0 / 1.423 GB, free: 4.898 MB / 1.107 GB Notification: Performance of remove unused functions: time 0.0002327/0.9298, allocations: 20.8 kB / 1.423 GB, free: 4.895 MB / 1.107 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.001196/0.931, allocations: 0.862 MB / 1.424 GB, free: 4.133 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.0008115/0.9318, allocations: 196.6 kB / 1.424 GB, free: 4.043 MB / 1.107 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.9318, allocations: 0 / 1.424 GB, free: 4.043 MB / 1.107 GB Notification: Performance of simCode: created simulation system equations: time 0.0004044/0.9322, allocations: 96.88 kB / 1.424 GB, free: 4 MB / 1.107 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003064/0.9326, allocations: 14.66 kB / 1.424 GB, free: 3.992 MB / 1.107 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00383/0.9364, allocations: 1.974 MB / 1.426 GB, free: 2.426 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002819/0.9367, allocations: 0.702 MB / 1.426 GB, free: 1.711 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.0001001/0.9368, allocations: 13.22 kB / 1.426 GB, free: 1.703 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.683e-05/0.9369, allocations: 36.41 kB / 1.426 GB, free: 1.672 MB / 1.107 GB Notification: Performance of SimCode: time 6.41e-07/0.9369, allocations: 0 / 1.426 GB, free: 1.672 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02424/0.9611, allocations: 2.907 MB / 1.429 GB, free: 160 kB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.12/8.081, allocations: 8.203 kB / 1.429 GB, free: 156 kB / 1.107 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.fmu > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_SensibleHeatRatio.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.SensibleHeatRatio.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,shr.SHR,onOff.y,TEvaIn.y Variables in the result:TEvaIn.duration,TEvaIn.height,TEvaIn.offset,TEvaIn.startTime,TEvaIn.y,XADP.k,XADP.y,hADP.k,hADP.y,hEvaIn.duration,hEvaIn.height,hEvaIn.offset,hEvaIn.startTime,hEvaIn.y,onOff.startTime,onOff.startValue,onOff.y,p.k,p.y,shr.SHR,shr.TEvaIn,shr.XADP,shr.hADP,shr.hEvaIn,shr.on,shr.p,time [Calling sys.exit(0), Time elapsed: 13.279748527000265]