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.0007518/0.0007557, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000799/0.0007991, allocations: 183.3 kB / 16.92 MB, free: 6.926 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.236/1.236, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.43/2.43, allocations: 443.2 MB / 0.7181 GB, free: 1.57 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003099/0.0003099, allocations: 12.59 kB / 0.8801 GB, free: 42.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2777/0.278, allocations: 155.1 MB / 1.032 GB, free: 4.715 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001105/0.2791, allocations: 0.5968 MB / 1.032 GB, free: 4.121 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00013/0.2793, allocations: 51.78 kB / 1.032 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.976e-05/0.2794, allocations: 0 / 1.032 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.625e-05/0.2794, allocations: 7.875 kB / 1.032 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.197e-05/0.2795, allocations: 15.92 kB / 1.032 GB, free: 4.047 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 5.745e-05/0.2795, allocations: 19.98 kB / 1.032 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.2797, allocations: 71.83 kB / 1.032 GB, free: 3.957 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001579/0.2798, allocations: 45.09 kB / 1.032 GB, free: 3.91 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 5.59e-05/0.2799, allocations: 27.73 kB / 1.032 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 4.446e-05/0.2799, allocations: 23.8 kB / 1.032 GB, free: 3.859 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.823e-05/0.28, allocations: 4 kB / 1.032 GB, free: 3.855 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.774e-06/0.28, allocations: 0 / 1.032 GB, free: 3.855 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.83e-05/0.28, allocations: 11.94 kB / 1.032 GB, free: 3.844 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.157e-05/0.2801, allocations: 69.38 kB / 1.033 GB, free: 3.77 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.142e-05/0.2802, allocations: 68.06 kB / 1.033 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2802, allocations: 0 / 1.033 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2802, allocations: 0 / 1.033 GB, free: 3.703 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.408e-06/0.2802, allocations: 0 / 1.033 GB, free: 3.703 MB / 0.7794 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.0004085/0.2806, allocations: 387.3 kB / 1.033 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.2807, allocations: 8.031 kB / 1.033 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.771e-05/0.2807, allocations: 20.69 kB / 1.033 GB, free: 3.246 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002312/0.2809, allocations: 198.5 kB / 1.033 GB, free: 3.016 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.281, allocations: 12.56 kB / 1.033 GB, free: 3.004 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.281, allocations: 12.38 kB / 1.033 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/0.2812, allocations: 103.4 kB / 1.033 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.2812, allocations: 0 / 1.033 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.2812, allocations: 8 kB / 1.033 GB, free: 2.871 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.2812, allocations: 0 / 1.033 GB, free: 2.871 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.457e-05/0.2813, allocations: 43.97 kB / 1.033 GB, free: 2.828 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005426/0.2819, allocations: 484.2 kB / 1.034 GB, free: 2.301 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.301e-05/0.2819, allocations: 37.22 kB / 1.034 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.833e-05/0.282, allocations: 21.78 kB / 1.034 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.282, allocations: 0 / 1.034 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.282, allocations: 34.5 kB / 1.034 GB, free: 2.176 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.282, allocations: 4 kB / 1.034 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.000178/0.2822, allocations: 53.53 kB / 1.034 GB, free: 2.113 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.2823, allocations: 77.33 kB / 1.034 GB, free: 2.02 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.2825, allocations: 183.5 kB / 1.034 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.2825, allocations: 33.64 kB / 1.034 GB, free: 1.789 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.151e-05/0.2826, allocations: 108 kB / 1.034 GB, free: 1.68 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.05e-05/0.2826, allocations: 7.844 kB / 1.034 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/0.2826, allocations: 13.72 kB / 1.034 GB, free: 1.652 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.2828, allocations: 327.2 kB / 1.035 GB, free: 1.324 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.581e-05/0.2828, allocations: 4 kB / 1.035 GB, free: 1.32 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.177e-05/0.2828, allocations: 17.72 kB / 1.035 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.225e-05/0.2829, allocations: 33.64 kB / 1.035 GB, free: 1.258 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.2829, allocations: 0 / 1.035 GB, free: 1.258 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.401e-05/0.283, allocations: 61.52 kB / 1.035 GB, free: 1.191 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.283, allocations: 4 kB / 1.035 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.283, allocations: 0 / 1.035 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.283, allocations: 0 / 1.035 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.092e-05/0.2831, allocations: 15.92 kB / 1.035 GB, free: 1.172 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.2831, allocations: 4.062 kB / 1.035 GB, free: 1.168 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.11e-05/0.2831, allocations: 7.938 kB / 1.035 GB, free: 1.16 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/0.2831, allocations: 0 / 1.035 GB, free: 1.16 MB / 0.7794 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.355e-05/0.2832, allocations: 119.3 kB / 1.035 GB, free: 1.035 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.42e-05/0.2833, allocations: 11.81 kB / 1.035 GB, free: 1.023 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.679e-05/0.2833, allocations: 16.55 kB / 1.035 GB, free: 1.008 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2833, allocations: 0 / 1.035 GB, free: 1.008 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.2833, allocations: 4 kB / 1.035 GB, free: 1.004 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2833, allocations: 3.938 kB / 1.035 GB, free: 1 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003717/0.2837, allocations: 470.8 kB / 1.035 GB, free: 488 kB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2837, allocations: 0 / 1.035 GB, free: 488 kB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.072e-05/0.2837, allocations: 7.984 kB / 1.035 GB, free: 480 kB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.2838, allocations: 0 / 1.035 GB, free: 480 kB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.2838, allocations: 7.938 kB / 1.035 GB, free: 472 kB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2838, allocations: 0 / 1.035 GB, free: 472 kB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2838, allocations: 0 / 1.035 GB, free: 472 kB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001025/0.2839, allocations: 85.91 kB / 1.036 GB, free: 364 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-05/0.2839, allocations: 92.91 kB / 1.036 GB, free: 252 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.284, allocations: 7.938 kB / 1.036 GB, free: 244 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.962e-05/0.284, allocations: 0 / 1.036 GB, free: 244 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.128e-05/0.284, allocations: 0 / 1.036 GB, free: 244 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.284, allocations: 3.984 kB / 1.036 GB, free: 240 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001106/0.2841, allocations: 148.3 kB / 1.036 GB, free: 92 kB / 0.7794 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2841, allocations: 0 / 1.036 GB, free: 92 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001845/0.2843, allocations: 11.94 kB / 1.036 GB, free: 80 kB / 0.7794 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.0001417/0.2845, allocations: 99.25 kB / 1.036 GB, free: 15.97 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 7.406e-05/0.2846, allocations: 19.92 kB / 1.036 GB, free: 15.95 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/0.2846, allocations: 0 / 1.036 GB, free: 15.95 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.001e-05/0.2846, allocations: 4 kB / 1.036 GB, free: 15.95 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.2848, allocations: 8.25 kB / 1.036 GB, free: 15.94 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003537/0.2851, allocations: 242.2 kB / 1.036 GB, free: 15.67 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.2854, allocations: 0.7043 MB / 1.037 GB, free: 14.94 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.2854, allocations: 11.44 kB / 1.037 GB, free: 14.93 MB / 0.795 GB Notification: Performance of SimCode: time 3.4e-07/0.2854, allocations: 0 / 1.037 GB, free: 14.93 MB / 0.795 GB Notification: Performance of Templates: time 0.002154/0.2876, allocations: 0.9725 MB / 1.038 GB, free: 13.96 MB / 0.795 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