Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001799/0.001799, 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.002309/0.002309, allocations: 215.8 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.518/1.518, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.786/2.786, allocations: 476 MB / 0.7707 GB, free: 4.711 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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.002159/0.002159, allocations: 65.66 kB / 1.118 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3505/0.3526, allocations: 170 MB / 1.284 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.0026/0.3552, allocations: 0.783 MB / 1.285 GB, free: 11.1 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.000166/0.3554, allocations: 47.72 kB / 1.285 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.15e-05/0.3555, allocations: 4 kB / 1.285 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.712e-05/0.3555, allocations: 11.81 kB / 1.285 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.367e-05/0.3556, allocations: 7.875 kB / 1.285 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 7.181e-05/0.3557, allocations: 23.97 kB / 1.285 GB, free: 11 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001319/0.3558, allocations: 59.84 kB / 1.285 GB, free: 10.95 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001525/0.356, allocations: 31.97 kB / 1.285 GB, free: 10.91 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.661e-05/0.356, allocations: 23.92 kB / 1.285 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.95e-05/0.3561, allocations: 27.73 kB / 1.285 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.972e-05/0.3561, allocations: 4 kB / 1.285 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.095e-05/0.3561, allocations: 8 kB / 1.285 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.76e-05/0.3562, allocations: 19.92 kB / 1.285 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.064e-05/0.3562, allocations: 23.88 kB / 1.285 GB, free: 10.81 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001565/0.3564, allocations: 79.56 kB / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3564, allocations: 0 / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3564, allocations: 0 / 1.285 GB, free: 10.73 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.291e-06/0.3564, allocations: 0 / 1.285 GB, free: 10.73 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.0005018/0.3569, allocations: 310 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.382e-05/0.3569, allocations: 12.03 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.486e-05/0.357, allocations: 8.891 kB / 1.285 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.3572, allocations: 134.4 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.728e-05/0.3572, allocations: 4.375 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.3572, allocations: 12.38 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.3574, allocations: 99.78 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.3574, allocations: 192 / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.605e-05/0.3574, allocations: 7.938 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.937e-06/0.3575, allocations: 4 kB / 1.285 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.899e-05/0.3575, allocations: 35.98 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005532/0.3581, allocations: 360.4 kB / 1.286 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.232e-05/0.3582, allocations: 37.22 kB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.71e-05/0.3582, allocations: 17.78 kB / 1.286 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.837e-06/0.3582, allocations: 4 kB / 1.286 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.3583, allocations: 38.59 kB / 1.286 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3583, allocations: 0 / 1.286 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001853/0.3584, allocations: 57.52 kB / 1.286 GB, free: 9.469 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/0.3585, allocations: 77.11 kB / 1.286 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001341/0.3587, allocations: 128.1 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.013e-05/0.3587, allocations: 29.7 kB / 1.286 GB, free: 9.207 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.778e-05/0.3588, allocations: 111.9 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.967e-06/0.3588, allocations: 4.203 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.424e-05/0.3588, allocations: 25.66 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001679/0.359, allocations: 314.8 kB / 1.287 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.443e-05/0.359, allocations: 8 kB / 1.287 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.11e-05/0.359, allocations: 25.7 kB / 1.287 GB, free: 8.703 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.618e-05/0.3591, allocations: 25.66 kB / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3591, allocations: 0 / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.797e-05/0.3592, allocations: 57.64 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3592, allocations: 4 kB / 1.287 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.3592, allocations: 8.062 kB / 1.287 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.3592, allocations: 3.938 kB / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.188e-05/0.3593, allocations: 7.938 kB / 1.287 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3593, allocations: 3.938 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.557e-05/0.3593, allocations: 4 kB / 1.287 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.3593, allocations: 0 / 1.287 GB, free: 8.578 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.769e-05/0.3594, allocations: 121.8 kB / 1.287 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.901e-05/0.3595, allocations: 7.953 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.383e-05/0.3595, allocations: 7.406 kB / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3595, allocations: 0 / 1.287 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3595, allocations: 8 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.3595, allocations: 0 / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004/0.3599, allocations: 410.5 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.3599, allocations: 3.938 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.907e-05/0.3599, allocations: 4 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3599, allocations: 0 / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.3599, allocations: 0 / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.3599, allocations: 0 / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.3599, allocations: 0 / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.36, allocations: 81.94 kB / 1.287 GB, free: 7.871 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.052e-05/0.3601, allocations: 11.97 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.311e-05/0.3601, allocations: 0 / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.924e-05/0.3601, allocations: 7.984 kB / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.269e-05/0.3601, allocations: 0 / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.3601, allocations: 0 / 1.287 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.081e-05/0.3602, allocations: 103.3 kB / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3602, allocations: 0 / 1.288 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001853/0.3604, allocations: 7.953 kB / 1.288 GB, free: 7.742 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.0001271/0.3605, allocations: 95.25 kB / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.97e-05/0.3606, allocations: 23.94 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.3606, allocations: 0 / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.639e-05/0.3606, allocations: 11.98 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001541/0.3608, allocations: 9.828 kB / 1.288 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003875/0.3612, allocations: 184.4 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.479e-05/0.3612, allocations: 87.12 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.44e-05/0.3613, allocations: 11.69 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of SimCode: time 2.71e-07/0.3613, allocations: 0 / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of Templates: time 0.002495/0.3638, allocations: 0.8045 MB / 1.289 GB, free: 6.457 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_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.977043873164803]