Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001741/0.001741, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002198/0.002198, allocations: 215.4 kB / 22.99 MB, free: 4.945 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.551/1.551, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.306/3.306, allocations: 0.5107 GB / 0.8166 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002244/0.002244, allocations: 70.98 kB / 1.187 GB, free: 13.49 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3605, allocations: 181.9 MB / 1.365 GB, free: 13.54 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002218/0.3627, allocations: 0.7984 MB / 1.365 GB, free: 12.74 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001239/0.3628, allocations: 43.8 kB / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.393e-05/0.3629, allocations: 0 / 1.365 GB, free: 12.7 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.075e-05/0.3629, allocations: 7.875 kB / 1.365 GB, free: 12.69 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.507e-05/0.363, allocations: 11.92 kB / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.414e-05/0.3631, allocations: 15.98 kB / 1.365 GB, free: 12.66 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.3632, allocations: 67.77 kB / 1.366 GB, free: 12.59 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001377/0.3633, allocations: 27.98 kB / 1.366 GB, free: 12.57 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 6.253e-05/0.3634, allocations: 27.86 kB / 1.366 GB, free: 12.54 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.543e-05/0.3635, allocations: 27.78 kB / 1.366 GB, free: 12.51 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.916e-05/0.3635, allocations: 8 kB / 1.366 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.798e-06/0.3635, allocations: 4 kB / 1.366 GB, free: 12.5 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.084e-05/0.3635, allocations: 15.94 kB / 1.366 GB, free: 12.48 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.3635, allocations: 23.86 kB / 1.366 GB, free: 12.46 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001327/0.3637, allocations: 83.52 kB / 1.366 GB, free: 12.38 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3637, allocations: 0 / 1.366 GB, free: 12.38 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.844e-06/0.3637, allocations: 0 / 1.366 GB, free: 12.38 MB / 1.061 GB Notification: Performance of Transformations before backend: time 9.218e-06/0.3637, allocations: 0 / 1.366 GB, free: 12.38 MB / 1.061 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.0004487/0.3641, allocations: 302 kB / 1.366 GB, free: 12.05 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.72e-05/0.3642, allocations: 12.03 kB / 1.366 GB, free: 12.04 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.3642, allocations: 12.84 kB / 1.366 GB, free: 12.03 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.3644, allocations: 134.3 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/0.3644, allocations: 12.38 kB / 1.366 GB, free: 11.86 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.987e-05/0.3644, allocations: 12.38 kB / 1.366 GB, free: 11.85 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.3646, allocations: 89.89 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.3646, allocations: 192 / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.509e-05/0.3646, allocations: 7.938 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.3646, allocations: 4 kB / 1.366 GB, free: 11.74 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.209e-05/0.3647, allocations: 39.86 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005176/0.3652, allocations: 356.4 kB / 1.367 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.892e-05/0.3653, allocations: 37.28 kB / 1.367 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.002e-05/0.3654, allocations: 25.83 kB / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.312e-05/0.3654, allocations: 4 kB / 1.367 GB, free: 11.23 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.3654, allocations: 30.56 kB / 1.367 GB, free: 11.19 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.3654, allocations: 0 / 1.367 GB, free: 11.19 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0001777/0.3656, allocations: 57.53 kB / 1.367 GB, free: 11.12 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.3656, allocations: 81.11 kB / 1.367 GB, free: 11.03 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001372/0.3658, allocations: 123.7 kB / 1.367 GB, free: 10.9 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.711e-05/0.3658, allocations: 29.7 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.394e-05/0.3659, allocations: 112.2 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.051e-05/0.3659, allocations: 7.953 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.3659, allocations: 21.7 kB / 1.367 GB, free: 10.71 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.3661, allocations: 314.8 kB / 1.367 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/0.3661, allocations: 7.938 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.644e-05/0.3661, allocations: 21.7 kB / 1.368 GB, free: 10.36 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.467e-05/0.3662, allocations: 25.72 kB / 1.368 GB, free: 10.33 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.3662, allocations: 0 / 1.368 GB, free: 10.33 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.785e-05/0.3662, allocations: 49.64 kB / 1.368 GB, free: 10.28 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.3663, allocations: 8.062 kB / 1.368 GB, free: 10.27 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.3663, allocations: 11.98 kB / 1.368 GB, free: 10.26 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.3663, allocations: 7.922 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.848e-05/0.3663, allocations: 4 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.3663, allocations: 0 / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.691e-05/0.3664, allocations: 7.953 kB / 1.368 GB, free: 10.24 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.757e-06/0.3664, allocations: 0 / 1.368 GB, free: 10.24 MB / 1.061 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 9.44e-05/0.3665, allocations: 118.9 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.862e-05/0.3665, allocations: 4 kB / 1.368 GB, free: 10.11 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.492e-05/0.3665, allocations: 15.34 kB / 1.368 GB, free: 10.09 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.3666, allocations: 11.98 kB / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3666, allocations: 0 / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.3666, allocations: 0 / 1.368 GB, free: 10.07 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003943/0.367, allocations: 410.5 kB / 1.368 GB, free: 9.629 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.367, allocations: 3.938 kB / 1.368 GB, free: 9.625 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.39e-05/0.367, allocations: 12.02 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/0.367, allocations: 3.984 kB / 1.368 GB, free: 9.609 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.121e-06/0.367, allocations: 0 / 1.368 GB, free: 9.609 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.367, allocations: 0 / 1.368 GB, free: 9.609 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.367, allocations: 0 / 1.368 GB, free: 9.609 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.313e-05/0.3671, allocations: 82 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.539e-05/0.3671, allocations: 11.88 kB / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.66e-05/0.3671, allocations: 4 kB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.768e-05/0.3671, allocations: 0 / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.628e-05/0.3672, allocations: 0 / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-06/0.3672, allocations: 0 / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.675e-05/0.3672, allocations: 109.5 kB / 1.368 GB, free: 9.387 MB / 1.061 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3672, allocations: 3.938 kB / 1.368 GB, free: 9.383 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001885/0.3674, allocations: 11.95 kB / 1.368 GB, free: 9.371 MB / 1.061 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.3675, allocations: 99.27 kB / 1.368 GB, free: 9.266 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 9.229e-05/0.3676, allocations: 16 kB / 1.369 GB, free: 9.25 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3676, allocations: 0 / 1.369 GB, free: 9.25 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.421e-05/0.3676, allocations: 7.938 kB / 1.369 GB, free: 9.242 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001478/0.3678, allocations: 9.484 kB / 1.369 GB, free: 9.234 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000348/0.3681, allocations: 176.5 kB / 1.369 GB, free: 9.02 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.892e-05/0.3682, allocations: 87.38 kB / 1.369 GB, free: 8.914 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.81e-05/0.3682, allocations: 11.44 kB / 1.369 GB, free: 8.902 MB / 1.061 GB Notification: Performance of SimCode: time 3.21e-07/0.3682, allocations: 0 / 1.369 GB, free: 8.902 MB / 1.061 GB Notification: Performance of Templates: time 0.002455/0.3707, allocations: 0.8024 MB / 1.37 GB, free: 8.102 MB / 1.061 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.140027784742415]