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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001561/0.001561, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001798/0.001798, allocations: 196.3 kB / 16.25 MB, free: 6.625 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.917/1.917, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.98/3.98, allocations: 461.9 MB / 0.7344 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002271/0.002271, allocations: 66.95 kB / 0.8987 GB, free: 37.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3607/0.363, allocations: 157.4 MB / 1.052 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002481/0.3655, allocations: 0.9426 MB / 1.053 GB, free: 7.672 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000187/0.3658, allocations: 55.7 kB / 1.053 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.33e-05/0.3658, allocations: 0 / 1.053 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 5.099e-05/0.3659, allocations: 3.938 kB / 1.053 GB, free: 7.613 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.366, allocations: 7.938 kB / 1.053 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.734e-05/0.3661, allocations: 23.98 kB / 1.053 GB, free: 7.582 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.3663, allocations: 83.66 kB / 1.054 GB, free: 7.5 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001749/0.3665, allocations: 57.06 kB / 1.054 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.813e-05/0.3665, allocations: 27.88 kB / 1.054 GB, free: 7.418 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.614e-05/0.3666, allocations: 35.78 kB / 1.054 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.372e-05/0.3666, allocations: 12 kB / 1.054 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.516e-05/0.3667, allocations: 8 kB / 1.054 GB, free: 7.363 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.534e-05/0.3667, allocations: 23.86 kB / 1.054 GB, free: 7.34 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.848e-05/0.3667, allocations: 51.67 kB / 1.054 GB, free: 7.289 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001476/0.3669, allocations: 91.89 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.3669, allocations: 0 / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3669, allocations: 0 / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.297e-05/0.3669, allocations: 0 / 1.054 GB, free: 7.199 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.0004692/0.3674, allocations: 399.3 kB / 1.054 GB, free: 6.758 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/0.3675, allocations: 12.62 kB / 1.054 GB, free: 6.746 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.175e-05/0.3675, allocations: 42.73 kB / 1.054 GB, free: 6.695 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.474e-05/0.3676, allocations: 12.75 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000293/0.3679, allocations: 200.3 kB / 1.054 GB, free: 6.449 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/0.3679, allocations: 8.562 kB / 1.054 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.209e-05/0.3679, allocations: 8.375 kB / 1.054 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.3682, allocations: 107.3 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.3682, allocations: 0 / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.3682, allocations: 8 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.532e-06/0.3683, allocations: 4 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.959e-05/0.3684, allocations: 39.92 kB / 1.055 GB, free: 6.266 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006041/0.369, allocations: 472.3 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.04e-05/0.369, allocations: 49.14 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.519e-05/0.3691, allocations: 13.78 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.025e-06/0.3691, allocations: 0 / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.3691, allocations: 38.56 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 9.41e-07/0.3691, allocations: 0 / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001914/0.3693, allocations: 57.55 kB / 1.055 GB, free: 5.555 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.3694, allocations: 81.09 kB / 1.055 GB, free: 5.457 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.3695, allocations: 178.6 kB / 1.055 GB, free: 5.273 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.3696, allocations: 25.7 kB / 1.055 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.3697, allocations: 112 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.142e-05/0.3697, allocations: 11.83 kB / 1.056 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.971e-05/0.3697, allocations: 17.72 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3699, allocations: 319 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.752e-05/0.3699, allocations: 8 kB / 1.056 GB, free: 4.766 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.666e-05/0.3699, allocations: 25.66 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.966e-05/0.37, allocations: 21.72 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.37, allocations: 0 / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.136e-05/0.3701, allocations: 69.38 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.3701, allocations: 8.062 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.819e-06/0.3701, allocations: 4 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.638e-05/0.3701, allocations: 4 kB / 1.056 GB, free: 4.617 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.285e-05/0.3702, allocations: 4 kB / 1.056 GB, free: 4.613 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.421e-06/0.3702, allocations: 4 kB / 1.056 GB, free: 4.609 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.121e-05/0.3702, allocations: 3.938 kB / 1.056 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.272e-06/0.3703, allocations: 4 kB / 1.056 GB, free: 4.602 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.73e-05/0.3703, allocations: 117.8 kB / 1.056 GB, free: 4.477 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.525e-05/0.3704, allocations: 12.12 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.95e-05/0.3704, allocations: 20.55 kB / 1.056 GB, free: 4.449 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3704, allocations: 3.938 kB / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3704, allocations: 0 / 1.056 GB, free: 4.445 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3704, allocations: 3.938 kB / 1.056 GB, free: 4.441 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003723/0.3708, allocations: 474.8 kB / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.083e-06/0.3708, allocations: 0 / 1.057 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.251e-05/0.3709, allocations: 4 kB / 1.057 GB, free: 3.91 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.3709, allocations: 3.938 kB / 1.057 GB, free: 3.906 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.462e-06/0.3709, allocations: 4.062 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-06/0.3709, allocations: 11.92 kB / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3709, allocations: 0 / 1.057 GB, free: 3.891 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.527e-05/0.371, allocations: 73.91 kB / 1.057 GB, free: 3.797 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/0.3711, allocations: 92.91 kB / 1.057 GB, free: 3.688 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.785e-05/0.3711, allocations: 3.938 kB / 1.057 GB, free: 3.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.291e-05/0.3711, allocations: 8.031 kB / 1.057 GB, free: 3.676 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/0.3711, allocations: 4 kB / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/0.3711, allocations: 0 / 1.057 GB, free: 3.672 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001096/0.3713, allocations: 140.8 kB / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3e-07/0.3713, allocations: 0 / 1.057 GB, free: 3.535 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002012/0.3715, allocations: 11.94 kB / 1.057 GB, free: 3.523 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.0003928/0.3719, allocations: 0.6231 MB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 9.564e-05/0.372, allocations: 19.94 kB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.372, allocations: 0 / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.175e-05/0.372, allocations: 4 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002275/0.3722, allocations: 9.875 kB / 1.058 GB, free: 2.836 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001927/0.3742, allocations: 1.432 MB / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003297/0.3745, allocations: 0.6924 MB / 1.06 GB, free: 0.5898 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.738e-05/0.3746, allocations: 12.48 kB / 1.06 GB, free: 0.5781 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.866e-05/0.3747, allocations: 27.42 kB / 1.06 GB, free: 0.5508 MB / 0.8106 GB Notification: Performance of SimCode: time 4.71e-07/0.3747, allocations: 4 kB / 1.06 GB, free: 0.5469 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.123/1.498, allocations: 1.629 MB / 1.061 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003136/1.498, allocations: 214.8 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.189/3.687, allocations: 0 / 1.062 GB, free: 14.79 MB / 0.8262 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > 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