Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001856/0.001856, 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.002174/0.002174, allocations: 212.3 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.777 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.404/3.404, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 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_degF,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_UnitConversions_Validation_To_degF",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,fileNamePrefix="Buildings_12_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.002075/0.002075, allocations: 70.39 kB / 1.153 GB, free: 25.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3585/0.3605, allocations: 176.1 MB / 1.325 GB, free: 2.363 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.002346/0.3629, allocations: 0.8364 MB / 1.326 GB, free: 1.531 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.000185/0.3631, allocations: 59.66 kB / 1.326 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.159e-05/0.3631, allocations: 0 / 1.326 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 6.427e-05/0.3632, allocations: 11.86 kB / 1.326 GB, free: 1.461 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.3633, allocations: 11.88 kB / 1.326 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.678e-05/0.3634, allocations: 23.97 kB / 1.326 GB, free: 1.426 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001412/0.3635, allocations: 87.77 kB / 1.326 GB, free: 1.34 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.3636, allocations: 37.28 kB / 1.326 GB, free: 1.301 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001002/0.3637, allocations: 39.8 kB / 1.326 GB, free: 1.262 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 6.033e-05/0.3638, allocations: 35.78 kB / 1.326 GB, free: 1.227 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.49e-05/0.3638, allocations: 8 kB / 1.326 GB, free: 1.219 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.427e-05/0.3638, allocations: 11.94 kB / 1.326 GB, free: 1.207 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.525e-05/0.3639, allocations: 15.92 kB / 1.326 GB, free: 1.191 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 5.042e-05/0.3639, allocations: 31.81 kB / 1.326 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001655/0.3641, allocations: 107.7 kB / 1.326 GB, free: 1.055 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3641, allocations: 0 / 1.326 GB, free: 1.055 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3641, allocations: 0 / 1.326 GB, free: 1.055 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.3641, allocations: 0 / 1.326 GB, free: 1.055 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0005109/0.3646, allocations: 334 kB / 1.327 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.77e-05/0.3647, allocations: 8.031 kB / 1.327 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.387e-05/0.3647, allocations: 42.73 kB / 1.327 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.083e-05/0.3647, allocations: 8.891 kB / 1.327 GB, free: 0.6289 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002446/0.365, allocations: 145.7 kB / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.365, allocations: 8.5 kB / 1.327 GB, free: 468 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.365, allocations: 8.375 kB / 1.327 GB, free: 460 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002033/0.3652, allocations: 108.8 kB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.3652, allocations: 3.938 kB / 1.327 GB, free: 336 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.628e-05/0.3652, allocations: 8 kB / 1.327 GB, free: 328 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.241e-06/0.3652, allocations: 4 kB / 1.327 GB, free: 324 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.3654, allocations: 47.91 kB / 1.327 GB, free: 276 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000679/0.366, allocations: 419.7 kB / 1.327 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.528e-05/0.3661, allocations: 49.2 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.315e-05/0.3662, allocations: 29.72 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 7.624e-06/0.3662, allocations: 0 / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.3662, allocations: 38.55 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3662, allocations: 4 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0002079/0.3664, allocations: 69.55 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.584e-05/0.3665, allocations: 77.11 kB / 1.328 GB, free: 15.49 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.3667, allocations: 172 kB / 1.328 GB, free: 15.3 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.3667, allocations: 33.7 kB / 1.328 GB, free: 15.27 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 9.637e-05/0.3668, allocations: 108 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.746e-05/0.3668, allocations: 11.89 kB / 1.328 GB, free: 15.14 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.192e-05/0.3669, allocations: 25.67 kB / 1.328 GB, free: 15.11 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000168/0.3671, allocations: 322.8 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.468e-05/0.3671, allocations: 12.25 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.632e-05/0.3671, allocations: 29.7 kB / 1.328 GB, free: 14.74 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.859e-05/0.3672, allocations: 41.64 kB / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3672, allocations: 0 / 1.328 GB, free: 14.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001019/0.3673, allocations: 61.64 kB / 1.328 GB, free: 14.63 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3673, allocations: 8 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.3673, allocations: 7.922 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.3673, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.931e-05/0.3674, allocations: 8 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.56e-06/0.3674, allocations: 0 / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.683e-05/0.3674, allocations: 7.953 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.3674, allocations: 15.92 kB / 1.329 GB, free: 14.58 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 (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 8.847e-05/0.3675, allocations: 118.4 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.289e-05/0.3676, allocations: 7.953 kB / 1.329 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.356e-05/0.3676, allocations: 16.64 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.3676, allocations: 0 / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.3676, allocations: 0 / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.3676, allocations: 0 / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004863/0.3681, allocations: 487.4 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.3681, allocations: 128 / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.919e-05/0.3681, allocations: 12.11 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.3681, allocations: 11.86 kB / 1.329 GB, free: 13.87 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.3681, allocations: 4 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3682, allocations: 0 / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3682, allocations: 3.938 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.3683, allocations: 107.6 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.479e-05/0.3683, allocations: 15.84 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.3683, allocations: 7.922 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.997e-05/0.3684, allocations: 4 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.292e-05/0.3684, allocations: 4 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.921e-06/0.3684, allocations: 8 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001062/0.3685, allocations: 124 kB / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3685, allocations: 0 / 1.329 GB, free: 13.57 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0001998/0.3687, allocations: 12 kB / 1.329 GB, free: 13.55 MB / 1.029 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.0004592/0.3691, allocations: 0.6383 MB / 1.33 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.425e-05/0.3692, allocations: 23.94 kB / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3692, allocations: 0 / 1.33 GB, free: 12.85 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.72e-05/0.3693, allocations: 23.92 kB / 1.33 GB, free: 12.83 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001705/0.3694, allocations: 10.27 kB / 1.33 GB, free: 12.82 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/0.3709, allocations: 1.434 MB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.113e-05/0.371, allocations: 84.19 kB / 1.332 GB, free: 11.18 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.086e-05/0.371, allocations: 12.75 kB / 1.332 GB, free: 11.17 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.371, allocations: 31.42 kB / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of SimCode: time 3.8e-07/0.371, allocations: 0 / 1.332 GB, free: 11.14 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0302/0.4012, allocations: 2.217 MB / 1.334 GB, free: 9.066 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.03, allocations: 4.297 kB / 1.334 GB, free: 9.066 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_UnitConversions_Validation_To_degF.fmu > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degF.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 19.051324733067304]