Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001614/0.001614, allocations: 80.44 kB / 19.18 MB, free: 2.527 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.001696/0.001696, allocations: 164.7 kB / 22.46 MB, free: 5.355 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.466/1.466, allocations: 177.1 MB / 202.8 MB, free: 9.16 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.688/2.688, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.951 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.38e-05/3.57e-05, allocations: 2.281 kB / 0.951 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.00195/0.001986, allocations: 0.7862 MB / 0.9518 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001314/0.002117, allocations: 43.78 kB / 0.9518 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.568e-05/0.002173, allocations: 4 kB / 0.9518 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.401e-05/0.002217, allocations: 7.875 kB / 0.9518 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.217e-05/0.002299, allocations: 7.875 kB / 0.9518 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 5.186e-05/0.002351, allocations: 23.97 kB / 0.9518 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001405/0.002491, allocations: 59.84 kB / 0.9519 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000156/0.002647, allocations: 31.97 kB / 0.9519 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.00275, allocations: 43.78 kB / 0.952 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.344e-05/0.002823, allocations: 19.92 kB / 0.952 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.638e-05/0.00285, allocations: 11.98 kB / 0.952 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.002863, allocations: 8 kB / 0.952 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.286e-05/0.002886, allocations: 11.92 kB / 0.952 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.973e-05/0.002925, allocations: 23.92 kB / 0.952 GB, free: 10.44 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001371/0.003062, allocations: 71.7 kB / 0.9521 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.424e-06/0.003065, allocations: 0 / 0.9521 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of FrontEnd: time 5.01e-07/0.003065, allocations: 0 / 0.9521 GB, free: 10.37 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.00307, allocations: 0 / 0.9521 GB, free: 10.37 MB / 0.8575 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.00053/0.0036, allocations: 306 kB / 0.9524 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.185e-05/0.003652, allocations: 8.031 kB / 0.9524 GB, free: 10.03 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.408e-05/0.003696, allocations: 12.89 kB / 0.9524 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002283/0.003925, allocations: 137.6 kB / 0.9526 GB, free: 9.855 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.518e-05/0.00394, allocations: 4.375 kB / 0.9526 GB, free: 9.852 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.387e-05/0.003954, allocations: 8.375 kB / 0.9526 GB, free: 9.844 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.00414, allocations: 90.14 kB / 0.9527 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.00415, allocations: 192 / 0.9527 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.004166, allocations: 8.375 kB / 0.9527 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.581e-06/0.004171, allocations: 4.312 kB / 0.9527 GB, free: 9.734 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.294e-05/0.004254, allocations: 47.78 kB / 0.9527 GB, free: 9.688 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005647/0.004819, allocations: 352.4 kB / 0.953 GB, free: 9.309 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.786e-05/0.004897, allocations: 45.27 kB / 0.9531 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.063e-05/0.004938, allocations: 21.84 kB / 0.9531 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 8.245e-06/0.004946, allocations: 0 / 0.9531 GB, free: 9.219 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.004978, allocations: 30.56 kB / 0.9531 GB, free: 9.18 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.004979, allocations: 3.938 kB / 0.9531 GB, free: 9.176 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001749/0.005154, allocations: 41.7 kB / 0.9532 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.42e-05/0.005228, allocations: 89.03 kB / 0.9533 GB, free: 9.023 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001409/0.005369, allocations: 137.3 kB / 0.9534 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.005394, allocations: 29.95 kB / 0.9534 GB, free: 8.848 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 8.094e-05/0.005475, allocations: 107.9 kB / 0.9535 GB, free: 8.738 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.251e-05/0.005487, allocations: 11.94 kB / 0.9535 GB, free: 8.727 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.441e-05/0.005522, allocations: 13.72 kB / 0.9536 GB, free: 8.707 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.005688, allocations: 318.8 kB / 0.9539 GB, free: 8.387 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.739e-05/0.005706, allocations: 4 kB / 0.9539 GB, free: 8.383 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.617e-05/0.005732, allocations: 21.7 kB / 0.9539 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.502e-05/0.005777, allocations: 21.72 kB / 0.9539 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.005778, allocations: 0 / 0.9539 GB, free: 8.328 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.854e-05/0.005867, allocations: 65.58 kB / 0.954 GB, free: 8.258 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.005882, allocations: 8 kB / 0.954 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.005887, allocations: 0 / 0.954 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.605e-05/0.005903, allocations: 0 / 0.954 GB, free: 8.25 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.247e-05/0.005965, allocations: 4 kB / 0.954 GB, free: 8.246 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.005975, allocations: 7.938 kB / 0.954 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.339e-05/0.005998, allocations: 0 / 0.954 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.597e-06/0.006002, allocations: 0 / 0.954 GB, free: 8.238 MB / 0.8575 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 0.0001007/0.006103, allocations: 117.8 kB / 0.9541 GB, free: 8.113 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.006144, allocations: 8.016 kB / 0.9541 GB, free: 8.105 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.006172, allocations: 19.45 kB / 0.9541 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-06/0.006173, allocations: 0 / 0.9541 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.006178, allocations: 0 / 0.9541 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.006184, allocations: 7.938 kB / 0.9541 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004109/0.006595, allocations: 418.4 kB / 0.9545 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.006596, allocations: 0 / 0.9545 GB, free: 7.625 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.062e-05/0.006617, allocations: 4 kB / 0.9545 GB, free: 7.621 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.006619, allocations: 3.938 kB / 0.9545 GB, free: 7.617 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.037e-05/0.006629, allocations: 3.938 kB / 0.9545 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.00663, allocations: 64 / 0.9545 GB, free: 7.613 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.006631, allocations: 8 kB / 0.9546 GB, free: 7.605 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.225e-05/0.006723, allocations: 73.94 kB / 0.9546 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.194e-05/0.006745, allocations: 11.89 kB / 0.9546 GB, free: 7.5 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.006759, allocations: 7.875 kB / 0.9546 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.745e-05/0.006776, allocations: 96 / 0.9546 GB, free: 7.492 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.693e-05/0.006793, allocations: 3.984 kB / 0.9546 GB, free: 7.488 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.278e-06/0.006798, allocations: 4 kB / 0.9546 GB, free: 7.484 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.167e-05/0.006879, allocations: 99.27 kB / 0.9547 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of sort global known variables: time 7e-08/0.006879, allocations: 0 / 0.9547 GB, free: 7.387 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001925/0.007072, allocations: 8 kB / 0.9548 GB, free: 7.379 MB / 0.8575 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.0001107/0.007183, allocations: 99.27 kB / 0.9548 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001002/0.007283, allocations: 19.94 kB / 0.9549 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.007284, allocations: 0 / 0.9549 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-05/0.007297, allocations: 8 kB / 0.9549 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001545/0.007451, allocations: 4 kB / 0.9549 GB, free: 7.242 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003697/0.007821, allocations: 166.7 kB / 0.955 GB, free: 7.043 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.058e-05/0.007912, allocations: 83.44 kB / 0.9551 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.809e-05/0.00794, allocations: 3.984 kB / 0.9551 GB, free: 6.938 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.095e-05/0.007971, allocations: 12.5 kB / 0.9551 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of SimCode: time 6.81e-07/0.007971, allocations: 0 / 0.9551 GB, free: 6.926 MB / 0.8575 GB Notification: Performance of Templates: time 0.003082/0.01105, allocations: 331 kB / 0.9554 GB, free: 6.609 MB / 0.8575 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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: 7.894125148653984]