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.001789/0.001789, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.002488/0.002488, allocations: 217.6 kB / 22.25 MB, free: 5.105 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: 7.855 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.278/3.278, allocations: 0.49 GB / 0.7951 GB, free: 35.48 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.002114/0.002114, allocations: 74.69 kB / 1.154 GB, free: 25.53 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4091/0.4112, allocations: 176.1 MB / 1.326 GB, free: 1.5 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002323/0.4136, allocations: 0.8017 MB / 1.327 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.0001501/0.4137, allocations: 43.78 kB / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.74e-05/0.4138, allocations: 0 / 1.327 GB, free: 0.6602 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.91e-05/0.4138, allocations: 7.875 kB / 1.327 GB, free: 0.6523 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 8.648e-05/0.4139, allocations: 11.88 kB / 1.327 GB, free: 0.6406 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.084e-05/0.414, allocations: 15.98 kB / 1.327 GB, free: 0.625 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000142/0.4141, allocations: 67.83 kB / 1.327 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.4143, allocations: 31.98 kB / 1.327 GB, free: 0.5273 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.948e-05/0.4143, allocations: 31.86 kB / 1.327 GB, free: 0.4961 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.582e-05/0.4144, allocations: 31.78 kB / 1.327 GB, free: 476 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.849e-05/0.4144, allocations: 11.94 kB / 1.327 GB, free: 464 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.145e-05/0.4144, allocations: 4 kB / 1.327 GB, free: 460 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.482e-05/0.4145, allocations: 19.92 kB / 1.327 GB, free: 440 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.347e-05/0.4145, allocations: 15.88 kB / 1.327 GB, free: 424 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.4146, allocations: 83.84 kB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.4147, allocations: 0 / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4147, allocations: 0 / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of Transformations before backend: time 1.253e-05/0.4147, allocations: 0 / 1.327 GB, free: 340 kB / 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.0004871/0.4152, allocations: 306 kB / 1.327 GB, free: 0 / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 6.054e-05/0.4152, allocations: 12.08 kB / 1.327 GB, free: 15.98 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.226e-05/0.4153, allocations: 38.69 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.4153, allocations: 8.891 kB / 1.327 GB, free: 15.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002244/0.4155, allocations: 142.3 kB / 1.327 GB, free: 15.77 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.4155, allocations: 8.281 kB / 1.327 GB, free: 15.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.4155, allocations: 8.375 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.4157, allocations: 95.88 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.4157, allocations: 3.938 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.4158, allocations: 4 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.4158, allocations: 8 kB / 1.328 GB, free: 15.63 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.997e-05/0.4158, allocations: 31.98 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005871/0.4164, allocations: 391.8 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 6.835e-05/0.4165, allocations: 37.16 kB / 1.328 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.458e-05/0.4165, allocations: 17.84 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.134e-05/0.4165, allocations: 4 kB / 1.328 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.099e-05/0.4166, allocations: 38.58 kB / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.4166, allocations: 0 / 1.328 GB, free: 15.04 MB / 1.029 GB Notification: Performance of matching and sorting (n=2): time 0.0002021/0.4168, allocations: 61.53 kB / 1.328 GB, free: 14.98 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.413e-05/0.4168, allocations: 81.05 kB / 1.328 GB, free: 14.88 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/0.417, allocations: 165.2 kB / 1.328 GB, free: 14.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.417, allocations: 25.7 kB / 1.328 GB, free: 14.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.345e-05/0.4171, allocations: 104 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.003e-05/0.4171, allocations: 7.938 kB / 1.329 GB, free: 14.57 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.4171, allocations: 17.72 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.4173, allocations: 322.8 kB / 1.329 GB, free: 14.22 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.838e-05/0.4173, allocations: 4 kB / 1.329 GB, free: 14.21 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.514e-05/0.4173, allocations: 17.72 kB / 1.329 GB, free: 14.19 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.843e-05/0.4174, allocations: 37.89 kB / 1.329 GB, free: 14.15 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.4174, allocations: 4 kB / 1.329 GB, free: 14.14 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.501e-05/0.4175, allocations: 49.66 kB / 1.329 GB, free: 14.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.546e-05/0.4175, allocations: 7.938 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4175, allocations: 4 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.4175, allocations: 4 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.229e-05/0.4176, allocations: 11.92 kB / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.4176, allocations: 0 / 1.329 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.225e-05/0.4176, allocations: 8.016 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.938e-06/0.4176, allocations: 4 kB / 1.329 GB, free: 14.05 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 9.6e-05/0.4177, allocations: 118.3 kB / 1.329 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.566e-05/0.4178, allocations: 15.83 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.4178, allocations: 15.8 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.4178, allocations: 0 / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/0.4178, allocations: 0 / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.4178, allocations: 4 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/0.4182, allocations: 433.9 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.4182, allocations: 0 / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.935e-05/0.4182, allocations: 8.062 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.4182, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-06/0.4182, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4182, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4182, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.4183, allocations: 93.77 kB / 1.33 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.467e-05/0.4184, allocations: 7.953 kB / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.4184, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.037e-05/0.4184, allocations: 0 / 1.33 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.077e-05/0.4184, allocations: 11.98 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-06/0.4184, allocations: 4.031 kB / 1.33 GB, free: 13.26 MB / 1.029 GB Notification: Performance of sorting global known variables: time 9.702e-05/0.4185, allocations: 121.1 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4185, allocations: 0 / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000185/0.4187, allocations: 8 kB / 1.33 GB, free: 13.13 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.0004306/0.4191, allocations: 0.617 MB / 1.33 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.629e-05/0.4192, allocations: 16 kB / 1.33 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.4192, allocations: 0 / 1.33 GB, free: 12.47 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.329e-05/0.4192, allocations: 8.094 kB / 1.33 GB, free: 12.46 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001539/0.4194, allocations: 15.25 kB / 1.33 GB, free: 12.45 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001351/0.4207, allocations: 1.326 MB / 1.332 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.109e-05/0.4208, allocations: 83.12 kB / 1.332 GB, free: 10.92 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.322e-05/0.4209, allocations: 12.5 kB / 1.332 GB, free: 10.91 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.657e-05/0.4209, allocations: 23.42 kB / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.4209, allocations: 0 / 1.332 GB, free: 10.89 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02946/0.4504, allocations: 2.138 MB / 1.334 GB, free: 8.895 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.53, allocations: 0 / 1.334 GB, free: 8.895 MB / 1.029 GB " [Timeout remaining time 288] (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.597516461013583]