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.001011/0.001011, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001342/0.002353, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009227/0.0009227, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001216/0.002139, allocations: 459.6 kB / 11.71 MB, free: 2.457 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.9826/0.9826, allocations: 177.1 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08999/1.073, allocations: 53.65 MB / 243.2 MB, free: 15.6 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.869/1.869, allocations: 378.2 MB / 0.6076 GB, free: 7.824 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5043/2.373, allocations: 123.3 MB / 0.728 GB, free: 5.836 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.495e-06/2.495e-06, allocations: 0 / 0.7293 GB, free: 4.535 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.488e-05/3.737e-05, allocations: 6.25 kB / 0.7293 GB, free: 4.527 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002442/0.002479, allocations: 0.8581 MB / 0.7302 GB, free: 3.695 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001556/0.002635, allocations: 44.22 kB / 0.7302 GB, free: 3.652 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.102e-05/0.002696, allocations: 5.281 kB / 0.7302 GB, free: 3.648 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 4.259e-05/0.002739, allocations: 12.52 kB / 0.7302 GB, free: 3.637 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.002e-05/0.002809, allocations: 10.28 kB / 0.7303 GB, free: 3.629 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 5.702e-05/0.002866, allocations: 20.67 kB / 0.7303 GB, free: 3.609 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001719/0.003038, allocations: 61.27 kB / 0.7303 GB, free: 3.559 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001465/0.003184, allocations: 34.91 kB / 0.7304 GB, free: 3.527 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.003316, allocations: 46.62 kB / 0.7304 GB, free: 3.488 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.379e-05/0.00338, allocations: 16.91 kB / 0.7304 GB, free: 3.473 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.68e-05/0.003407, allocations: 4 kB / 0.7304 GB, free: 3.469 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 1.069e-05/0.003417, allocations: 4 kB / 0.7304 GB, free: 3.465 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.284e-05/0.00344, allocations: 14.12 kB / 0.7304 GB, free: 3.453 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.737e-05/0.003478, allocations: 19.94 kB / 0.7305 GB, free: 3.434 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001449/0.003623, allocations: 43.66 kB / 0.7305 GB, free: 3.391 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.243e-05/0.003645, allocations: 4 kB / 0.7305 GB, free: 3.387 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.392e-06/0.003646, allocations: 0 / 0.7305 GB, free: 3.387 MB / 0.698 GB Notification: Performance of Transformations before backend: time 2.132e-05/0.003668, allocations: 0.5 kB / 0.7305 GB, free: 3.387 MB / 0.698 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.0004528/0.00412, allocations: 293.8 kB / 0.7308 GB, free: 3.074 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.004168, allocations: 12.03 kB / 0.7308 GB, free: 3.062 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.636e-05/0.004204, allocations: 4.938 kB / 0.7308 GB, free: 3.059 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001806/0.004385, allocations: 153.5 kB / 0.731 GB, free: 2.883 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.249e-05/0.004397, allocations: 1.031 kB / 0.731 GB, free: 2.883 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.004412, allocations: 12.38 kB / 0.731 GB, free: 2.871 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.004557, allocations: 82.95 kB / 0.731 GB, free: 2.781 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.004566, allocations: 192 / 0.731 GB, free: 2.781 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.004574, allocations: 2.094 kB / 0.731 GB, free: 2.781 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.004581, allocations: 384 / 0.731 GB, free: 2.781 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.611e-05/0.004627, allocations: 27.81 kB / 0.7311 GB, free: 2.754 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004823/0.00511, allocations: 0.5011 MB / 0.7316 GB, free: 2.219 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.938e-05/0.005189, allocations: 170 kB / 0.7317 GB, free: 2.043 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.144e-05/0.005221, allocations: 84.14 kB / 0.7318 GB, free: 1.957 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.42e-05/0.005245, allocations: 75.78 kB / 0.7319 GB, free: 1.883 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.593e-05/0.005291, allocations: 110.6 kB / 0.732 GB, free: 1.766 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.031e-06/0.005292, allocations: 0 / 0.732 GB, free: 1.766 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.593e-05/0.005358, allocations: 31.02 kB / 0.732 GB, free: 1.73 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.81e-05/0.005416, allocations: 130.7 kB / 0.7321 GB, free: 1.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.005548, allocations: 144.8 kB / 0.7323 GB, free: 1.438 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.046e-05/0.005559, allocations: 26.58 kB / 0.7323 GB, free: 1.406 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.984e-05/0.005628, allocations: 127.8 kB / 0.7324 GB, free: 1.277 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.805e-06/0.005636, allocations: 0 / 0.7324 GB, free: 1.277 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.897e-05/0.005675, allocations: 30.23 kB / 0.7325 GB, free: 1.242 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.383e-05/0.005769, allocations: 319.5 kB / 0.7328 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.064e-05/0.00578, allocations: 4 kB / 0.7328 GB, free: 0.918 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.701e-05/0.005827, allocations: 64.53 kB / 0.7328 GB, free: 0.832 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.003e-05/0.005897, allocations: 60.39 kB / 0.7329 GB, free: 0.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.845e-06/0.0059, allocations: 7.938 kB / 0.7329 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000126/0.006026, allocations: 75.86 kB / 0.733 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.006042, allocations: 4 kB / 0.733 GB, free: 0.6602 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.006049, allocations: 4.531 kB / 0.733 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.006061, allocations: 0.9375 kB / 0.733 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.558e-05/0.006137, allocations: 19.94 kB / 0.733 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.578e-06/0.006141, allocations: 0 / 0.733 GB, free: 0.6367 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.25e-05/0.006184, allocations: 8.5 kB / 0.733 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.006193, allocations: 4.875 kB / 0.733 GB, free: 0.625 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (8): * Single equations (assignments): 8 * 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.0001303/0.006323, allocations: 201 kB / 0.7332 GB, free: 428 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.866e-05/0.006412, allocations: 110.4 kB / 0.7333 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.379e-05/0.006485, allocations: 112.8 kB / 0.7334 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001023/0.006588, allocations: 184.2 kB / 0.7336 GB, free: 16 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.189e-05/0.00665, allocations: 180.3 kB / 0.7338 GB, free: 15.81 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.904e-05/0.006709, allocations: 180.8 kB / 0.7339 GB, free: 15.63 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002078/0.006916, allocations: 334.2 kB / 0.7342 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.722e-05/0.006954, allocations: 101 kB / 0.7343 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.769e-05/0.006991, allocations: 108.9 kB / 0.7344 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.769e-05/0.007049, allocations: 114.2 kB / 0.7346 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.939e-05/0.007108, allocations: 176.3 kB / 0.7347 GB, free: 14.76 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.208e-05/0.007171, allocations: 184.2 kB / 0.7349 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.49e-05/0.007235, allocations: 180.8 kB / 0.7351 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.357e-05/0.007299, allocations: 180.4 kB / 0.7352 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001453/0.007444, allocations: 324.8 kB / 0.7355 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.897e-05/0.007513, allocations: 176.3 kB / 0.7357 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.595e-05/0.007589, allocations: 105 kB / 0.7358 GB, free: 13.58 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.372e-05/0.007653, allocations: 189.2 kB / 0.736 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.837e-05/0.007691, allocations: 101 kB / 0.7361 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.443e-05/0.007726, allocations: 23.98 kB / 0.7361 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of sort global known variables: time 7e-08/0.007726, allocations: 4 kB / 0.7361 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002246/0.00795, allocations: 7.953 kB / 0.7361 GB, free: 13.25 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001358/0.008086, allocations: 160.7 kB / 0.7363 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.691e-05/0.008173, allocations: 35.03 kB / 0.7363 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/0.00818, allocations: 4 kB / 0.7363 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.62e-07/0.008181, allocations: 0 / 0.7363 GB, free: 13.04 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002843/0.008466, allocations: 463.6 kB / 0.7368 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003068/0.008772, allocations: 237.1 kB / 0.737 GB, free: 12.33 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.345e-05/0.008816, allocations: 60.52 kB / 0.737 GB, free: 12.25 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.601e-05/0.008862, allocations: 9.719 kB / 0.7371 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.255e-05/0.008904, allocations: 51.38 kB / 0.7371 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of SimCode: time 6.82e-07/0.008905, allocations: 2.75 kB / 0.7371 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of Templates: time 0.002448/0.01135, allocations: 332.6 kB / 0.7374 GB, free: 11.88 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.961059082299471]