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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 112.2 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 190.6 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 225.6 MB / 249.3 MB, free: 3.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.534/2.534, allocations: 476.7 MB / 0.7628 GB, free: 15.18 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001975/0.001975, allocations: 67.89 kB / 1.107 GB, free: 5.211 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7984/0.8004, allocations: 168.7 MB / 1.271 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001726/0.8021, allocations: 0.835 MB / 1.272 GB, free: 7.223 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 8.991e-05/0.8022, allocations: 40.8 kB / 1.272 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.501e-05/0.8023, allocations: 5.719 kB / 1.272 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.233e-05/0.8023, allocations: 6.422 kB / 1.272 GB, free: 7.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.514e-05/0.8024, allocations: 9.656 kB / 1.272 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 4.546e-05/0.8024, allocations: 20 kB / 1.272 GB, free: 7.164 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.739e-05/0.8025, allocations: 59.33 kB / 1.272 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.8026, allocations: 43.06 kB / 1.272 GB, free: 7.109 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.349e-05/0.8027, allocations: 27.02 kB / 1.272 GB, free: 7.094 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.057e-05/0.8027, allocations: 26.81 kB / 1.272 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.8027, allocations: 5.719 kB / 1.272 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.608e-06/0.8027, allocations: 5.938 kB / 1.272 GB, free: 7.078 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.8028, allocations: 16.84 kB / 1.272 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.088e-05/0.8028, allocations: 32.36 kB / 1.272 GB, free: 7.043 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001076/0.8029, allocations: 76.56 kB / 1.273 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.8029, allocations: 0.8125 kB / 1.273 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.412e-06/0.8029, allocations: 0 / 1.273 GB, free: 7.008 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.576e-06/0.8029, allocations: 4 kB / 1.273 GB, free: 7.004 MB / 0.9981 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.0003035/0.8032, allocations: 376.8 kB / 1.273 GB, free: 6.617 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.358e-05/0.8032, allocations: 14.34 kB / 1.273 GB, free: 6.613 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.864e-05/0.8033, allocations: 42.94 kB / 1.273 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.41e-05/0.8033, allocations: 17.27 kB / 1.273 GB, free: 6.555 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001401/0.8034, allocations: 196.2 kB / 1.273 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.454e-06/0.8034, allocations: 3.812 kB / 1.273 GB, free: 6.34 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.45e-05/0.8035, allocations: 9.125 kB / 1.273 GB, free: 6.336 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001278/0.8036, allocations: 95.17 kB / 1.273 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.8036, allocations: 7.875 kB / 1.273 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.8036, allocations: 2 kB / 1.273 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.8036, allocations: 1.938 kB / 1.273 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.167e-05/0.8037, allocations: 39.53 kB / 1.273 GB, free: 6.242 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003825/0.8041, allocations: 442.8 kB / 1.274 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.881e-05/0.8041, allocations: 41.84 kB / 1.274 GB, free: 5.777 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.637e-05/0.8041, allocations: 15.28 kB / 1.274 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 6.182e-06/0.8041, allocations: 0.5625 kB / 1.274 GB, free: 5.762 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.082e-05/0.8041, allocations: 37.03 kB / 1.274 GB, free: 5.719 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.8041, allocations: 4 kB / 1.274 GB, free: 5.715 MB / 0.9981 GB Notification: Performance of matching and sorting (n=2): time 0.0001407/0.8043, allocations: 56.53 kB / 1.274 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.915e-05/0.8043, allocations: 78.89 kB / 1.274 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.8044, allocations: 159.9 kB / 1.274 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 5.52e-06/0.8044, allocations: 26.45 kB / 1.274 GB, free: 5.422 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/0.8045, allocations: 102.7 kB / 1.274 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 6.102e-06/0.8045, allocations: 5.328 kB / 1.274 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.8045, allocations: 23.08 kB / 1.274 GB, free: 5.297 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.51e-05/0.8045, allocations: 319 kB / 1.275 GB, free: 4.98 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.701e-05/0.8045, allocations: 11.12 kB / 1.275 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.72e-05/0.8046, allocations: 22.66 kB / 1.275 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.119e-05/0.8046, allocations: 22.31 kB / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-06/0.8046, allocations: 0 / 1.275 GB, free: 4.934 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.749e-05/0.8047, allocations: 66.25 kB / 1.275 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.105e-05/0.8047, allocations: 8.875 kB / 1.275 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.8047, allocations: 0.8125 kB / 1.275 GB, free: 4.879 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.8047, allocations: 4.75 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.218e-05/0.8047, allocations: 6.047 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.8048, allocations: 1.625 kB / 1.275 GB, free: 4.875 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.762e-05/0.8048, allocations: 9.062 kB / 1.275 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.587e-06/0.8048, allocations: 1.406 kB / 1.275 GB, free: 4.871 MB / 0.9981 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 3.982e-05/0.8048, allocations: 117.7 kB / 1.275 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.8049, allocations: 15.97 kB / 1.275 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.016e-05/0.8049, allocations: 10.88 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.8049, allocations: 0.8438 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.8049, allocations: 0.8438 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.8049, allocations: 3.812 kB / 1.275 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002388/0.8051, allocations: 465.9 kB / 1.275 GB, free: 4.246 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.8051, allocations: 5.188 kB / 1.275 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.742e-05/0.8051, allocations: 2.969 kB / 1.275 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.8052, allocations: 4.969 kB / 1.275 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.299e-06/0.8052, allocations: 3.938 kB / 1.275 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.8052, allocations: 0.9062 kB / 1.275 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/0.8052, allocations: 0.8438 kB / 1.275 GB, free: 4.234 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.363e-05/0.8052, allocations: 80.73 kB / 1.275 GB, free: 4.148 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.566e-05/0.8052, allocations: 92.98 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.129e-05/0.8052, allocations: 1.062 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.947e-05/0.8053, allocations: 1.312 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.265e-05/0.8053, allocations: 0.875 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.8053, allocations: 0.7812 kB / 1.276 GB, free: 4.047 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.17e-05/0.8053, allocations: 124.8 kB / 1.276 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.8053, allocations: 0 / 1.276 GB, free: 3.957 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0001732/0.8055, allocations: 7.469 kB / 1.276 GB, free: 3.957 MB / 0.9981 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.0001971/0.8057, allocations: 0.6202 MB / 1.276 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 7.317e-05/0.8058, allocations: 17.78 kB / 1.276 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.8058, allocations: 1.031 kB / 1.276 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.367e-06/0.8058, allocations: 7.406 kB / 1.276 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001326/0.8059, allocations: 12.97 kB / 1.276 GB, free: 3.32 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008557/0.8068, allocations: 1.336 MB / 1.278 GB, free: 18.09 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.807, allocations: 0.6914 MB / 1.278 GB, free: 17.4 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.822e-05/0.8071, allocations: 15.3 kB / 1.278 GB, free: 17.39 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.486e-05/0.8071, allocations: 26.92 kB / 1.278 GB, free: 17.37 MB / 1.014 GB Notification: Performance of SimCode: time 3.3e-07/0.8071, allocations: 0 / 1.278 GB, free: 17.37 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.8284, allocations: 1.568 MB / 1.28 GB, free: 16.99 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.848/7.677, allocations: 10.27 kB / 1.28 GB, free: 16.98 MB / 1.014 GB " [Timeout remaining time 292] (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: 13.13856425799895]