Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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.0014/0.0014, allocations: 78.64 kB / 19.76 MB, free: 2.035 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.00149/0.00149, allocations: 159.3 kB / 23.01 MB, free: 4.941 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.462/1.462, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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.776/2.776, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 GB " [Timeout remaining time 176] 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_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") [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.002326/0.002326, allocations: 59.91 kB / 0.9515 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3226, allocations: 169.9 MB / 1.117 GB, free: 2.516 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_degC): time 0.002191/0.3248, allocations: 0.8438 MB / 1.118 GB, free: 1.672 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001567/0.3249, allocations: 51.78 kB / 1.118 GB, free: 1.621 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.327e-05/0.325, allocations: 4 kB / 1.118 GB, free: 1.617 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.697e-05/0.325, allocations: 15.8 kB / 1.118 GB, free: 1.602 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.461e-05/0.3251, allocations: 11.86 kB / 1.118 GB, free: 1.59 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 6.469e-05/0.3252, allocations: 23.97 kB / 1.118 GB, free: 1.566 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.3253, allocations: 79.78 kB / 1.118 GB, free: 1.488 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001817/0.3255, allocations: 41.2 kB / 1.119 GB, free: 1.449 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.911e-05/0.3256, allocations: 31.86 kB / 1.119 GB, free: 1.418 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.585e-05/0.3256, allocations: 31.8 kB / 1.119 GB, free: 1.387 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.152e-05/0.3257, allocations: 8 kB / 1.119 GB, free: 1.379 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.577e-05/0.3257, allocations: 12 kB / 1.119 GB, free: 1.367 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.619e-05/0.3257, allocations: 23.84 kB / 1.119 GB, free: 1.344 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 5.335e-05/0.3258, allocations: 35.8 kB / 1.119 GB, free: 1.309 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001802/0.326, allocations: 99.48 kB / 1.119 GB, free: 1.211 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.326, allocations: 0 / 1.119 GB, free: 1.211 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.513e-06/0.326, allocations: 0 / 1.119 GB, free: 1.211 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.926e-06/0.326, allocations: 0 / 1.119 GB, free: 1.211 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0006183/0.3266, allocations: 330 kB / 1.119 GB, free: 0.8555 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.697e-05/0.3266, allocations: 8.031 kB / 1.119 GB, free: 0.8477 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.793e-05/0.3267, allocations: 16.88 kB / 1.119 GB, free: 0.832 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.3269, allocations: 146.4 kB / 1.119 GB, free: 0.6641 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.3269, allocations: 8.562 kB / 1.119 GB, free: 0.6562 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.3269, allocations: 8.375 kB / 1.119 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.3271, allocations: 105.8 kB / 1.119 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.3271, allocations: 0 / 1.119 GB, free: 0.5352 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.478e-05/0.3271, allocations: 8 kB / 1.119 GB, free: 0.5273 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3271, allocations: 0 / 1.119 GB, free: 0.5273 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.196e-05/0.3272, allocations: 43.92 kB / 1.119 GB, free: 496 kB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005523/0.3278, allocations: 380.2 kB / 1.12 GB, free: 80 kB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.582e-05/0.3279, allocations: 41.38 kB / 1.12 GB, free: 20 kB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.471e-05/0.3279, allocations: 21.77 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.3279, allocations: 3.938 kB / 1.12 GB, free: 15.99 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.328, allocations: 38.56 kB / 1.12 GB, free: 15.94 MB / 1.076 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.328, allocations: 0 / 1.12 GB, free: 15.94 MB / 1.076 GB Notification: Performance of matching and sorting (n=2): time 0.0001861/0.3281, allocations: 45.64 kB / 1.12 GB, free: 15.89 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.487e-05/0.3282, allocations: 77.11 kB / 1.12 GB, free: 15.8 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001701/0.3284, allocations: 144.9 kB / 1.12 GB, free: 15.65 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.77e-05/0.3284, allocations: 25.7 kB / 1.12 GB, free: 15.62 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.3285, allocations: 124.3 kB / 1.12 GB, free: 15.49 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 7.965e-06/0.3285, allocations: 3.953 kB / 1.12 GB, free: 15.48 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.3285, allocations: 17.72 kB / 1.12 GB, free: 15.46 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.3287, allocations: 326.8 kB / 1.121 GB, free: 15.13 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.924e-05/0.3287, allocations: 7.938 kB / 1.121 GB, free: 15.12 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.682e-05/0.3288, allocations: 17.72 kB / 1.121 GB, free: 15.1 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.723e-05/0.3288, allocations: 25.7 kB / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.3288, allocations: 0 / 1.121 GB, free: 15.07 MB / 1.076 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001074/0.3289, allocations: 65.62 kB / 1.121 GB, free: 15 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/0.3289, allocations: 4 kB / 1.121 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.15e-06/0.3289, allocations: 0 / 1.121 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.3289, allocations: 0 / 1.121 GB, free: 15 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.697e-05/0.329, allocations: 11.98 kB / 1.121 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.481e-06/0.329, allocations: 0 / 1.121 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.404e-05/0.329, allocations: 0 / 1.121 GB, free: 14.98 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.618e-06/0.3291, allocations: 7.938 kB / 1.121 GB, free: 14.98 MB / 1.076 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.0001168/0.3292, allocations: 113.8 kB / 1.121 GB, free: 14.86 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.3292, allocations: 3.953 kB / 1.121 GB, free: 14.85 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.426e-05/0.3292, allocations: 11.81 kB / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3292, allocations: 4.031 kB / 1.121 GB, free: 14.84 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.3292, allocations: 8 kB / 1.121 GB, free: 14.83 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3293, allocations: 4.078 kB / 1.121 GB, free: 14.82 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004237/0.3297, allocations: 418.4 kB / 1.121 GB, free: 14.37 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3297, allocations: 0 / 1.121 GB, free: 14.37 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.43e-05/0.3297, allocations: 11.88 kB / 1.121 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3297, allocations: 0 / 1.121 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.3297, allocations: 4 kB / 1.121 GB, free: 14.36 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.721e-06/0.3297, allocations: 3.938 kB / 1.121 GB, free: 14.35 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.3297, allocations: 64 / 1.121 GB, free: 14.35 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001046/0.3298, allocations: 85.88 kB / 1.121 GB, free: 14.25 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.656e-05/0.3298, allocations: 7.953 kB / 1.121 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.3299, allocations: 0 / 1.121 GB, free: 14.24 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.009e-05/0.3299, allocations: 3.938 kB / 1.121 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.373e-05/0.3299, allocations: 7.984 kB / 1.121 GB, free: 14.23 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.3299, allocations: 0 / 1.121 GB, free: 14.23 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.967e-05/0.33, allocations: 103.3 kB / 1.121 GB, free: 14.12 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.33, allocations: 3.938 kB / 1.121 GB, free: 14.12 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0001965/0.3302, allocations: 19.89 kB / 1.121 GB, free: 14.1 MB / 1.076 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.0001305/0.3303, allocations: 99.28 kB / 1.122 GB, free: 13.99 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 9.588e-05/0.3304, allocations: 19.98 kB / 1.122 GB, free: 13.97 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3304, allocations: 0 / 1.122 GB, free: 13.97 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 1.298e-05/0.3304, allocations: 7.938 kB / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.3306, allocations: 6.5 kB / 1.122 GB, free: 13.96 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000386/0.331, allocations: 186.5 kB / 1.122 GB, free: 13.75 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.738e-05/0.331, allocations: 88.53 kB / 1.122 GB, free: 13.64 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 3.286e-05/0.3311, allocations: 7.984 kB / 1.122 GB, free: 13.64 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.633e-05/0.3311, allocations: 8.5 kB / 1.122 GB, free: 13.62 MB / 1.076 GB Notification: Performance of SimCode: time 4.71e-07/0.3311, allocations: 0 / 1.122 GB, free: 13.62 MB / 1.076 GB Notification: Performance of Templates: time 0.002844/0.334, allocations: 348 kB / 1.122 GB, free: 13.29 MB / 1.076 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.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: 8.704328352003358]