Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_9_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.007861/0.007861, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001906/0.001906, allocations: 196.6 kB / 16.67 MB, free: 5.52 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.216/2.216, allocations: 390.3 MB / 0.6648 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 67.91 kB / 0.9504 GB, free: 8.082 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6702/0.6714, allocations: 140.4 MB / 1.087 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001879/0.6733, allocations: 0.8791 MB / 1.088 GB, free: 4.66 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.000117/0.6735, allocations: 54.81 kB / 1.088 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.477e-05/0.6735, allocations: 1.969 kB / 1.088 GB, free: 4.617 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.609e-05/0.6736, allocations: 13.64 kB / 1.088 GB, free: 4.605 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.051e-05/0.6736, allocations: 10.06 kB / 1.088 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 6.084e-05/0.6737, allocations: 22.95 kB / 1.088 GB, free: 4.586 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000104/0.6738, allocations: 80.42 kB / 1.089 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.674, allocations: 49.58 kB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.691e-05/0.674, allocations: 37.81 kB / 1.089 GB, free: 4.496 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.162e-05/0.6741, allocations: 35.91 kB / 1.089 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.6741, allocations: 8.062 kB / 1.089 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.15e-05/0.6741, allocations: 8.469 kB / 1.089 GB, free: 4.473 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.285e-05/0.6741, allocations: 28.94 kB / 1.089 GB, free: 4.449 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.738e-05/0.6742, allocations: 38.98 kB / 1.089 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001274/0.6743, allocations: 98.67 kB / 1.089 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.6743, allocations: 0 / 1.089 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6743, allocations: 0 / 1.089 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.53e-06/0.6743, allocations: 1.031 kB / 1.089 GB, free: 4.379 MB / 0.8575 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.0003724/0.6747, allocations: 400.1 kB / 1.089 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.6748, allocations: 14.11 kB / 1.089 GB, free: 3.973 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.392e-05/0.6748, allocations: 43.92 kB / 1.089 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.6748, allocations: 13.97 kB / 1.089 GB, free: 3.918 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.675, allocations: 204.5 kB / 1.089 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.675, allocations: 13.09 kB / 1.089 GB, free: 3.695 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.877e-05/0.6751, allocations: 13.8 kB / 1.089 GB, free: 3.688 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.6752, allocations: 109.2 kB / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.6752, allocations: 0 / 1.09 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.157e-05/0.6753, allocations: 6.672 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.6753, allocations: 1.969 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.021e-05/0.6754, allocations: 44.61 kB / 1.09 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004496/0.6758, allocations: 468.9 kB / 1.09 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.893e-05/0.6759, allocations: 42.38 kB / 1.09 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.098e-05/0.6759, allocations: 21.03 kB / 1.09 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.242e-06/0.6759, allocations: 0 / 1.09 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.246e-05/0.6759, allocations: 36.14 kB / 1.09 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.6759, allocations: 1.094 kB / 1.09 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001471/0.6761, allocations: 49.39 kB / 1.09 GB, free: 3.012 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.6761, allocations: 86.73 kB / 1.09 GB, free: 2.91 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000144/0.6763, allocations: 193.2 kB / 1.09 GB, free: 2.77 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.55e-06/0.6763, allocations: 26.73 kB / 1.091 GB, free: 2.738 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.264e-05/0.6763, allocations: 108.7 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.663e-06/0.6763, allocations: 5.516 kB / 1.091 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.699e-05/0.6764, allocations: 18.56 kB / 1.091 GB, free: 2.613 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.372e-05/0.6764, allocations: 325.5 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.75e-05/0.6764, allocations: 7.375 kB / 1.091 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.684e-05/0.6765, allocations: 20.3 kB / 1.091 GB, free: 2.27 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.573e-05/0.6765, allocations: 27.3 kB / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.6765, allocations: 0 / 1.091 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.272e-05/0.6766, allocations: 62.3 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.6766, allocations: 5.219 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.6766, allocations: 1.125 kB / 1.091 GB, free: 2.199 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.6766, allocations: 5.156 kB / 1.091 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.506e-05/0.6767, allocations: 6.672 kB / 1.091 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.6767, allocations: 5.109 kB / 1.091 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.094e-05/0.6767, allocations: 13.97 kB / 1.091 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.6768, allocations: 6.672 kB / 1.091 GB, free: 2.176 MB / 0.8575 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 4.726e-05/0.6768, allocations: 116 kB / 1.091 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.272e-05/0.6769, allocations: 13.73 kB / 1.091 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.415e-05/0.6769, allocations: 14.39 kB / 1.091 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.6769, allocations: 5.062 kB / 1.091 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.6769, allocations: 1.156 kB / 1.091 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.6769, allocations: 4.453 kB / 1.091 GB, free: 2.039 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/0.6772, allocations: 472 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.6772, allocations: 1.375 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.924e-05/0.6772, allocations: 3.25 kB / 1.092 GB, free: 1.559 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.6772, allocations: 4.859 kB / 1.092 GB, free: 1.555 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.6772, allocations: 5.609 kB / 1.092 GB, free: 1.551 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.6772, allocations: 5.125 kB / 1.092 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.6772, allocations: 0 / 1.092 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.93e-05/0.6773, allocations: 82.66 kB / 1.092 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.394e-05/0.6773, allocations: 91.36 kB / 1.092 GB, free: 1.359 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.6774, allocations: 9.125 kB / 1.092 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.275e-05/0.6774, allocations: 1.609 kB / 1.092 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.431e-05/0.6774, allocations: 5.719 kB / 1.092 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-06/0.6774, allocations: 1.188 kB / 1.092 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 8.609e-05/0.6775, allocations: 133.8 kB / 1.092 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.6775, allocations: 0 / 1.092 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001915/0.6777, allocations: 11.56 kB / 1.092 GB, free: 1.254 MB / 0.8575 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.0002885/0.678, allocations: 0.614 MB / 1.093 GB, free: 16.64 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 8.265e-05/0.6781, allocations: 19.91 kB / 1.093 GB, free: 16.63 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.6781, allocations: 0 / 1.093 GB, free: 16.63 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.165e-05/0.6781, allocations: 7.922 kB / 1.093 GB, free: 16.63 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001536/0.6783, allocations: 13.09 kB / 1.093 GB, free: 16.62 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.6794, allocations: 1.401 MB / 1.094 GB, free: 15.38 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002153/0.6796, allocations: 0.6968 MB / 1.095 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.415e-05/0.6797, allocations: 12.89 kB / 1.095 GB, free: 14.68 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.6797, allocations: 31.48 kB / 1.095 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.6797, allocations: 0 / 1.095 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01544/0.6952, allocations: 1.72 MB / 1.096 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.108/7.803, allocations: 10.88 kB / 1.096 GB, free: 14.26 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_9_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches