Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.001415/0.001415, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001674/0.001674, allocations: 216.2 kB / 22.26 MB, free: 5.082 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.506/1.506, allocations: 230.6 MB / 256 MB, free: 8.008 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.355/3.355, allocations: 0.49 GB / 0.7951 GB, free: 33.46 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.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour",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.002026/0.002026, allocations: 74.08 kB / 1.154 GB, free: 25.66 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4335/0.4355, allocations: 176.1 MB / 1.326 GB, free: 1.941 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002473/0.438, allocations: 0.842 MB / 1.327 GB, free: 1.105 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001322/0.4382, allocations: 43.78 kB / 1.327 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.452e-05/0.4382, allocations: 0 / 1.327 GB, free: 1.062 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 5.226e-05/0.4383, allocations: 7.875 kB / 1.327 GB, free: 1.055 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001009/0.4384, allocations: 3.938 kB / 1.327 GB, free: 1.051 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 6.224e-05/0.4384, allocations: 27.97 kB / 1.327 GB, free: 1.023 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.4386, allocations: 63.78 kB / 1.327 GB, free: 0.9609 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/0.4388, allocations: 31.98 kB / 1.327 GB, free: 0.9297 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 9.951e-05/0.4389, allocations: 31.84 kB / 1.327 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.272e-05/0.4389, allocations: 23.86 kB / 1.327 GB, free: 0.875 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.4389, allocations: 8 kB / 1.327 GB, free: 0.8672 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.439, allocations: 7.938 kB / 1.327 GB, free: 0.8594 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 3.421e-05/0.439, allocations: 19.92 kB / 1.327 GB, free: 0.8398 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.505e-05/0.439, allocations: 31.75 kB / 1.327 GB, free: 0.8086 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001591/0.4392, allocations: 87.77 kB / 1.327 GB, free: 0.7227 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 9.688e-06/0.4392, allocations: 8 kB / 1.327 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of FrontEnd: time 3.717e-06/0.4392, allocations: 0 / 1.327 GB, free: 0.7148 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.4392, allocations: 0 / 1.327 GB, free: 0.7148 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0005871/0.4398, allocations: 302 kB / 1.327 GB, free: 396 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.777e-05/0.4399, allocations: 8.031 kB / 1.327 GB, free: 388 kB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.442e-05/0.4399, allocations: 42.73 kB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.166e-05/0.44, allocations: 8.891 kB / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002441/0.4402, allocations: 134.4 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.4402, allocations: 12.38 kB / 1.328 GB, free: 156 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.4402, allocations: 4.375 kB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002236/0.4405, allocations: 93.58 kB / 1.328 GB, free: 48 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/0.4405, allocations: 7.875 kB / 1.328 GB, free: 40 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.4405, allocations: 4 kB / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.843e-06/0.4405, allocations: 0 / 1.328 GB, free: 36 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.66e-05/0.4406, allocations: 35.98 kB / 1.328 GB, free: 0 / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006543/0.4412, allocations: 407.9 kB / 1.328 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 7.237e-05/0.4413, allocations: 41.16 kB / 1.328 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.446e-05/0.4414, allocations: 17.78 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.258e-06/0.4414, allocations: 0 / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.943e-05/0.4414, allocations: 42.48 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.4414, allocations: 0 / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002127/0.4416, allocations: 53.59 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.712e-05/0.4417, allocations: 81.05 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001948/0.4419, allocations: 168 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.4419, allocations: 25.7 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001005/0.442, allocations: 104.3 kB / 1.329 GB, free: 14.96 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.442, allocations: 11.95 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.4421, allocations: 13.72 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002054/0.4423, allocations: 322.8 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.347e-05/0.4423, allocations: 8 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.705e-05/0.4423, allocations: 13.72 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.889e-05/0.4424, allocations: 33.7 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.4424, allocations: 0 / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.549e-05/0.4425, allocations: 57.59 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.4425, allocations: 7.938 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4425, allocations: 0 / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.4425, allocations: 0 / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.843e-05/0.4426, allocations: 11.98 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.574e-06/0.4426, allocations: 0 / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.346e-05/0.4426, allocations: 15.83 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.4426, allocations: 0 / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001154/0.4428, allocations: 118.4 kB / 1.329 GB, free: 14.31 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.507e-05/0.4428, allocations: 11.89 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.169e-05/0.4428, allocations: 15.8 kB / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.4428, allocations: 0 / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.892e-06/0.4429, allocations: 0 / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.4429, allocations: 0 / 1.329 GB, free: 14.28 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004602/0.4433, allocations: 449.8 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.4433, allocations: 0 / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.708e-05/0.4433, allocations: 8 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.4433, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.4434, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.4434, allocations: 4 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.4434, allocations: 0 / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.4435, allocations: 85.97 kB / 1.33 GB, free: 13.66 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.683e-05/0.4435, allocations: 19.89 kB / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.643e-05/0.4435, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.85e-05/0.4435, allocations: 0 / 1.33 GB, free: 13.64 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.186e-05/0.4436, allocations: 11.92 kB / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.593e-06/0.4436, allocations: 0 / 1.33 GB, free: 13.63 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001205/0.4437, allocations: 119.1 kB / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.4437, allocations: 0 / 1.33 GB, free: 13.52 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001864/0.4439, allocations: 11.98 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * 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.0005265/0.4444, allocations: 0.6094 MB / 1.331 GB, free: 12.87 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.4445, allocations: 19.92 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.4445, allocations: 0 / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.013e-05/0.4445, allocations: 8.156 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001788/0.4447, allocations: 9.203 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001413/0.4461, allocations: 1.331 MB / 1.332 GB, free: 11.4 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003266/0.4464, allocations: 0.6963 MB / 1.333 GB, free: 10.68 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.914e-05/0.4465, allocations: 8.422 kB / 1.333 GB, free: 10.67 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.238e-05/0.4466, allocations: 27.42 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of SimCode: time 5.71e-07/0.4466, allocations: 0 / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02853/0.4751, allocations: 1.691 MB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.12, allocations: 10.25 kB / 1.334 GB, free: 9.082 MB / 1.029 GB " [Timeout remaining time 289] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.37699867399897]