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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001153/0.001153, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.00135/0.001351, allocations: 192.2 kB / 16.14 MB, free: 6.711 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.42/1.42, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.961/2.961, allocations: 461.8 MB / 0.7342 GB, free: 15.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 68.3 kB / 0.8984 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3484, allocations: 157.4 MB / 1.052 GB, free: 8.852 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002682/0.3512, allocations: 0.9386 MB / 1.053 GB, free: 7.91 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001513/0.3513, allocations: 51.72 kB / 1.053 GB, free: 7.859 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.579e-05/0.3514, allocations: 4 kB / 1.053 GB, free: 7.855 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 6.387e-05/0.3515, allocations: 3.938 kB / 1.053 GB, free: 7.852 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.3516, allocations: 11.86 kB / 1.053 GB, free: 7.84 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.583e-05/0.3517, allocations: 16 kB / 1.053 GB, free: 7.824 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001424/0.3519, allocations: 75.69 kB / 1.053 GB, free: 7.75 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002083/0.3521, allocations: 61.06 kB / 1.053 GB, free: 7.691 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.869e-05/0.3522, allocations: 27.86 kB / 1.053 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.873e-05/0.3522, allocations: 35.73 kB / 1.053 GB, free: 7.629 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.3523, allocations: 4 kB / 1.053 GB, free: 7.625 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.462e-05/0.3523, allocations: 4 kB / 1.053 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.05e-05/0.3523, allocations: 23.86 kB / 1.053 GB, free: 7.598 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.188e-05/0.3524, allocations: 43.67 kB / 1.053 GB, free: 7.555 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.3525, allocations: 87.89 kB / 1.053 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.3526, allocations: 0 / 1.053 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of FrontEnd: time 9.82e-07/0.3526, allocations: 0 / 1.053 GB, free: 7.469 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.093e-06/0.3526, allocations: 0 / 1.053 GB, free: 7.469 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.000681/0.3533, allocations: 399.4 kB / 1.054 GB, free: 7.027 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.677e-05/0.3533, allocations: 12.03 kB / 1.054 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.144e-05/0.3534, allocations: 12.83 kB / 1.054 GB, free: 7.004 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000321/0.3537, allocations: 204.2 kB / 1.054 GB, free: 6.766 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.3537, allocations: 8.562 kB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/0.3538, allocations: 8.375 kB / 1.054 GB, free: 6.75 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002258/0.354, allocations: 105 kB / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.354, allocations: 0 / 1.054 GB, free: 6.637 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.354, allocations: 11.98 kB / 1.054 GB, free: 6.625 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.3541, allocations: 4 kB / 1.054 GB, free: 6.621 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.777e-05/0.3542, allocations: 43.86 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006839/0.3548, allocations: 472.3 kB / 1.055 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.172e-05/0.3549, allocations: 45.22 kB / 1.055 GB, free: 6 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.77e-05/0.355, allocations: 13.72 kB / 1.055 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.14e-05/0.355, allocations: 3.984 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.97e-05/0.355, allocations: 34.56 kB / 1.055 GB, free: 5.934 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.355, allocations: 4 kB / 1.055 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001778/0.3552, allocations: 57.45 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.3553, allocations: 77.11 kB / 1.055 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001741/0.3555, allocations: 178.7 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.3555, allocations: 25.7 kB / 1.055 GB, free: 5.559 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.411e-05/0.3556, allocations: 108 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.275e-06/0.3556, allocations: 7.906 kB / 1.055 GB, free: 5.441 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.3556, allocations: 17.72 kB / 1.055 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.3558, allocations: 327 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.663e-05/0.3558, allocations: 4 kB / 1.056 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.559e-05/0.3558, allocations: 25.69 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.397e-05/0.3559, allocations: 29.66 kB / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.644e-06/0.3559, allocations: 0 / 1.056 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.386e-05/0.356, allocations: 61.53 kB / 1.056 GB, free: 4.953 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.356, allocations: 12.06 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.356, allocations: 0 / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.356, allocations: 0 / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.097e-05/0.3561, allocations: 11.94 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.3561, allocations: 4 kB / 1.056 GB, free: 4.926 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.106e-05/0.3561, allocations: 12 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.985e-06/0.3561, allocations: 4 kB / 1.056 GB, free: 4.91 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 8.449e-05/0.3562, allocations: 119.3 kB / 1.056 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.484e-05/0.3563, allocations: 11.81 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.567e-05/0.3563, allocations: 20.55 kB / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3563, allocations: 0 / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3563, allocations: 0 / 1.056 GB, free: 4.758 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.3563, allocations: 3.938 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003919/0.3567, allocations: 474.8 kB / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.232e-06/0.3568, allocations: 0 / 1.056 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.863e-05/0.3568, allocations: 4 kB / 1.056 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.3568, allocations: 4.062 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.3568, allocations: 3.938 kB / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3568, allocations: 0 / 1.056 GB, free: 4.215 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.3568, allocations: 7.938 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.374e-05/0.3569, allocations: 77.89 kB / 1.056 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 6.898e-05/0.357, allocations: 92.91 kB / 1.056 GB, free: 4 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.357, allocations: 3.938 kB / 1.056 GB, free: 3.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.219e-05/0.357, allocations: 8.031 kB / 1.056 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.025e-05/0.3571, allocations: 0 / 1.056 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.3571, allocations: 0 / 1.056 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001031/0.3572, allocations: 140.8 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3572, allocations: 0 / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000185/0.3574, allocations: 11.94 kB / 1.057 GB, free: 3.84 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.0001388/0.3575, allocations: 101.8 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.827e-05/0.3576, allocations: 23.94 kB / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3576, allocations: 0 / 1.057 GB, free: 3.707 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.151e-05/0.3576, allocations: 4 kB / 1.057 GB, free: 3.703 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.3578, allocations: 8 kB / 1.057 GB, free: 3.695 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004751/0.3583, allocations: 224.7 kB / 1.057 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004453/0.3588, allocations: 0.6971 MB / 1.058 GB, free: 2.723 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.3e-05/0.3588, allocations: 16.55 kB / 1.058 GB, free: 2.707 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.991e-05/0.3589, allocations: 11.44 kB / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of SimCode: time 2e-07/0.3589, allocations: 0 / 1.058 GB, free: 2.695 MB / 0.8106 GB Notification: Performance of Templates: time 0.002658/0.3615, allocations: 496.5 kB / 1.058 GB, free: 2.211 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/jenkins/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