Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.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 12.0.0-master/package.mo", uses=false) 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_degF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degF,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001626/0.001626, allocations: 195.8 kB / 16.14 MB, free: 6.645 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.431/1.431, allocations: 222.9 MB / 239.8 MB, free: 4.496 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.882/2.882, allocations: 472.6 MB / 0.7447 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 72.14 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.358/0.3596, allocations: 159.9 MB / 1.068 GB, free: 10.87 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degF): time 0.002329/0.362, allocations: 0.933 MB / 1.068 GB, free: 9.934 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001497/0.3622, allocations: 47.78 kB / 1.069 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.629e-05/0.3623, allocations: 0 / 1.069 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.826e-05/0.3623, allocations: 7.922 kB / 1.069 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001021/0.3625, allocations: 7.938 kB / 1.069 GB, free: 9.871 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.405e-05/0.3625, allocations: 23.98 kB / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.3626, allocations: 71.78 kB / 1.069 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.3628, allocations: 57.06 kB / 1.069 GB, free: 9.723 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.764e-05/0.3629, allocations: 43.73 kB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.754e-05/0.363, allocations: 27.8 kB / 1.069 GB, free: 9.652 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.363, allocations: 4 kB / 1.069 GB, free: 9.648 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.107e-05/0.363, allocations: 8 kB / 1.069 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.197e-05/0.363, allocations: 15.92 kB / 1.069 GB, free: 9.625 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.47e-05/0.3631, allocations: 39.67 kB / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001117/0.3632, allocations: 91.89 kB / 1.069 GB, free: 9.496 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.3632, allocations: 7.984 kB / 1.069 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.072e-06/0.3632, allocations: 0 / 1.069 GB, free: 9.488 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.469e-06/0.3632, allocations: 4 kB / 1.069 GB, free: 9.484 MB / 0.8262 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.0004467/0.3637, allocations: 395.4 kB / 1.069 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.3637, allocations: 8.031 kB / 1.069 GB, free: 9.039 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.535e-05/0.3638, allocations: 16.75 kB / 1.069 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.364, allocations: 202.3 kB / 1.069 GB, free: 8.789 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.364, allocations: 4.562 kB / 1.069 GB, free: 8.785 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.4e-05/0.3641, allocations: 8.375 kB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001772/0.3642, allocations: 116.8 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.3643, allocations: 0 / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.497e-05/0.3643, allocations: 4 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.3643, allocations: 0 / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.088e-05/0.3644, allocations: 43.98 kB / 1.07 GB, free: 8.605 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005964/0.365, allocations: 480.3 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.888e-05/0.3651, allocations: 57.14 kB / 1.07 GB, free: 8.008 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.615e-05/0.3651, allocations: 25.78 kB / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.927e-06/0.3651, allocations: 0 / 1.07 GB, free: 7.977 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.3652, allocations: 38.56 kB / 1.07 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 2.134e-06/0.3652, allocations: 3.984 kB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0001931/0.3654, allocations: 69.53 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.294e-05/0.3654, allocations: 81.05 kB / 1.07 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.3656, allocations: 171.2 kB / 1.071 GB, free: 7.57 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.652e-05/0.3656, allocations: 25.7 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.413e-05/0.3657, allocations: 116.2 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.26e-05/0.3657, allocations: 11.75 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.3657, allocations: 17.72 kB / 1.071 GB, free: 7.387 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3658, allocations: 330.8 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.239e-05/0.3659, allocations: 8 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.776e-05/0.3659, allocations: 25.7 kB / 1.071 GB, free: 7.016 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.125e-05/0.366, allocations: 33.72 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.366, allocations: 4 kB / 1.071 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.941e-05/0.3661, allocations: 69.53 kB / 1.071 GB, free: 6.898 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3661, allocations: 4 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.3661, allocations: 0 / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.3661, allocations: 4 kB / 1.071 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.26e-05/0.3662, allocations: 11.98 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.15e-06/0.3662, allocations: 0 / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.482e-05/0.3663, allocations: 3.906 kB / 1.071 GB, free: 6.875 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.009e-06/0.3663, allocations: 4 kB / 1.071 GB, free: 6.871 MB / 0.8262 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 (6): * Single equations (assignments): 6 * 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.912e-05/0.3664, allocations: 129.7 kB / 1.071 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.3664, allocations: 7.906 kB / 1.071 GB, free: 6.727 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.066e-05/0.3665, allocations: 16.55 kB / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3665, allocations: 224 / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.3665, allocations: 0 / 1.071 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.3665, allocations: 7.938 kB / 1.071 GB, free: 6.703 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004312/0.3669, allocations: 0.5042 MB / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3669, allocations: 0 / 1.072 GB, free: 6.129 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.193e-05/0.367, allocations: 11.94 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.367, allocations: 0 / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.367, allocations: 11.92 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.367, allocations: 0 / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.367, allocations: 0 / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.3671, allocations: 107.6 kB / 1.072 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.257e-05/0.3672, allocations: 85.02 kB / 1.072 GB, free: 5.871 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.222e-05/0.3672, allocations: 11.92 kB / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.843e-05/0.3672, allocations: 0 / 1.072 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.274e-05/0.3673, allocations: 8 kB / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.336e-06/0.3673, allocations: 128 / 1.072 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.869e-05/0.3674, allocations: 128.9 kB / 1.072 GB, free: 5.727 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3674, allocations: 4 kB / 1.072 GB, free: 5.723 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001975/0.3676, allocations: 15.91 kB / 1.072 GB, free: 5.707 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (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 Backend phase and start with SimCode phase: time 0.0001166/0.3677, allocations: 95.25 kB / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.339e-05/0.3678, allocations: 40.14 kB / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3678, allocations: 0 / 1.072 GB, free: 5.562 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2e-05/0.3678, allocations: 11.94 kB / 1.072 GB, free: 5.551 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001908/0.368, allocations: 16.12 kB / 1.072 GB, free: 5.535 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000414/0.3685, allocations: 238.2 kB / 1.073 GB, free: 5.266 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.3687, allocations: 0.6965 MB / 1.073 GB, free: 4.543 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.286e-05/0.3688, allocations: 8.547 kB / 1.073 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.709e-05/0.3688, allocations: 15.44 kB / 1.073 GB, free: 4.52 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3688, allocations: 4 kB / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of Templates: time 0.002674/0.3715, allocations: 492.4 kB / 1.074 GB, free: 4.035 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_degF.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degF.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches