Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001531/0.001531, allocations: 109.7 kB / 19.7 MB, free: 2.266 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.00171/0.00171, allocations: 220.1 kB / 23.01 MB, free: 4.594 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.722/2.722, allocations: 476.7 MB / 0.7714 GB, free: 4.281 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_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_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") [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.002058/0.002058, allocations: 69.92 kB / 1.119 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3524/0.3545, allocations: 170 MB / 1.285 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.002202/0.3567, allocations: 0.8381 MB / 1.285 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001326/0.3568, allocations: 43.84 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.445e-05/0.3569, allocations: 3.938 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.614e-05/0.3569, allocations: 3.938 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.839e-05/0.357, allocations: 11.86 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.164e-05/0.3571, allocations: 19.98 kB / 1.286 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001201/0.3572, allocations: 63.78 kB / 1.286 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.3573, allocations: 31.92 kB / 1.286 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.033e-05/0.3574, allocations: 35.84 kB / 1.286 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.857e-05/0.3575, allocations: 31.78 kB / 1.286 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.936e-05/0.3575, allocations: 8 kB / 1.286 GB, free: 10.19 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.828e-06/0.3575, allocations: 4 kB / 1.286 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.286e-05/0.3575, allocations: 15.94 kB / 1.286 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.661e-05/0.3576, allocations: 31.8 kB / 1.286 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000137/0.3577, allocations: 75.58 kB / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.3577, allocations: 0 / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3577, allocations: 0 / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.383e-06/0.3577, allocations: 0 / 1.286 GB, free: 10.06 MB / 0.9825 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.0004904/0.3582, allocations: 314.1 kB / 1.286 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3583, allocations: 8.031 kB / 1.286 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.196e-05/0.3583, allocations: 16.89 kB / 1.286 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002064/0.3585, allocations: 134.3 kB / 1.286 GB, free: 9.543 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.3585, allocations: 4.375 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.3586, allocations: 8.375 kB / 1.286 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001896/0.3587, allocations: 95.86 kB / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3588, allocations: 192 / 1.286 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.541e-05/0.3588, allocations: 7.938 kB / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.3588, allocations: 0 / 1.286 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.396e-05/0.3589, allocations: 43.86 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000602/0.3595, allocations: 403.8 kB / 1.287 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.752e-05/0.3595, allocations: 45.25 kB / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.663e-05/0.3596, allocations: 13.78 kB / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.234e-06/0.3596, allocations: 0 / 1.287 GB, free: 8.852 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.035e-05/0.3596, allocations: 38.56 kB / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.3596, allocations: 0 / 1.287 GB, free: 8.805 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001904/0.3598, allocations: 57.73 kB / 1.287 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.687e-05/0.3599, allocations: 81.14 kB / 1.287 GB, free: 8.645 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.36, allocations: 164.2 kB / 1.287 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.3601, allocations: 25.7 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.965e-05/0.3601, allocations: 104 kB / 1.287 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.288e-06/0.3601, allocations: 7.953 kB / 1.287 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.746e-05/0.3602, allocations: 17.72 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.3604, allocations: 318.8 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.053e-05/0.3604, allocations: 8 kB / 1.288 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.558e-05/0.3604, allocations: 25.64 kB / 1.288 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.65e-05/0.3605, allocations: 25.7 kB / 1.288 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3605, allocations: 4 kB / 1.288 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.695e-05/0.3605, allocations: 57.59 kB / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.3606, allocations: 4 kB / 1.288 GB, free: 7.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.3606, allocations: 8 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.3606, allocations: 4 kB / 1.288 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.868e-05/0.3606, allocations: 7.984 kB / 1.288 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.3607, allocations: 0 / 1.288 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.22e-05/0.3607, allocations: 11.89 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.837e-06/0.3607, allocations: 0 / 1.288 GB, free: 7.812 MB / 0.9825 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.101e-05/0.3608, allocations: 113.8 kB / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/0.3608, allocations: 7.953 kB / 1.288 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.3609, allocations: 15.75 kB / 1.288 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.3609, allocations: 4 kB / 1.288 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.3609, allocations: 7.984 kB / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.3609, allocations: 0 / 1.288 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000428/0.3613, allocations: 441.8 kB / 1.288 GB, free: 7.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.3613, allocations: 4 kB / 1.288 GB, free: 7.164 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.054e-05/0.3613, allocations: 7.875 kB / 1.288 GB, free: 7.156 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.26e-06/0.3613, allocations: 4 kB / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.3613, allocations: 64 / 1.288 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3613, allocations: 7.984 kB / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3613, allocations: 0 / 1.288 GB, free: 7.145 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001093/0.3614, allocations: 81.88 kB / 1.288 GB, free: 7.043 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.701e-05/0.3615, allocations: 11.91 kB / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.391e-05/0.3615, allocations: 0 / 1.288 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.315e-05/0.3615, allocations: 4 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.3615, allocations: 8.031 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.3615, allocations: 3.984 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 9.784e-05/0.3616, allocations: 116.3 kB / 1.289 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of sort global known variables: time 5.1e-08/0.3616, allocations: 0 / 1.289 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001918/0.3618, allocations: 8 kB / 1.289 GB, free: 6.895 MB / 0.9825 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.0001409/0.362, allocations: 103.2 kB / 1.289 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.733e-05/0.362, allocations: 12 kB / 1.289 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.362, allocations: 4.125 kB / 1.289 GB, free: 6.77 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.541e-05/0.3621, allocations: 7.938 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001626/0.3622, allocations: 11.94 kB / 1.289 GB, free: 6.75 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003847/0.3626, allocations: 182.8 kB / 1.289 GB, free: 6.531 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003557/0.363, allocations: 0.6924 MB / 1.29 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.363, allocations: 15.56 kB / 1.29 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.363, allocations: 0 / 1.29 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of Templates: time 0.002878/0.3659, allocations: 0.8656 MB / 1.29 GB, free: 4.934 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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: 10.904904792987509]