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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008298/0.008298, allocations: 100.8 kB / 15.87 MB, free: 5.867 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002077/0.002077, allocations: 195.8 kB / 16.79 MB, free: 5.809 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.69/2.69, allocations: 461.8 MB / 0.7348 GB, free: 14.06 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002256/0.002256, allocations: 64.17 kB / 0.899 GB, free: 36.99 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3281/0.3304, allocations: 157.4 MB / 1.053 GB, free: 8.188 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002711/0.3332, allocations: 0.9321 MB / 1.054 GB, free: 7.254 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001724/0.3334, allocations: 55.77 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.134e-05/0.3335, allocations: 4 kB / 1.054 GB, free: 7.195 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.135e-05/0.3335, allocations: 7.875 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001423/0.3337, allocations: 11.88 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.684e-05/0.3338, allocations: 19.98 kB / 1.054 GB, free: 7.156 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.3339, allocations: 71.75 kB / 1.054 GB, free: 7.086 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000159/0.334, allocations: 57.08 kB / 1.054 GB, free: 7.031 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.33e-05/0.3341, allocations: 23.81 kB / 1.054 GB, free: 7.008 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.55e-05/0.3342, allocations: 35.78 kB / 1.054 GB, free: 6.973 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.947e-05/0.3342, allocations: 7.984 kB / 1.054 GB, free: 6.965 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.152e-05/0.3342, allocations: 4 kB / 1.054 GB, free: 6.961 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 6.276e-05/0.3343, allocations: 19.92 kB / 1.054 GB, free: 6.941 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.693e-05/0.3343, allocations: 47.67 kB / 1.054 GB, free: 6.895 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.115e-05/0.3344, allocations: 64.09 kB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.3344, allocations: 0 / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3344, allocations: 0 / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.3345, allocations: 4 kB / 1.054 GB, free: 6.828 MB / 0.8106 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.0005308/0.335, allocations: 395.4 kB / 1.054 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.335, allocations: 8.031 kB / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.3351, allocations: 8.844 kB / 1.054 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.3353, allocations: 216.2 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.3354, allocations: 12.56 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.3354, allocations: 4.375 kB / 1.055 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.3356, allocations: 112.4 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.3356, allocations: 0 / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.49e-05/0.3356, allocations: 4 kB / 1.055 GB, free: 5.984 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3356, allocations: 4 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.848e-05/0.3357, allocations: 39.98 kB / 1.055 GB, free: 5.941 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006068/0.3363, allocations: 472.2 kB / 1.055 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.613e-05/0.3364, allocations: 41.2 kB / 1.055 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.537e-05/0.3364, allocations: 17.78 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.3365, allocations: 4 kB / 1.055 GB, free: 5.34 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.426e-05/0.3365, allocations: 38.5 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.313e-06/0.3365, allocations: 3.938 kB / 1.055 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.000192/0.3367, allocations: 53.5 kB / 1.055 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.255e-05/0.3368, allocations: 85.05 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001611/0.3369, allocations: 175.5 kB / 1.056 GB, free: 4.949 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.3369, allocations: 33.7 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.658e-05/0.337, allocations: 108 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.141e-05/0.337, allocations: 11.88 kB / 1.056 GB, free: 4.789 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.3371, allocations: 17.72 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.3372, allocations: 326.8 kB / 1.056 GB, free: 4.438 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.877e-05/0.3372, allocations: 8 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.226e-05/0.3372, allocations: 17.72 kB / 1.056 GB, free: 4.406 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.456e-05/0.3373, allocations: 25.72 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3373, allocations: 3.938 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.279e-05/0.3374, allocations: 61.59 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3374, allocations: 4 kB / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.96e-06/0.3374, allocations: 0 / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.3375, allocations: 0 / 1.056 GB, free: 4.301 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.904e-05/0.3375, allocations: 8 kB / 1.056 GB, free: 4.293 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.3375, allocations: 8 kB / 1.056 GB, free: 4.285 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.365e-05/0.3376, allocations: 15.78 kB / 1.056 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-06/0.3376, allocations: 3.984 kB / 1.056 GB, free: 4.266 MB / 0.8106 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 7.437e-05/0.3377, allocations: 113.8 kB / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.416e-05/0.3377, allocations: 11.81 kB / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/0.3378, allocations: 12.56 kB / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.3378, allocations: 0 / 1.056 GB, free: 4.125 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.3378, allocations: 4.219 kB / 1.056 GB, free: 4.121 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3378, allocations: 3.938 kB / 1.056 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003659/0.3382, allocations: 478.8 kB / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3382, allocations: 0 / 1.057 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.819e-05/0.3382, allocations: 4 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.3382, allocations: 0 / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.695e-06/0.3382, allocations: 7.938 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.3382, allocations: 3.984 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3382, allocations: 0 / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.303e-05/0.3383, allocations: 81.91 kB / 1.057 GB, free: 3.469 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.345e-05/0.3384, allocations: 92.91 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.3384, allocations: 7.938 kB / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.076e-05/0.3385, allocations: 0 / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.135e-05/0.3385, allocations: 0 / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-06/0.3385, allocations: 0 / 1.057 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001057/0.3386, allocations: 143.3 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3386, allocations: 0 / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001941/0.3388, allocations: 15.88 kB / 1.057 GB, free: 3.195 MB / 0.8106 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.0001263/0.3389, allocations: 99.25 kB / 1.057 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.893e-05/0.339, allocations: 15.94 kB / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.339, allocations: 0 / 1.057 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.227e-05/0.339, allocations: 7.984 kB / 1.057 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.3392, allocations: 14.5 kB / 1.057 GB, free: 3.051 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000361/0.3396, allocations: 242.2 kB / 1.058 GB, free: 2.781 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003386/0.3399, allocations: 0.7004 MB / 1.058 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.711e-05/0.34, allocations: 11.44 kB / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of SimCode: time 4.21e-07/0.34, allocations: 0 / 1.058 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of Templates: time 0.00249/0.3425, allocations: 0.9769 MB / 1.059 GB, free: 1.062 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches