Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/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_10_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_10_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.001676/0.001676, allocations: 115.2 kB / 16.37 MB, free: 6 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.001888/0.001889, allocations: 193.2 kB / 17.31 MB, free: 5.602 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.639/2.639, allocations: 437.1 MB / 0.7112 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 64.38 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.2987, allocations: 151.6 MB / 1.019 GB, free: 9.855 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002106/0.3008, allocations: 0.8776 MB / 1.02 GB, free: 8.973 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001309/0.3009, allocations: 59.7 kB / 1.02 GB, free: 8.914 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.521e-05/0.301, allocations: 11.88 kB / 1.02 GB, free: 8.902 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.392e-05/0.3011, allocations: 7.875 kB / 1.02 GB, free: 8.895 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.187e-05/0.3011, allocations: 15.86 kB / 1.02 GB, free: 8.879 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 7.249e-05/0.3012, allocations: 19.98 kB / 1.02 GB, free: 8.859 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.3013, allocations: 83.67 kB / 1.02 GB, free: 8.777 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.3015, allocations: 57.08 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.136e-05/0.3016, allocations: 35.81 kB / 1.02 GB, free: 8.684 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 5.345e-05/0.3016, allocations: 31.78 kB / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.3016, allocations: 8 kB / 1.02 GB, free: 8.645 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.905e-05/0.3017, allocations: 8 kB / 1.02 GB, free: 8.637 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.53e-05/0.3017, allocations: 27.91 kB / 1.02 GB, free: 8.609 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.172e-05/0.3017, allocations: 43.67 kB / 1.02 GB, free: 8.566 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.3019, allocations: 99.55 kB / 1.02 GB, free: 8.469 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.3019, allocations: 7.938 kB / 1.02 GB, free: 8.461 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.744e-06/0.3019, allocations: 0 / 1.02 GB, free: 8.461 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.875e-06/0.3019, allocations: 0 / 1.02 GB, free: 8.461 MB / 0.795 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.0004352/0.3023, allocations: 391.3 kB / 1.021 GB, free: 8.027 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3024, allocations: 8.922 kB / 1.021 GB, free: 8.02 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.347e-05/0.3024, allocations: 12.84 kB / 1.021 GB, free: 8.008 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001904/0.3026, allocations: 200.3 kB / 1.021 GB, free: 7.773 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.3026, allocations: 12.56 kB / 1.021 GB, free: 7.762 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.3027, allocations: 4.375 kB / 1.021 GB, free: 7.758 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001672/0.3028, allocations: 113.3 kB / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.3028, allocations: 0 / 1.021 GB, free: 7.637 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.3029, allocations: 4 kB / 1.021 GB, free: 7.633 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3029, allocations: 4 kB / 1.021 GB, free: 7.629 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.318e-05/0.303, allocations: 43.97 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005328/0.3035, allocations: 468.3 kB / 1.021 GB, free: 7.074 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 4.912e-05/0.3036, allocations: 37.22 kB / 1.021 GB, free: 7.02 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.154e-05/0.3036, allocations: 17.94 kB / 1.021 GB, free: 6.996 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 9.668e-06/0.3036, allocations: 4 kB / 1.021 GB, free: 6.992 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.649e-05/0.3037, allocations: 42.5 kB / 1.021 GB, free: 6.941 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3037, allocations: 0 / 1.021 GB, free: 6.941 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.000159/0.3038, allocations: 61.44 kB / 1.022 GB, free: 6.875 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.3039, allocations: 77.11 kB / 1.022 GB, free: 6.781 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001693/0.304, allocations: 175.8 kB / 1.022 GB, free: 6.598 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.3041, allocations: 29.7 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.204e-05/0.3042, allocations: 112.3 kB / 1.022 GB, free: 6.449 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 7.714e-06/0.3042, allocations: 7.906 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-05/0.3042, allocations: 17.72 kB / 1.022 GB, free: 6.418 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001027/0.3043, allocations: 326.8 kB / 1.022 GB, free: 6.09 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.605e-05/0.3043, allocations: 4 kB / 1.022 GB, free: 6.086 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.779e-05/0.3044, allocations: 25.64 kB / 1.022 GB, free: 6.055 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.851e-05/0.3044, allocations: 29.66 kB / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.3044, allocations: 0 / 1.022 GB, free: 6.02 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.767e-05/0.3045, allocations: 57.61 kB / 1.022 GB, free: 5.957 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.3045, allocations: 4 kB / 1.022 GB, free: 5.953 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.3045, allocations: 3.984 kB / 1.022 GB, free: 5.949 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.3046, allocations: 3.938 kB / 1.022 GB, free: 5.945 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.311e-05/0.3046, allocations: 8 kB / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.3046, allocations: 0 / 1.022 GB, free: 5.938 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.368e-05/0.3047, allocations: 19.78 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.008e-06/0.3047, allocations: 64 / 1.022 GB, free: 5.918 MB / 0.795 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.646e-05/0.3048, allocations: 117.8 kB / 1.022 GB, free: 5.793 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.433e-05/0.3048, allocations: 11.81 kB / 1.022 GB, free: 5.781 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.367e-05/0.3048, allocations: 16.55 kB / 1.023 GB, free: 5.77 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.3048, allocations: 4.094 kB / 1.023 GB, free: 5.766 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.3049, allocations: 3.984 kB / 1.023 GB, free: 5.762 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3049, allocations: 3.938 kB / 1.023 GB, free: 5.758 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004621/0.3053, allocations: 474.8 kB / 1.023 GB, free: 5.23 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.3053, allocations: 4 kB / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.698e-05/0.3054, allocations: 0 / 1.023 GB, free: 5.227 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.3054, allocations: 4 kB / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.3054, allocations: 3.938 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3054, allocations: 0 / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3054, allocations: 0 / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.3055, allocations: 89.89 kB / 1.023 GB, free: 5.109 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.181e-05/0.3056, allocations: 92.86 kB / 1.023 GB, free: 5 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.459e-05/0.3056, allocations: 3.938 kB / 1.023 GB, free: 4.996 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.222e-05/0.3056, allocations: 3.984 kB / 1.023 GB, free: 4.992 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.023e-05/0.3056, allocations: 4 kB / 1.023 GB, free: 4.988 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.247e-06/0.3056, allocations: 4 kB / 1.023 GB, free: 4.984 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001062/0.3058, allocations: 132.8 kB / 1.023 GB, free: 4.855 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3058, allocations: 0 / 1.023 GB, free: 4.855 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001837/0.306, allocations: 15.97 kB / 1.023 GB, free: 4.84 MB / 0.795 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.000104/0.3061, allocations: 103.2 kB / 1.023 GB, free: 4.73 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 7.592e-05/0.3061, allocations: 19.94 kB / 1.023 GB, free: 4.711 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3062, allocations: 0 / 1.023 GB, free: 4.711 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.141e-05/0.3062, allocations: 8 kB / 1.023 GB, free: 4.703 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001525/0.3063, allocations: 8 kB / 1.023 GB, free: 4.695 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003523/0.3067, allocations: 183.3 kB / 1.024 GB, free: 4.492 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002945/0.307, allocations: 0.7002 MB / 1.024 GB, free: 3.766 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.345e-05/0.307, allocations: 8.547 kB / 1.024 GB, free: 3.758 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.686e-05/0.3071, allocations: 15.38 kB / 1.024 GB, free: 3.742 MB / 0.795 GB Notification: Performance of SimCode: time 3.21e-07/0.3071, allocations: 4 kB / 1.024 GB, free: 3.738 MB / 0.795 GB Notification: Performance of Templates: time 0.002767/0.3098, allocations: 0.5004 MB / 1.025 GB, free: 3.238 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches