Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.001857/0.001857, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002615/0.002615, allocations: 214.3 kB / 22.25 MB, free: 4.855 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.565/1.565, allocations: 230.6 MB / 256 MB, free: 7.805 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.877/2.877, allocations: 476 MB / 0.7699 GB, free: 4.766 MB / 0.6231 GB " [Timeout remaining time 176] 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_ton,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",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.002177/0.002177, allocations: 67.48 kB / 1.117 GB, free: 41.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3821/0.3843, allocations: 170 MB / 1.283 GB, free: 12.48 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002099/0.3864, allocations: 0.7962 MB / 1.283 GB, free: 11.69 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001251/0.3865, allocations: 35.8 kB / 1.283 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.257e-05/0.3866, allocations: 4 kB / 1.283 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.875e-05/0.3866, allocations: 15.8 kB / 1.283 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.958e-05/0.3867, allocations: 11.86 kB / 1.283 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.077e-05/0.3867, allocations: 19.98 kB / 1.283 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.3869, allocations: 63.84 kB / 1.283 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001282/0.387, allocations: 29.66 kB / 1.284 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.663e-05/0.3871, allocations: 23.88 kB / 1.284 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.653e-05/0.3871, allocations: 31.78 kB / 1.284 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.599e-05/0.3871, allocations: 4 kB / 1.284 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.131e-05/0.3871, allocations: 8 kB / 1.284 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.086e-05/0.3872, allocations: 11.94 kB / 1.284 GB, free: 11.44 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.746e-05/0.3872, allocations: 27.8 kB / 1.284 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001242/0.3873, allocations: 79.16 kB / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/0.3873, allocations: 0 / 1.284 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.944e-06/0.3873, allocations: 4 kB / 1.284 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.3873, allocations: 0 / 1.284 GB, free: 11.33 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004462/0.3878, allocations: 310.1 kB / 1.284 GB, free: 11 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.3878, allocations: 8.031 kB / 1.284 GB, free: 10.99 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5e-05/0.3879, allocations: 42.69 kB / 1.284 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.069e-05/0.3879, allocations: 16.88 kB / 1.284 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.3881, allocations: 134.4 kB / 1.284 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.495e-05/0.3881, allocations: 4.375 kB / 1.284 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.3881, allocations: 8.375 kB / 1.284 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.3883, allocations: 98.14 kB / 1.284 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3883, allocations: 7.938 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.051e-05/0.3883, allocations: 4 kB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3883, allocations: 0 / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.135e-05/0.3884, allocations: 35.98 kB / 1.284 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00055/0.3889, allocations: 395.8 kB / 1.285 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.086e-05/0.389, allocations: 37.22 kB / 1.285 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.048e-05/0.389, allocations: 17.88 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 6.602e-06/0.389, allocations: 3.938 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.3891, allocations: 38.56 kB / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.3891, allocations: 0 / 1.285 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001674/0.3892, allocations: 57.52 kB / 1.285 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.3893, allocations: 81.11 kB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001601/0.3894, allocations: 160.7 kB / 1.285 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.629e-05/0.3894, allocations: 25.7 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.3895, allocations: 108 kB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.037e-05/0.3895, allocations: 7.953 kB / 1.285 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.194e-05/0.3896, allocations: 17.66 kB / 1.285 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.3897, allocations: 323.1 kB / 1.286 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.818e-05/0.3897, allocations: 12 kB / 1.286 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.436e-05/0.3898, allocations: 17.66 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.931e-05/0.3898, allocations: 29.66 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.3898, allocations: 0 / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.86e-05/0.3899, allocations: 57.64 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.3899, allocations: 7.938 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.3899, allocations: 0 / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.7e-05/0.3899, allocations: 0 / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.949e-05/0.39, allocations: 16 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.367e-06/0.39, allocations: 3.984 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.135e-05/0.39, allocations: 3.953 kB / 1.286 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-06/0.3901, allocations: 4 kB / 1.286 GB, free: 9.047 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 (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.0001004/0.3902, allocations: 113.8 kB / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.021e-05/0.3902, allocations: 11.89 kB / 1.286 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.714e-05/0.3902, allocations: 11.81 kB / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.3902, allocations: 0 / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.3902, allocations: 0 / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.3902, allocations: 0 / 1.286 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004148/0.3907, allocations: 445.8 kB / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.3907, allocations: 0 / 1.286 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.682e-05/0.3907, allocations: 4 kB / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3907, allocations: 0 / 1.286 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.3907, allocations: 4 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3907, allocations: 0 / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3907, allocations: 0 / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.325e-05/0.3908, allocations: 89.81 kB / 1.286 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.967e-05/0.3908, allocations: 11.91 kB / 1.286 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.3908, allocations: 4 kB / 1.286 GB, free: 8.277 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.217e-05/0.3909, allocations: 8.094 kB / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/0.3909, allocations: 96 / 1.286 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.937e-06/0.3909, allocations: 3.984 kB / 1.286 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001042/0.391, allocations: 120.3 kB / 1.286 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.391, allocations: 4 kB / 1.286 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001823/0.3912, allocations: 4 kB / 1.287 GB, free: 8.141 MB / 0.9825 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.3916, allocations: 0.6171 MB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.931e-05/0.3917, allocations: 20.08 kB / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3917, allocations: 0 / 1.287 GB, free: 7.473 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.214e-05/0.3917, allocations: 11.88 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.3918, allocations: 11.94 kB / 1.287 GB, free: 7.449 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/0.3932, allocations: 1.328 MB / 1.288 GB, free: 6.023 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.193e-05/0.3933, allocations: 83.14 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.422e-05/0.3933, allocations: 12.61 kB / 1.289 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.878e-05/0.3933, allocations: 23.38 kB / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3933, allocations: 0 / 1.289 GB, free: 5.887 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02852/0.4219, allocations: 2.099 MB / 1.291 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.81, allocations: 5.859 kB / 1.291 GB, free: 3.926 MB / 0.9825 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_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_ton.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.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.87658974295482]