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.001774/0.001774, allocations: 81.42 kB / 19.18 MB, free: 2.527 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.002171/0.002171, allocations: 168.5 kB / 22.46 MB, free: 5.359 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.537/1.537, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.726/2.726, allocations: 359 MB / 0.6037 GB, free: 15.02 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.204e-06/2.204e-06, allocations: 0 / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.343e-05/3.564e-05, allocations: 2.281 kB / 0.951 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.003256/0.003292, allocations: 0.8323 MB / 0.9518 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0002371/0.003529, allocations: 63.7 kB / 0.9519 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.61e-05/0.003615, allocations: 0 / 0.9519 GB, free: 10.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 6.537e-05/0.00368, allocations: 7.875 kB / 0.9519 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000128/0.003808, allocations: 23.8 kB / 0.9519 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 9.459e-05/0.003903, allocations: 19.98 kB / 0.9519 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.00023/0.004133, allocations: 79.77 kB / 0.952 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.004341, allocations: 37.28 kB / 0.952 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.004478, allocations: 51.83 kB / 0.9521 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.024e-05/0.004548, allocations: 23.89 kB / 0.9521 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.091e-05/0.004589, allocations: 8 kB / 0.9521 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.8e-05/0.004607, allocations: 8 kB / 0.9521 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.424e-05/0.004641, allocations: 19.94 kB / 0.9521 GB, free: 10.43 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.827e-05/0.0047, allocations: 31.84 kB / 0.9521 GB, free: 10.4 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.004908, allocations: 99.59 kB / 0.9522 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.004911, allocations: 0 / 0.9522 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.12e-07/0.004912, allocations: 0 / 0.9522 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.004923, allocations: 0 / 0.9522 GB, free: 10.3 MB / 0.8575 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.0006403/0.005564, allocations: 326 kB / 0.9526 GB, free: 9.949 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.005616, allocations: 12.03 kB / 0.9526 GB, free: 9.938 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.891e-05/0.005675, allocations: 12.84 kB / 0.9526 GB, free: 9.926 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003028/0.005978, allocations: 141.8 kB / 0.9527 GB, free: 9.762 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.005992, allocations: 16.5 kB / 0.9527 GB, free: 9.746 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.961e-05/0.006021, allocations: 8.375 kB / 0.9527 GB, free: 9.738 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.006289, allocations: 108.2 kB / 0.9528 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.006302, allocations: 0 / 0.9528 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.937e-05/0.006321, allocations: 4 kB / 0.9528 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.006328, allocations: 0 / 0.9528 GB, free: 9.617 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001447/0.006473, allocations: 43.92 kB / 0.9529 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007601/0.007233, allocations: 380.2 kB / 0.9532 GB, free: 9.168 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.69e-05/0.00733, allocations: 41.09 kB / 0.9533 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.826e-05/0.007388, allocations: 29.77 kB / 0.9533 GB, free: 9.074 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.121e-05/0.007399, allocations: 4 kB / 0.9533 GB, free: 9.07 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.874e-05/0.007438, allocations: 30.56 kB / 0.9533 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.007439, allocations: 0 / 0.9533 GB, free: 9.031 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0002533/0.007693, allocations: 53.58 kB / 0.9534 GB, free: 8.973 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.843e-05/0.007761, allocations: 81.11 kB / 0.9535 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001989/0.00796, allocations: 136 kB / 0.9536 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.008061, allocations: 25.92 kB / 0.9536 GB, free: 8.703 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.008175, allocations: 120.3 kB / 0.9537 GB, free: 8.578 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.604e-05/0.008191, allocations: 19.89 kB / 0.9538 GB, free: 8.559 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.00824, allocations: 13.72 kB / 0.9538 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0002068/0.008446, allocations: 318.8 kB / 0.9541 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.979e-05/0.008476, allocations: 7.984 kB / 0.9541 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.626e-05/0.008512, allocations: 17.72 kB / 0.9541 GB, free: 8.188 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.247e-05/0.008585, allocations: 29.66 kB / 0.9541 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.008587, allocations: 0 / 0.9541 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000142/0.008729, allocations: 61.58 kB / 0.9542 GB, free: 8.086 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.008746, allocations: 8.062 kB / 0.9542 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.008751, allocations: 0 / 0.9542 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.008768, allocations: 0 / 0.9542 GB, free: 8.078 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.099e-05/0.008849, allocations: 8 kB / 0.9542 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.279e-06/0.008854, allocations: 0 / 0.9542 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.598e-05/0.00889, allocations: 0 / 0.9542 GB, free: 8.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-06/0.008899, allocations: 4 kB / 0.9542 GB, free: 8.066 MB / 0.8575 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.0001358/0.009035, allocations: 117.8 kB / 0.9543 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.559e-05/0.00911, allocations: 11.94 kB / 0.9543 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.716e-05/0.009138, allocations: 7.812 kB / 0.9543 GB, free: 7.926 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-06/0.009143, allocations: 8 kB / 0.9544 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.009149, allocations: 0 / 0.9544 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.009152, allocations: 0 / 0.9544 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00062/0.009772, allocations: 422.4 kB / 0.9548 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.009778, allocations: 4 kB / 0.9548 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-05/0.009801, allocations: 0 / 0.9548 GB, free: 7.457 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.185e-06/0.00981, allocations: 7.984 kB / 0.9548 GB, free: 7.449 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.108e-05/0.009821, allocations: 4 kB / 0.9548 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.009822, allocations: 0 / 0.9548 GB, free: 7.445 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.009826, allocations: 3.938 kB / 0.9548 GB, free: 7.441 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.009953, allocations: 77.95 kB / 0.9548 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.25e-05/0.009985, allocations: 11.94 kB / 0.9549 GB, free: 7.332 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.01001, allocations: 4 kB / 0.9549 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.864e-05/0.01004, allocations: 0 / 0.9549 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.779e-05/0.01006, allocations: 0 / 0.9549 GB, free: 7.328 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.01007, allocations: 7.875 kB / 0.9549 GB, free: 7.32 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001274/0.01019, allocations: 105.3 kB / 0.955 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.01019, allocations: 0 / 0.955 GB, free: 7.219 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003523/0.01055, allocations: 27.83 kB / 0.955 GB, free: 7.191 MB / 0.8575 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.0001496/0.0107, allocations: 99.27 kB / 0.9551 GB, free: 7.086 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.01082, allocations: 23.94 kB / 0.9551 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.01082, allocations: 0 / 0.9551 GB, free: 7.062 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.02e-05/0.01084, allocations: 4 kB / 0.9551 GB, free: 7.059 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.01109, allocations: 4 kB / 0.9551 GB, free: 7.055 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004836/0.01157, allocations: 174.6 kB / 0.9553 GB, free: 6.855 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001504/0.01173, allocations: 102.2 kB / 0.9554 GB, free: 6.738 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.027e-05/0.01177, allocations: 4 kB / 0.9554 GB, free: 6.734 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/0.0118, allocations: 16.48 kB / 0.9554 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of SimCode: time 3.51e-07/0.0118, allocations: 0 / 0.9554 GB, free: 6.719 MB / 0.8575 GB Notification: Performance of Templates: time 0.004293/0.0161, allocations: 342.6 kB / 0.9557 GB, free: 6.391 MB / 0.8575 GB " [Timeout remaining time 300] 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/jenkins/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: 8.14345245435834]