Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001683/0.001683, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002478/0.002478, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.604/1.604, allocations: 225.6 MB / 249.4 MB, free: 3.285 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.98/2.98, allocations: 496.1 MB / 0.7819 GB, free: 12.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_latest_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_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002023/0.002023, allocations: 63.91 kB / 1.136 GB, free: 12.45 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.271/1.273, allocations: 173.7 MB / 1.305 GB, free: 33.67 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.00204/1.275, allocations: 0.8947 MB / 1.306 GB, free: 33.08 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0001468/1.276, allocations: 52.25 kB / 1.306 GB, free: 33.04 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.106e-05/1.276, allocations: 2.688 kB / 1.306 GB, free: 33.04 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.548e-05/1.276, allocations: 11.81 kB / 1.306 GB, free: 33.03 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.737e-05/1.276, allocations: 14.53 kB / 1.306 GB, free: 33.02 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 5.811e-05/1.276, allocations: 21.95 kB / 1.306 GB, free: 33.01 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001276/1.276, allocations: 76.59 kB / 1.306 GB, free: 32.97 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/1.276, allocations: 56.73 kB / 1.307 GB, free: 32.94 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 5.959e-05/1.276, allocations: 35.61 kB / 1.307 GB, free: 32.92 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.026e-05/1.276, allocations: 35.8 kB / 1.307 GB, free: 32.89 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/1.276, allocations: 8.438 kB / 1.307 GB, free: 32.89 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 1.3e-05/1.276, allocations: 8.219 kB / 1.307 GB, free: 32.89 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.579e-05/1.276, allocations: 17.83 kB / 1.307 GB, free: 32.88 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.084e-05/1.276, allocations: 39.94 kB / 1.307 GB, free: 32.85 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/1.276, allocations: 105.5 kB / 1.307 GB, free: 32.8 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/1.276, allocations: 0 / 1.307 GB, free: 32.8 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.723e-06/1.276, allocations: 0 / 1.307 GB, free: 32.8 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.311e-05/1.276, allocations: 0 / 1.307 GB, free: 32.8 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.000505/1.277, allocations: 407.8 kB / 1.307 GB, free: 32.39 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/1.277, allocations: 10.34 kB / 1.307 GB, free: 32.39 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.697e-05/1.277, allocations: 14 kB / 1.307 GB, free: 32.39 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002378/1.277, allocations: 208.5 kB / 1.307 GB, free: 32.17 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/1.277, allocations: 6.25 kB / 1.307 GB, free: 32.17 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.109e-05/1.277, allocations: 9.938 kB / 1.307 GB, free: 32.16 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000171/1.277, allocations: 104.5 kB / 1.307 GB, free: 32.09 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/1.278, allocations: 0 / 1.307 GB, free: 32.09 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/1.278, allocations: 4 kB / 1.308 GB, free: 32.09 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.383e-06/1.278, allocations: 2.844 kB / 1.308 GB, free: 32.09 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.814e-05/1.278, allocations: 55.22 kB / 1.308 GB, free: 32.06 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005242/1.278, allocations: 469 kB / 1.308 GB, free: 31.64 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 5.428e-05/1.278, allocations: 39.97 kB / 1.308 GB, free: 31.59 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.53e-05/1.278, allocations: 18.84 kB / 1.308 GB, free: 31.57 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.05e-05/1.278, allocations: 3.25 kB / 1.308 GB, free: 31.57 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.702e-05/1.278, allocations: 30.56 kB / 1.308 GB, free: 31.53 MB / 1.061 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/1.278, allocations: 0 / 1.308 GB, free: 31.53 MB / 1.061 GB Notification: Performance of matching and sorting (n=2): time 0.0002035/1.278, allocations: 58.62 kB / 1.308 GB, free: 31.48 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/1.278, allocations: 83.64 kB / 1.308 GB, free: 31.38 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/1.279, allocations: 180.1 kB / 1.308 GB, free: 31.25 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/1.279, allocations: 28.92 kB / 1.308 GB, free: 31.22 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.29e-05/1.279, allocations: 102.5 kB / 1.309 GB, free: 31.12 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 8.325e-06/1.279, allocations: 6.828 kB / 1.309 GB, free: 31.12 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/1.279, allocations: 16.03 kB / 1.309 GB, free: 31.1 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.95e-05/1.279, allocations: 325 kB / 1.309 GB, free: 30.78 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.984e-05/1.279, allocations: 10.81 kB / 1.309 GB, free: 30.77 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.165e-05/1.279, allocations: 22.81 kB / 1.309 GB, free: 30.75 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.78e-05/1.279, allocations: 26.41 kB / 1.309 GB, free: 30.73 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.279, allocations: 0 / 1.309 GB, free: 30.73 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.694e-05/1.279, allocations: 63.81 kB / 1.309 GB, free: 30.68 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/1.279, allocations: 5.719 kB / 1.309 GB, free: 30.68 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.971e-06/1.279, allocations: 64 / 1.309 GB, free: 30.68 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.685e-05/1.279, allocations: 4 kB / 1.309 GB, free: 30.68 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.101e-05/1.279, allocations: 6.062 kB / 1.309 GB, free: 30.68 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.924e-06/1.279, allocations: 4.203 kB / 1.309 GB, free: 30.68 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.087e-05/1.279, allocations: 18.95 kB / 1.309 GB, free: 30.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.693e-06/1.279, allocations: 10.67 kB / 1.309 GB, free: 30.65 MB / 1.061 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 6.376e-05/1.279, allocations: 116.3 kB / 1.309 GB, free: 30.54 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.07e-05/1.279, allocations: 9.828 kB / 1.309 GB, free: 30.53 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.61e-05/1.279, allocations: 11.47 kB / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/1.279, allocations: 4 kB / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/1.279, allocations: 5.984 kB / 1.309 GB, free: 30.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/1.279, allocations: 3.938 kB / 1.309 GB, free: 30.51 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003359/1.28, allocations: 475.1 kB / 1.31 GB, free: 30.03 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/1.28, allocations: 0 / 1.31 GB, free: 30.03 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.788e-05/1.28, allocations: 6.656 kB / 1.31 GB, free: 30.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/1.28, allocations: 6.938 kB / 1.31 GB, free: 30.02 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.554e-06/1.28, allocations: 4 kB / 1.31 GB, free: 30.02 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/1.28, allocations: 4 kB / 1.31 GB, free: 30.01 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.054e-06/1.28, allocations: 3.375 kB / 1.31 GB, free: 30.01 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.943e-05/1.28, allocations: 76.12 kB / 1.31 GB, free: 29.93 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 4.005e-05/1.28, allocations: 92.06 kB / 1.31 GB, free: 29.83 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.744e-05/1.28, allocations: 7.281 kB / 1.31 GB, free: 29.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.996e-05/1.28, allocations: 0 / 1.31 GB, free: 29.82 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.377e-05/1.28, allocations: 4.031 kB / 1.31 GB, free: 29.82 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/1.28, allocations: 2.906 kB / 1.31 GB, free: 29.82 MB / 1.061 GB Notification: Performance of sorting global known variables: time 8.401e-05/1.28, allocations: 142.2 kB / 1.31 GB, free: 29.72 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.28, allocations: 0 / 1.31 GB, free: 29.72 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002044/1.28, allocations: 14.39 kB / 1.31 GB, free: 29.71 MB / 1.061 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.0001245/1.28, allocations: 108.1 kB / 1.31 GB, free: 29.62 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001393/1.28, allocations: 15.44 kB / 1.31 GB, free: 29.61 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/1.28, allocations: 4.125 kB / 1.31 GB, free: 29.61 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-05/1.28, allocations: 6.969 kB / 1.31 GB, free: 29.61 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000165/1.281, allocations: 8.438 kB / 1.31 GB, free: 29.6 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003926/1.281, allocations: 189 kB / 1.31 GB, free: 29.44 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001476/1.281, allocations: 0.7051 MB / 1.311 GB, free: 28.74 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.603e-05/1.281, allocations: 6.844 kB / 1.311 GB, free: 28.74 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.797e-05/1.281, allocations: 13.19 kB / 1.311 GB, free: 28.73 MB / 1.061 GB Notification: Performance of SimCode: time 5.51e-07/1.281, allocations: 0 / 1.311 GB, free: 28.73 MB / 1.061 GB Notification: Performance of Templates: time 0.00309/1.284, allocations: 0.5261 MB / 1.312 GB, free: 28.64 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.242795038968325]