Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_UnitConversions_Validation_To_degC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,fileNamePrefix="Buildings_10_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.007149/0.007149, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001198/0.001198, allocations: 197.5 kB / 16.68 MB, free: 5.969 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.426/2.426, allocations: 437 MB / 0.7105 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 63.91 kB / 1.018 GB, free: 9.875 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6845/0.6858, allocations: 151.6 MB / 1.166 GB, free: 3.738 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.002085/0.6879, allocations: 0.8839 MB / 1.167 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001609/0.6881, allocations: 55.78 kB / 1.167 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.169e-05/0.6882, allocations: 0 / 1.167 GB, free: 2.801 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.731e-05/0.6882, allocations: 15.8 kB / 1.167 GB, free: 2.785 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 8.1e-05/0.6883, allocations: 15.86 kB / 1.167 GB, free: 2.77 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 6.491e-05/0.6884, allocations: 27.97 kB / 1.167 GB, free: 2.742 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001086/0.6885, allocations: 75.78 kB / 1.167 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001462/0.6887, allocations: 49.09 kB / 1.167 GB, free: 2.617 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 6.081e-05/0.6887, allocations: 31.8 kB / 1.167 GB, free: 2.586 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.355e-05/0.6888, allocations: 35.8 kB / 1.167 GB, free: 2.551 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.261e-05/0.6888, allocations: 8 kB / 1.167 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.173e-05/0.6888, allocations: 8 kB / 1.167 GB, free: 2.535 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.6889, allocations: 15.92 kB / 1.167 GB, free: 2.52 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.585e-05/0.6889, allocations: 51.66 kB / 1.167 GB, free: 2.469 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.6891, allocations: 99.22 kB / 1.167 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.6891, allocations: 0 / 1.167 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.144e-06/0.6891, allocations: 0 / 1.167 GB, free: 2.375 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.6891, allocations: 0 / 1.167 GB, free: 2.375 MB / 0.8887 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.0004364/0.6895, allocations: 407.2 kB / 1.168 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.6896, allocations: 12.61 kB / 1.168 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.025e-05/0.6896, allocations: 38.75 kB / 1.168 GB, free: 1.867 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.25e-05/0.6897, allocations: 12.84 kB / 1.168 GB, free: 1.855 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002116/0.6899, allocations: 208.3 kB / 1.168 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.368e-05/0.6899, allocations: 12.56 kB / 1.168 GB, free: 1.602 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.6899, allocations: 12.31 kB / 1.168 GB, free: 1.59 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001683/0.6901, allocations: 108.4 kB / 1.168 GB, free: 1.473 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.806e-06/0.6901, allocations: 3.938 kB / 1.168 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.6901, allocations: 4 kB / 1.168 GB, free: 1.465 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.6901, allocations: 4 kB / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.833e-05/0.6902, allocations: 35.98 kB / 1.168 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005225/0.6908, allocations: 468.5 kB / 1.169 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 5.057e-05/0.6908, allocations: 41.09 kB / 1.169 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.292e-05/0.6909, allocations: 17.84 kB / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 6.702e-06/0.6909, allocations: 0 / 1.169 GB, free: 0.832 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.6909, allocations: 38.56 kB / 1.169 GB, free: 0.7852 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.6909, allocations: 3.938 kB / 1.169 GB, free: 0.7812 MB / 0.8887 GB Notification: Performance of matching and sorting (n=2): time 0.0001657/0.6911, allocations: 61.53 kB / 1.169 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.6911, allocations: 81.05 kB / 1.169 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.6913, allocations: 183.7 kB / 1.169 GB, free: 436 kB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.6913, allocations: 25.7 kB / 1.169 GB, free: 404 kB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 6.378e-05/0.6914, allocations: 116.5 kB / 1.169 GB, free: 284 kB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 1.011e-05/0.6914, allocations: 7.953 kB / 1.169 GB, free: 276 kB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.571e-05/0.6914, allocations: 21.66 kB / 1.169 GB, free: 248 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.6916, allocations: 318.8 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.805e-05/0.6916, allocations: 4 kB / 1.17 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.314e-05/0.6916, allocations: 21.7 kB / 1.17 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.108e-05/0.6917, allocations: 33.7 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.967e-06/0.6917, allocations: 4 kB / 1.17 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.126e-05/0.6918, allocations: 61.55 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.6918, allocations: 8 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.6918, allocations: 0 / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.6918, allocations: 0 / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.95e-05/0.6919, allocations: 7.984 kB / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.6919, allocations: 0 / 1.17 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.103e-05/0.6919, allocations: 7.938 kB / 1.17 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.348e-06/0.6919, allocations: 4.062 kB / 1.17 GB, free: 15.75 MB / 0.9044 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.479e-05/0.692, allocations: 125.7 kB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.623e-05/0.6921, allocations: 11.91 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.6921, allocations: 16.55 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.6921, allocations: 0 / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.6921, allocations: 0 / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.446e-06/0.6921, allocations: 3.938 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004257/0.6926, allocations: 478.8 kB / 1.17 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.6926, allocations: 3.984 kB / 1.17 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.199e-05/0.6926, allocations: 4 kB / 1.17 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.6926, allocations: 3.938 kB / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.6926, allocations: 0 / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.6926, allocations: 0 / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.6926, allocations: 4 kB / 1.17 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.021e-05/0.6927, allocations: 81.97 kB / 1.17 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.454e-05/0.6928, allocations: 92.98 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.462e-05/0.6928, allocations: 3.938 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.111e-05/0.6928, allocations: 0 / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.607e-05/0.6928, allocations: 7.984 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.294e-06/0.6928, allocations: 0 / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.82e-05/0.693, allocations: 140.8 kB / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.2e-07/0.693, allocations: 0 / 1.171 GB, free: 14.68 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0001984/0.6932, allocations: 12.03 kB / 1.171 GB, free: 14.67 MB / 0.9044 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.0003351/0.6935, allocations: 0.6248 MB / 1.171 GB, free: 14.01 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 8.516e-05/0.6936, allocations: 24.03 kB / 1.171 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.6936, allocations: 0 / 1.171 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.235e-05/0.6936, allocations: 7.984 kB / 1.171 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001613/0.6938, allocations: 11.94 kB / 1.171 GB, free: 13.96 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.695, allocations: 1.401 MB / 1.173 GB, free: 12.47 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000236/0.6953, allocations: 0.7002 MB / 1.173 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 3.423e-05/0.6953, allocations: 8.562 kB / 1.173 GB, free: 11.74 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.287e-05/0.6954, allocations: 27.42 kB / 1.173 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of SimCode: time 2.2e-07/0.6954, allocations: 0 / 1.173 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.7152, allocations: 1.732 MB / 1.175 GB, free: 10.08 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.045/7.76, allocations: 12.72 kB / 1.175 GB, free: 10.07 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.sim & python3 -m fmpy simulate --output-file Buildings_10_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_10_Buildings_Controls_OBC_UnitConversions_Validation_To_degC.fmu > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches