Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.00165/0.00165, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002029/0.002029, allocations: 209.2 kB / 23 MB, free: 4.57 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.559/1.559, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.867/2.867, allocations: 476.7 MB / 0.7714 GB, free: 4.309 MB / 0.6231 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.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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.002087/0.002087, allocations: 66.27 kB / 1.119 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3859/0.388, allocations: 170 MB / 1.285 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002151/0.3902, allocations: 0.8955 MB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001408/0.3903, allocations: 55.81 kB / 1.286 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.418e-05/0.3904, allocations: 7.938 kB / 1.286 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.158e-05/0.3904, allocations: 15.8 kB / 1.286 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.019e-05/0.3905, allocations: 11.88 kB / 1.286 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.858e-05/0.3906, allocations: 19.98 kB / 1.286 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001311/0.3907, allocations: 83.77 kB / 1.286 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001467/0.3908, allocations: 45.2 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.404e-05/0.3909, allocations: 35.8 kB / 1.286 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.55e-05/0.391, allocations: 35.8 kB / 1.286 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.391, allocations: 8 kB / 1.286 GB, free: 10.04 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.391, allocations: 8 kB / 1.286 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.483e-05/0.391, allocations: 15.92 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.124e-05/0.3911, allocations: 47.67 kB / 1.286 GB, free: 9.969 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001419/0.3912, allocations: 95.55 kB / 1.286 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.3912, allocations: 7.938 kB / 1.286 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.023e-06/0.3912, allocations: 0 / 1.286 GB, free: 9.867 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.76e-06/0.3912, allocations: 0 / 1.286 GB, free: 9.867 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004658/0.3917, allocations: 330 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.3917, allocations: 8.031 kB / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.3918, allocations: 8.891 kB / 1.286 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002291/0.392, allocations: 146.5 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.264e-06/0.392, allocations: 4.562 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.28e-05/0.392, allocations: 12.38 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.3922, allocations: 111.5 kB / 1.287 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.3922, allocations: 0 / 1.287 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.3922, allocations: 0 / 1.287 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.446e-06/0.3922, allocations: 4 kB / 1.287 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.602e-05/0.3923, allocations: 43.92 kB / 1.287 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005686/0.3929, allocations: 443.5 kB / 1.287 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 6.25e-05/0.393, allocations: 37.09 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.625e-05/0.393, allocations: 18.06 kB / 1.287 GB, free: 8.586 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.393, allocations: 4 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.393, allocations: 38.5 kB / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 1.332e-06/0.393, allocations: 0 / 1.287 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001757/0.3932, allocations: 53.58 kB / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.111e-05/0.3933, allocations: 81.11 kB / 1.287 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000188/0.3935, allocations: 183.3 kB / 1.287 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.3935, allocations: 29.7 kB / 1.287 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.927e-05/0.3936, allocations: 108 kB / 1.288 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.073e-05/0.3936, allocations: 8.203 kB / 1.288 GB, free: 8.035 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.212e-05/0.3936, allocations: 17.72 kB / 1.288 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3937, allocations: 326.8 kB / 1.288 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.949e-05/0.3938, allocations: 8 kB / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.376e-05/0.3938, allocations: 17.66 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.399e-05/0.3938, allocations: 25.72 kB / 1.288 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.3938, allocations: 4 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.399e-05/0.3939, allocations: 61.58 kB / 1.288 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.3939, allocations: 10.12 kB / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3939, allocations: 0 / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.394, allocations: 0 / 1.288 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-05/0.394, allocations: 8 kB / 1.288 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.394, allocations: 0 / 1.288 GB, free: 7.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.72e-05/0.3941, allocations: 23.81 kB / 1.288 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.3941, allocations: 0 / 1.288 GB, free: 7.512 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 8.691e-05/0.3942, allocations: 117.9 kB / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.382e-05/0.3942, allocations: 11.91 kB / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.952e-05/0.3942, allocations: 12.5 kB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3942, allocations: 0 / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.7e-06/0.3942, allocations: 4 kB / 1.288 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.3943, allocations: 7.922 kB / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004096/0.3947, allocations: 441.9 kB / 1.289 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3947, allocations: 8.062 kB / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.607e-05/0.3947, allocations: 0 / 1.289 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.3947, allocations: 4 kB / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.3947, allocations: 11.86 kB / 1.289 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.3947, allocations: 0 / 1.289 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3947, allocations: 96 / 1.289 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.864e-05/0.3948, allocations: 81.94 kB / 1.289 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.226e-05/0.3948, allocations: 23.83 kB / 1.289 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.3948, allocations: 3.938 kB / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.003e-05/0.3949, allocations: 0 / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.524e-05/0.3949, allocations: 0 / 1.289 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.3949, allocations: 4 kB / 1.289 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001151/0.395, allocations: 140.3 kB / 1.289 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.395, allocations: 4 kB / 1.289 GB, free: 6.566 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001818/0.3952, allocations: 8 kB / 1.289 GB, free: 6.559 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.0001076/0.3953, allocations: 99.22 kB / 1.289 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.573e-05/0.3954, allocations: 16 kB / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3954, allocations: 0 / 1.289 GB, free: 6.434 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.47e-05/0.3954, allocations: 11.92 kB / 1.289 GB, free: 6.422 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001606/0.3955, allocations: 13.48 kB / 1.289 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.3959, allocations: 196.6 kB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.3962, allocations: 0.7078 MB / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.239e-05/0.3963, allocations: 11.44 kB / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.3963, allocations: 0 / 1.29 GB, free: 5.438 MB / 0.9825 GB Notification: Performance of Templates: time 0.002931/0.3992, allocations: 0.998 MB / 1.291 GB, free: 4.441 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 11.14301090099616]