Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_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.001038/0.001038, allocations: 104.3 kB / 19.72 MB, free: 420 kB / 13.93 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.001434/0.001434, allocations: 207.8 kB / 23.02 MB, free: 2.965 MB / 13.93 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 0.991/0.991, allocations: 230.6 MB / 256.8 MB, free: 9.578 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.997/1.997, allocations: 0.5045 GB / 0.8104 GB, free: 2.738 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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_13_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_To_ton",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.000946/0.000946, allocations: 67.89 kB / 1.177 GB, free: 11.95 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7856/0.7866, allocations: 180 MB / 1.352 GB, free: 1.66 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001658/0.7882, allocations: 0.7875 MB / 1.353 GB, free: 0.875 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0001156/0.7884, allocations: 39.8 kB / 1.353 GB, free: 0.8359 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.446e-05/0.7884, allocations: 0 / 1.353 GB, free: 0.8359 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 4.233e-05/0.7885, allocations: 11.86 kB / 1.353 GB, free: 0.8242 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 8.499e-05/0.7885, allocations: 19.86 kB / 1.353 GB, free: 0.8047 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 4.509e-05/0.7886, allocations: 19.98 kB / 1.353 GB, free: 0.7852 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 9.755e-05/0.7887, allocations: 55.84 kB / 1.353 GB, free: 0.7305 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001293/0.7888, allocations: 31.97 kB / 1.353 GB, free: 0.6992 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 6.777e-05/0.7889, allocations: 23.88 kB / 1.353 GB, free: 0.6758 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 4.362e-05/0.7889, allocations: 23.84 kB / 1.353 GB, free: 0.6523 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 1.923e-05/0.7889, allocations: 15.88 kB / 1.353 GB, free: 0.6367 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 7.624e-06/0.7889, allocations: 4 kB / 1.353 GB, free: 0.6328 MB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 1.776e-05/0.789, allocations: 8 kB / 1.353 GB, free: 0.625 MB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 3.337e-05/0.789, allocations: 35.78 kB / 1.354 GB, free: 0.5898 MB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.7891, allocations: 73.91 kB / 1.354 GB, free: 0.5195 MB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.7891, allocations: 0 / 1.354 GB, free: 0.5195 MB / 1.026 GB Notification: Performance of FrontEnd: time 2.715e-06/0.7891, allocations: 0 / 1.354 GB, free: 0.5195 MB / 1.026 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.7891, allocations: 4 kB / 1.354 GB, free: 0.5156 MB / 1.026 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.0003664/0.7895, allocations: 306 kB / 1.354 GB, free: 188 kB / 1.026 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.7895, allocations: 8.922 kB / 1.354 GB, free: 180 kB / 1.026 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.254e-05/0.7896, allocations: 38.75 kB / 1.354 GB, free: 132 kB / 1.026 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.439e-05/0.7896, allocations: 12.88 kB / 1.354 GB, free: 120 kB / 1.026 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001734/0.7898, allocations: 142.3 kB / 1.354 GB, free: 15.95 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.14e-05/0.7898, allocations: 8.281 kB / 1.354 GB, free: 15.95 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.7898, allocations: 12.38 kB / 1.354 GB, free: 15.93 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.7899, allocations: 91.89 kB / 1.354 GB, free: 15.83 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.7899, allocations: 3.938 kB / 1.354 GB, free: 15.83 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.689e-06/0.7899, allocations: 4 kB / 1.354 GB, free: 15.82 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.912e-06/0.7899, allocations: 4 kB / 1.354 GB, free: 15.82 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.031e-05/0.79, allocations: 35.98 kB / 1.354 GB, free: 15.79 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003986/0.7904, allocations: 395.7 kB / 1.355 GB, free: 15.35 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.015e-05/0.7904, allocations: 41.09 kB / 1.355 GB, free: 15.29 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.982e-05/0.7905, allocations: 21.84 kB / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 7.504e-06/0.7905, allocations: 0 / 1.355 GB, free: 15.27 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.304e-05/0.7905, allocations: 42.53 kB / 1.355 GB, free: 15.21 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 1.903e-06/0.7905, allocations: 7.984 kB / 1.355 GB, free: 15.21 MB / 1.042 GB Notification: Performance of matching and sorting (n=2): time 0.0001423/0.7907, allocations: 57.52 kB / 1.355 GB, free: 15.14 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.579e-05/0.7907, allocations: 77.11 kB / 1.355 GB, free: 15.05 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.7908, allocations: 161.1 kB / 1.355 GB, free: 14.88 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.7908, allocations: 25.7 kB / 1.355 GB, free: 14.85 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.7909, allocations: 104 kB / 1.355 GB, free: 14.75 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 7.634e-06/0.7909, allocations: 8.203 kB / 1.355 GB, free: 14.74 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.503e-05/0.7909, allocations: 21.72 kB / 1.355 GB, free: 14.71 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.534e-05/0.791, allocations: 318.8 kB / 1.355 GB, free: 14.39 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.426e-05/0.791, allocations: 4 kB / 1.355 GB, free: 14.39 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.822e-05/0.791, allocations: 17.72 kB / 1.355 GB, free: 14.36 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.431e-05/0.791, allocations: 29.66 kB / 1.355 GB, free: 14.33 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.791, allocations: 0 / 1.355 GB, free: 14.33 MB / 1.042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.024e-05/0.7911, allocations: 57.64 kB / 1.356 GB, free: 14.27 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.7911, allocations: 11.94 kB / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.7911, allocations: 4.062 kB / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.273e-05/0.7911, allocations: 0 / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.544e-05/0.7912, allocations: 7.938 kB / 1.356 GB, free: 14.24 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.7912, allocations: 7.984 kB / 1.356 GB, free: 14.23 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.863e-05/0.7912, allocations: 7.891 kB / 1.356 GB, free: 14.23 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.887e-06/0.7912, allocations: 0 / 1.356 GB, free: 14.23 MB / 1.042 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 5.818e-05/0.7913, allocations: 114.4 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.267e-05/0.7913, allocations: 11.89 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.219e-05/0.7913, allocations: 11.81 kB / 1.356 GB, free: 14.08 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.7913, allocations: 0 / 1.356 GB, free: 14.08 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.7913, allocations: 8 kB / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.7913, allocations: 0 / 1.356 GB, free: 14.07 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000258/0.7916, allocations: 437.8 kB / 1.356 GB, free: 13.59 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7916, allocations: 0 / 1.356 GB, free: 13.59 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.46e-05/0.7916, allocations: 4 kB / 1.356 GB, free: 13.59 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.7916, allocations: 0 / 1.356 GB, free: 13.59 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-06/0.7916, allocations: 3.938 kB / 1.356 GB, free: 13.58 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.7916, allocations: 0 / 1.356 GB, free: 13.58 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.7916, allocations: 4 kB / 1.356 GB, free: 13.58 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.054e-05/0.7917, allocations: 89.88 kB / 1.356 GB, free: 13.47 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.924e-05/0.7917, allocations: 7.953 kB / 1.356 GB, free: 13.46 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.062e-05/0.7917, allocations: 0 / 1.356 GB, free: 13.46 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.308e-06/0.7917, allocations: 0 / 1.356 GB, free: 13.46 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.161e-05/0.7917, allocations: 4 kB / 1.356 GB, free: 13.46 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.965e-06/0.7917, allocations: 0 / 1.356 GB, free: 13.46 MB / 1.042 GB Notification: Performance of sorting global known variables: time 6.358e-05/0.7918, allocations: 126.1 kB / 1.356 GB, free: 13.34 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7918, allocations: 3.938 kB / 1.356 GB, free: 13.33 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001219/0.7919, allocations: 8 kB / 1.356 GB, free: 13.32 MB / 1.042 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.0002663/0.7922, allocations: 0.621 MB / 1.357 GB, free: 12.67 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 8.353e-05/0.7923, allocations: 19.98 kB / 1.357 GB, free: 12.65 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.7923, allocations: 0 / 1.357 GB, free: 12.65 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 7.113e-06/0.7923, allocations: 7.938 kB / 1.357 GB, free: 12.64 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001252/0.7924, allocations: 8 kB / 1.357 GB, free: 12.64 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009011/0.7933, allocations: 1.33 MB / 1.358 GB, free: 11.21 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.619e-05/0.7934, allocations: 79.58 kB / 1.358 GB, free: 11.11 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.972e-05/0.7934, allocations: 12.41 kB / 1.358 GB, free: 11.1 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.326e-05/0.7934, allocations: 23.44 kB / 1.358 GB, free: 11.07 MB / 1.042 GB Notification: Performance of SimCode: time 8.22e-07/0.7934, allocations: 0 / 1.358 GB, free: 11.07 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07842/0.8718, allocations: 2.101 MB / 1.36 GB, free: 9.125 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.849/7.721, allocations: 4.734 kB / 1.36 GB, free: 9.121 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_To_ton_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_To_ton.fmu) > Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_fmpy_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 ../Buildings_13_Buildings_Controls_OBC_UnitConversions_Validation_To_ton.fmu) > Buildings_13_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.691873755306005]