Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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.0008463/0.0008463, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001226/0.002072, allocations: 449.8 kB / 10.44 MB, free: 252 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.001533/0.001533, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001688/0.003222, allocations: 479.5 kB / 11.82 MB, free: 2.344 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.9833/0.9833, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09749/1.081, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.87/1.87, allocations: 378.4 MB / 0.6079 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5499/2.42, allocations: 123.3 MB / 0.7283 GB, free: 5.738 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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 0.7297 GB, free: 4.414 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.363e-05, allocations: 5.312 kB / 0.7297 GB, free: 4.41 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001675/0.001698, allocations: 0.8705 MB / 0.7305 GB, free: 3.574 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 9.278e-05/0.001791, allocations: 48.34 kB / 0.7306 GB, free: 3.527 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.738e-05/0.001838, allocations: 0 / 0.7306 GB, free: 3.527 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.334e-05/0.001872, allocations: 13.41 kB / 0.7306 GB, free: 3.516 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.381e-05/0.001926, allocations: 14.28 kB / 0.7306 GB, free: 3.504 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 3.859e-05/0.001964, allocations: 19.97 kB / 0.7306 GB, free: 3.484 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001141/0.002078, allocations: 61.48 kB / 0.7307 GB, free: 3.434 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000125/0.002203, allocations: 33.33 kB / 0.7307 GB, free: 3.402 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.00232, allocations: 51.05 kB / 0.7307 GB, free: 3.359 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.302e-05/0.002373, allocations: 17.53 kB / 0.7308 GB, free: 3.348 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.264e-05/0.002396, allocations: 4 kB / 0.7308 GB, free: 3.344 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.848e-06/0.002406, allocations: 4 kB / 0.7308 GB, free: 3.34 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.816e-05/0.002434, allocations: 13.69 kB / 0.7308 GB, free: 3.328 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.002461, allocations: 22.62 kB / 0.7308 GB, free: 3.309 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001096/0.002571, allocations: 39.78 kB / 0.7308 GB, free: 3.27 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.867e-05/0.002589, allocations: 0 / 0.7308 GB, free: 3.27 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.01e-07/0.00259, allocations: 0 / 0.7308 GB, free: 3.27 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.706e-05/0.002607, allocations: 0 / 0.7308 GB, free: 3.27 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.0004527/0.00306, allocations: 292.3 kB / 0.7311 GB, free: 2.957 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.003103, allocations: 8.031 kB / 0.7311 GB, free: 2.949 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.09e-05/0.003144, allocations: 13.44 kB / 0.7311 GB, free: 2.938 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001759/0.00332, allocations: 142.9 kB / 0.7313 GB, free: 2.773 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.003333, allocations: 8.375 kB / 0.7313 GB, free: 2.766 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.642e-05/0.00335, allocations: 4.375 kB / 0.7313 GB, free: 2.762 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.003469, allocations: 76.88 kB / 0.7314 GB, free: 2.676 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.003478, allocations: 1.906 kB / 0.7314 GB, free: 2.676 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.003487, allocations: 4.375 kB / 0.7314 GB, free: 2.672 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.003495, allocations: 4.375 kB / 0.7314 GB, free: 2.668 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.478e-05/0.00353, allocations: 23.86 kB / 0.7314 GB, free: 2.645 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004503/0.00398, allocations: 0.5019 MB / 0.7319 GB, free: 2.109 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 8.516e-05/0.004066, allocations: 169.6 kB / 0.732 GB, free: 1.934 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.918e-05/0.004095, allocations: 80.14 kB / 0.7321 GB, free: 1.852 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.004124, allocations: 81.06 kB / 0.7322 GB, free: 1.773 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.684e-05/0.004171, allocations: 109.8 kB / 0.7323 GB, free: 1.656 MB / 0.698 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.004172, allocations: 4 kB / 0.7323 GB, free: 1.652 MB / 0.698 GB Notification: Performance of matching and sorting (n=0): time 6.613e-05/0.004238, allocations: 25.7 kB / 0.7323 GB, free: 1.621 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.596e-05/0.004294, allocations: 131.9 kB / 0.7325 GB, free: 1.48 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001097/0.004404, allocations: 144.5 kB / 0.7326 GB, free: 1.328 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.04e-05/0.004414, allocations: 25.7 kB / 0.7326 GB, free: 1.297 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.717e-05/0.004481, allocations: 128.4 kB / 0.7327 GB, free: 1.168 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.757e-06/0.004485, allocations: 0 / 0.7327 GB, free: 1.168 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.79e-05/0.004523, allocations: 30.78 kB / 0.7328 GB, free: 1.133 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.662e-05/0.004619, allocations: 318.8 kB / 0.7331 GB, free: 0.8125 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.607e-06/0.004628, allocations: 4 kB / 0.7331 GB, free: 0.8086 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.153e-05/0.00467, allocations: 59.31 kB / 0.7331 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.484e-05/0.004744, allocations: 73.95 kB / 0.7332 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-06/0.004747, allocations: 3.938 kB / 0.7332 GB, free: 0.6289 MB / 0.698 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001145/0.004862, allocations: 71.67 kB / 0.7333 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.00488, allocations: 11.12 kB / 0.7333 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/0.004887, allocations: 1.094 kB / 0.7333 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.92e-05/0.004906, allocations: 4 kB / 0.7333 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.394e-05/0.00498, allocations: 23.92 kB / 0.7333 GB, free: 0.5195 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.581e-06/0.004986, allocations: 5.688 kB / 0.7333 GB, free: 0.5156 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.463e-05/0.00501, allocations: 7.938 kB / 0.7333 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-06/0.005018, allocations: 7.938 kB / 0.7333 GB, free: 0.5 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 9.666e-05/0.005115, allocations: 189.9 kB / 0.7335 GB, free: 312 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.564e-05/0.00516, allocations: 109 kB / 0.7336 GB, free: 196 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.088e-05/0.005211, allocations: 112.8 kB / 0.7337 GB, free: 72 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.41e-05/0.005285, allocations: 185.5 kB / 0.7339 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.584e-05/0.005341, allocations: 180.3 kB / 0.7341 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.302e-05/0.005394, allocations: 180.2 kB / 0.7343 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001675/0.005562, allocations: 342.6 kB / 0.7346 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.34e-05/0.005595, allocations: 105 kB / 0.7347 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.482e-05/0.00563, allocations: 104.9 kB / 0.7348 GB, free: 14.94 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.794e-05/0.005678, allocations: 110.2 kB / 0.7349 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.308e-05/0.005731, allocations: 180.2 kB / 0.7351 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.405e-05/0.005785, allocations: 180.3 kB / 0.7352 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.693e-05/0.005832, allocations: 180.2 kB / 0.7354 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.973e-05/0.005882, allocations: 181.7 kB / 0.7356 GB, free: 14.09 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.006, allocations: 319.7 kB / 0.7359 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.527e-05/0.006065, allocations: 180.3 kB / 0.7361 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.74e-05/0.006123, allocations: 102 kB / 0.7361 GB, free: 13.46 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.383e-05/0.006187, allocations: 184.2 kB / 0.7363 GB, free: 13.28 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.374e-05/0.00622, allocations: 105 kB / 0.7364 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.39e-05/0.006254, allocations: 31.42 kB / 0.7365 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4e-08/0.006254, allocations: 1.469 kB / 0.7365 GB, free: 13.14 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000137/0.006391, allocations: 11.95 kB / 0.7365 GB, free: 13.12 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.0001412/0.006533, allocations: 156.9 kB / 0.7366 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 9.374e-05/0.006626, allocations: 29.23 kB / 0.7366 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.006632, allocations: 0.75 kB / 0.7366 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.851e-06/0.006638, allocations: 7.984 kB / 0.7367 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.00692, allocations: 485 kB / 0.7371 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003153/0.007236, allocations: 231.9 kB / 0.7373 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.897e-05/0.007275, allocations: 57.8 kB / 0.7374 GB, free: 12.12 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.454e-05/0.007319, allocations: 9.688 kB / 0.7374 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.733e-05/0.007357, allocations: 52.38 kB / 0.7375 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of SimCode: time 4e-07/0.007357, allocations: 0 / 0.7375 GB, free: 12.06 MB / 0.7136 GB Notification: Performance of Templates: time 0.001998/0.009355, allocations: 261.9 kB / 0.7377 GB, free: 11.82 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.955367855727673]