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.001294/0.001294, allocations: 104.2 kB / 16.45 MB, free: 6.449 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.001462/0.001462, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.526/1.526, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.907/2.907, allocations: 476.7 MB / 0.7672 GB, free: 5.207 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.002133/0.002133, allocations: 71.88 kB / 1.112 GB, free: 1.48 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8526/0.8547, allocations: 169.9 MB / 1.278 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.002105/0.8568, allocations: 0.8411 MB / 1.279 GB, free: 12.61 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001267/0.857, allocations: 43.78 kB / 1.279 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.844e-05/0.857, allocations: 0 / 1.279 GB, free: 12.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.043e-05/0.8571, allocations: 7.875 kB / 1.279 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.334e-05/0.8572, allocations: 15.86 kB / 1.279 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.621e-05/0.8572, allocations: 11.98 kB / 1.279 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001147/0.8573, allocations: 63.84 kB / 1.279 GB, free: 12.46 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.8575, allocations: 31.98 kB / 1.279 GB, free: 12.43 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.277e-05/0.8575, allocations: 27.86 kB / 1.279 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.301e-05/0.8576, allocations: 31.78 kB / 1.279 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.8576, allocations: 8 kB / 1.279 GB, free: 12.37 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.758e-06/0.8576, allocations: 4 kB / 1.279 GB, free: 12.36 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.869e-05/0.8576, allocations: 19.92 kB / 1.279 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.392e-05/0.8577, allocations: 31.73 kB / 1.279 GB, free: 12.31 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000133/0.8578, allocations: 73.48 kB / 1.279 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.541e-06/0.8578, allocations: 0 / 1.279 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8578, allocations: 0 / 1.279 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.007e-05/0.8578, allocations: 0 / 1.279 GB, free: 12.24 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.0005186/0.8584, allocations: 387.1 kB / 1.28 GB, free: 11.81 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.355e-05/0.8584, allocations: 8.031 kB / 1.28 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.627e-05/0.8584, allocations: 42.69 kB / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.929e-05/0.8585, allocations: 8.891 kB / 1.28 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002412/0.8587, allocations: 212 kB / 1.28 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.8587, allocations: 384 / 1.28 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.783e-05/0.8587, allocations: 12.38 kB / 1.28 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.8589, allocations: 95.8 kB / 1.28 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.8589, allocations: 3.938 kB / 1.28 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.8589, allocations: 4 kB / 1.28 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.8589, allocations: 4 kB / 1.28 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.014e-05/0.859, allocations: 35.98 kB / 1.28 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006019/0.8596, allocations: 436.7 kB / 1.281 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.166e-05/0.8597, allocations: 49.2 kB / 1.281 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.861e-05/0.8597, allocations: 17.81 kB / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.022e-05/0.8597, allocations: 0 / 1.281 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.94e-05/0.8598, allocations: 34.56 kB / 1.281 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.8598, allocations: 4 kB / 1.281 GB, free: 10.72 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001885/0.86, allocations: 61.52 kB / 1.281 GB, free: 10.65 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.952e-05/0.86, allocations: 77.11 kB / 1.281 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.8602, allocations: 156.9 kB / 1.281 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/0.8602, allocations: 29.7 kB / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.8603, allocations: 100 kB / 1.281 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.328e-05/0.8603, allocations: 11.94 kB / 1.281 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.81e-05/0.8604, allocations: 21.91 kB / 1.281 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.8605, allocations: 322.8 kB / 1.281 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.99e-05/0.8605, allocations: 4 kB / 1.281 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.833e-05/0.8606, allocations: 17.72 kB / 1.282 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.319e-05/0.8606, allocations: 25.66 kB / 1.282 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.8606, allocations: 0 / 1.282 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.347e-05/0.8607, allocations: 65.64 kB / 1.282 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/0.8607, allocations: 7.938 kB / 1.282 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/0.8607, allocations: 0 / 1.282 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.8607, allocations: 7.938 kB / 1.282 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.226e-05/0.8608, allocations: 4 kB / 1.282 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.441e-06/0.8608, allocations: 0 / 1.282 GB, free: 9.746 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.536e-05/0.8608, allocations: 11.89 kB / 1.282 GB, free: 9.734 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.699e-06/0.8608, allocations: 0 / 1.282 GB, free: 9.734 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 9.277e-05/0.8609, allocations: 119.1 kB / 1.282 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.846e-05/0.861, allocations: 15.95 kB / 1.282 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.771e-05/0.861, allocations: 11.88 kB / 1.282 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.861, allocations: 0 / 1.282 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.861, allocations: 0 / 1.282 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.861, allocations: 4 kB / 1.282 GB, free: 9.574 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004691/0.8615, allocations: 474.7 kB / 1.282 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.8615, allocations: 0 / 1.282 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.186e-05/0.8615, allocations: 12.05 kB / 1.282 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.8615, allocations: 0 / 1.282 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.674e-06/0.8615, allocations: 4 kB / 1.282 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.8615, allocations: 0 / 1.282 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.8615, allocations: 0 / 1.282 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.291e-05/0.8616, allocations: 81.83 kB / 1.282 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.37e-05/0.8617, allocations: 93 kB / 1.282 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.365e-05/0.8617, allocations: 4.031 kB / 1.282 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.021e-05/0.8617, allocations: 0 / 1.282 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.8617, allocations: 4 kB / 1.282 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-06/0.8617, allocations: 0 / 1.282 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001019/0.8618, allocations: 123.2 kB / 1.283 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8618, allocations: 0 / 1.283 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001924/0.862, allocations: 8 kB / 1.283 GB, free: 8.684 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.0004948/0.8625, allocations: 0.6214 MB / 1.283 GB, free: 8.031 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.795e-05/0.8626, allocations: 19.98 kB / 1.283 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.8626, allocations: 0 / 1.283 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.537e-05/0.8626, allocations: 7.938 kB / 1.283 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.8628, allocations: 14.78 kB / 1.283 GB, free: 7.992 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00138/0.8642, allocations: 1.311 MB / 1.284 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003495/0.8645, allocations: 0.6929 MB / 1.285 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.63e-05/0.8646, allocations: 16.36 kB / 1.285 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.984e-05/0.8646, allocations: 23.44 kB / 1.285 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of SimCode: time 9.52e-07/0.8646, allocations: 0 / 1.285 GB, free: 5.824 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02658/0.8912, allocations: 1.588 MB / 1.287 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.129/9.02, allocations: 19.09 kB / 1.287 GB, free: 4.316 MB / 0.9825 GB " [Timeout remaining time 291] (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: 15.532139224931598]