Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.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.001385/0.001385, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002632/0.002632, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.509/1.509, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.769/2.769, allocations: 476 MB / 0.7699 GB, free: 4.695 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_degF,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",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.003325/0.003325, allocations: 65.3 kB / 1.117 GB, free: 41.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.31/0.3133, allocations: 170 MB / 1.283 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.002581/0.3159, allocations: 0.8401 MB / 1.283 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0002154/0.3161, allocations: 55.77 kB / 1.283 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.515e-05/0.3162, allocations: 8 kB / 1.283 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.495e-05/0.3162, allocations: 11.81 kB / 1.283 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001181/0.3164, allocations: 15.84 kB / 1.283 GB, free: 11.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 6.626e-05/0.3164, allocations: 27.92 kB / 1.284 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000163/0.3166, allocations: 83.77 kB / 1.284 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001664/0.3168, allocations: 36.8 kB / 1.284 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001254/0.3169, allocations: 35.86 kB / 1.284 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.345e-05/0.317, allocations: 31.78 kB / 1.284 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.385e-05/0.317, allocations: 15.94 kB / 1.284 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.415e-05/0.317, allocations: 8 kB / 1.284 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.317, allocations: 15.94 kB / 1.284 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.25e-05/0.3171, allocations: 43.72 kB / 1.284 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.3173, allocations: 93.3 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.3173, allocations: 0 / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.804e-06/0.3173, allocations: 3.938 kB / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.493e-05/0.3173, allocations: 0 / 1.284 GB, free: 11.04 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005672/0.3178, allocations: 326 kB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.3179, allocations: 12.03 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.186e-05/0.3179, allocations: 42.69 kB / 1.284 GB, free: 10.62 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.447e-05/0.318, allocations: 12.89 kB / 1.284 GB, free: 10.61 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002691/0.3183, allocations: 146.5 kB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.931e-05/0.3183, allocations: 8.562 kB / 1.284 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.3183, allocations: 8.375 kB / 1.284 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002225/0.3185, allocations: 111.2 kB / 1.284 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.3185, allocations: 0 / 1.284 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.3185, allocations: 4 kB / 1.284 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.3186, allocations: 4 kB / 1.285 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001025/0.3187, allocations: 39.98 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007184/0.3194, allocations: 423.6 kB / 1.285 GB, free: 9.801 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.872e-05/0.3195, allocations: 45.2 kB / 1.285 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.473e-05/0.3195, allocations: 30 kB / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.287e-05/0.3195, allocations: 0 / 1.285 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.419e-05/0.3196, allocations: 46.38 kB / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.3196, allocations: 0 / 1.285 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0002404/0.3198, allocations: 65.58 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.022e-05/0.3199, allocations: 85.36 kB / 1.285 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002086/0.3201, allocations: 175.9 kB / 1.285 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.3201, allocations: 25.7 kB / 1.285 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001039/0.3202, allocations: 108 kB / 1.286 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.038e-05/0.3202, allocations: 19.89 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.367e-05/0.3203, allocations: 21.67 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3204, allocations: 326.8 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.483e-05/0.3205, allocations: 8 kB / 1.286 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.454e-05/0.3205, allocations: 21.84 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.668e-05/0.3206, allocations: 41.64 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.3206, allocations: 0 / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001107/0.3207, allocations: 73.62 kB / 1.286 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.427e-05/0.3207, allocations: 4 kB / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.3207, allocations: 0 / 1.286 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.3207, allocations: 4 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.224e-05/0.3208, allocations: 11.94 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.3208, allocations: 3.984 kB / 1.286 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.13e-05/0.3209, allocations: 11.89 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.273e-06/0.3209, allocations: 7.938 kB / 1.286 GB, free: 8.57 MB / 0.9825 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 (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.0001031/0.321, allocations: 113.8 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.556e-05/0.321, allocations: 7.953 kB / 1.286 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.352e-05/0.3211, allocations: 16.66 kB / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3211, allocations: 0 / 1.286 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.3211, allocations: 4 kB / 1.286 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.552e-06/0.3211, allocations: 3.984 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000493/0.3216, allocations: 483.5 kB / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.3216, allocations: 0 / 1.287 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.08e-05/0.3216, allocations: 4 kB / 1.287 GB, free: 7.879 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.623e-06/0.3216, allocations: 7.938 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.3216, allocations: 0 / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.3216, allocations: 4.125 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.3216, allocations: 4 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001334/0.3217, allocations: 103.6 kB / 1.287 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.602e-05/0.3218, allocations: 15.88 kB / 1.287 GB, free: 7.719 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.835e-05/0.3218, allocations: 7.938 kB / 1.287 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.02e-05/0.3218, allocations: 4 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.058e-05/0.3218, allocations: 7.984 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.355e-06/0.3219, allocations: 0 / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001055/0.322, allocations: 124 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.322, allocations: 3.938 kB / 1.287 GB, free: 7.574 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002104/0.3222, allocations: 23.89 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (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 Backend phase and start with SimCode phase: time 0.0004845/0.3227, allocations: 0.6383 MB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001287/0.3228, allocations: 31.92 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3228, allocations: 0 / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.052e-05/0.3228, allocations: 8 kB / 1.288 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001757/0.323, allocations: 8 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00164/0.3246, allocations: 1.436 MB / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.86e-05/0.3247, allocations: 92 kB / 1.289 GB, free: 5.176 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.614e-05/0.3248, allocations: 12.84 kB / 1.289 GB, free: 5.164 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.806e-05/0.3248, allocations: 31.42 kB / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of SimCode: time 4.41e-07/0.3248, allocations: 0 / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02812/0.353, allocations: 2.211 MB / 1.291 GB, free: 3.055 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.63/11.99, allocations: 9.016 kB / 1.291 GB, free: 3.051 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_degF.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.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.867031145840883]