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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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: "" <> 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.007986/0.007986, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001842/0.001842, allocations: 192.2 kB / 16.67 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.359/1.359, 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 11.1.0-master/package.mo): time 2.602/2.602, allocations: 469.4 MB / 0.7422 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.91 kB / 1.064 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6782/0.6794, allocations: 159.1 MB / 1.22 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001901/0.6814, allocations: 0.8856 MB / 1.221 GB, free: 1.43 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001413/0.6815, allocations: 47.78 kB / 1.221 GB, free: 1.383 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.015e-05/0.6816, allocations: 4 kB / 1.221 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.562e-05/0.6817, allocations: 15.8 kB / 1.221 GB, free: 1.363 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.51e-05/0.6817, allocations: 7.875 kB / 1.221 GB, free: 1.355 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.117e-05/0.6818, allocations: 27.97 kB / 1.221 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.6819, allocations: 75.78 kB / 1.221 GB, free: 1.254 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001344/0.6821, allocations: 57.06 kB / 1.221 GB, free: 1.199 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.692e-05/0.6821, allocations: 35.8 kB / 1.221 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.712e-05/0.6822, allocations: 35.8 kB / 1.221 GB, free: 1.129 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.6822, allocations: 8 kB / 1.221 GB, free: 1.121 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.121e-05/0.6822, allocations: 8 kB / 1.221 GB, free: 1.113 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.188e-05/0.6823, allocations: 19.92 kB / 1.221 GB, free: 1.094 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.577e-05/0.6823, allocations: 47.67 kB / 1.221 GB, free: 1.047 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001314/0.6824, allocations: 99.2 kB / 1.221 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.6825, allocations: 0 / 1.221 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.183e-06/0.6825, allocations: 0 / 1.221 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.6825, allocations: 0 / 1.221 GB, free: 0.9531 MB / 0.9356 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.0004248/0.6829, allocations: 407.2 kB / 1.221 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.6829, allocations: 8.625 kB / 1.221 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.797e-05/0.683, allocations: 42.73 kB / 1.222 GB, free: 456 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.592e-05/0.683, allocations: 16.84 kB / 1.222 GB, free: 440 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002042/0.6832, allocations: 204.3 kB / 1.222 GB, free: 196 kB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.6833, allocations: 8.562 kB / 1.222 GB, free: 188 kB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.6833, allocations: 4.375 kB / 1.222 GB, free: 184 kB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001682/0.6835, allocations: 111.2 kB / 1.222 GB, free: 60 kB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.6835, allocations: 7.938 kB / 1.222 GB, free: 52 kB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.6835, allocations: 4 kB / 1.222 GB, free: 48 kB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.6835, allocations: 4 kB / 1.222 GB, free: 44 kB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.324e-05/0.6836, allocations: 39.98 kB / 1.222 GB, free: 4 kB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005391/0.6841, allocations: 468.5 kB / 1.222 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 5.07e-05/0.6842, allocations: 45.16 kB / 1.222 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.176e-05/0.6842, allocations: 13.78 kB / 1.222 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.6842, allocations: 7.938 kB / 1.222 GB, free: 15.4 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.6843, allocations: 38.5 kB / 1.222 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=2): time 1.323e-06/0.6843, allocations: 0 / 1.222 GB, free: 15.36 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2): time 0.0001649/0.6845, allocations: 57.84 kB / 1.223 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/0.6845, allocations: 85.05 kB / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.6847, allocations: 183.1 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.015e-05/0.6847, allocations: 29.7 kB / 1.223 GB, free: 14.96 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.754e-05/0.6847, allocations: 112 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 6.833e-06/0.6848, allocations: 3.953 kB / 1.223 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.6848, allocations: 17.72 kB / 1.223 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.877e-05/0.6849, allocations: 322.8 kB / 1.223 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.588e-05/0.6849, allocations: 8 kB / 1.223 GB, free: 14.49 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.138e-05/0.6849, allocations: 17.72 kB / 1.223 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.884e-05/0.685, allocations: 25.92 kB / 1.223 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.685, allocations: 0 / 1.223 GB, free: 14.44 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.301e-05/0.6851, allocations: 69.58 kB / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.6851, allocations: 4 kB / 1.223 GB, free: 14.36 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.049e-06/0.6851, allocations: 8.047 kB / 1.223 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.058e-05/0.6851, allocations: 0 / 1.223 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.598e-05/0.6852, allocations: 11.98 kB / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.6852, allocations: 0 / 1.223 GB, free: 14.34 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.654e-05/0.6852, allocations: 11.89 kB / 1.223 GB, free: 14.33 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.6852, allocations: 0 / 1.223 GB, free: 14.33 MB / 0.9512 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 6.839e-05/0.6853, allocations: 125.2 kB / 1.223 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.6854, allocations: 11.95 kB / 1.224 GB, free: 14.19 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.636e-05/0.6854, allocations: 16.55 kB / 1.224 GB, free: 14.17 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.6854, allocations: 4 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.6854, allocations: 4 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.6854, allocations: 3.938 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003449/0.6858, allocations: 466.8 kB / 1.224 GB, free: 13.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.6858, allocations: 4 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.042e-05/0.6858, allocations: 3.984 kB / 1.224 GB, free: 13.63 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.6858, allocations: 7.938 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.039e-06/0.6858, allocations: 4.062 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.6858, allocations: 3.984 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.6858, allocations: 0 / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.62e-05/0.6859, allocations: 85.84 kB / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.741e-05/0.686, allocations: 85.05 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.686, allocations: 7.938 kB / 1.224 GB, free: 13.4 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.347e-05/0.686, allocations: 4.031 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.168e-05/0.686, allocations: 4 kB / 1.224 GB, free: 13.39 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.6861, allocations: 7.984 kB / 1.224 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.157e-05/0.6862, allocations: 132.2 kB / 1.224 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6862, allocations: 0 / 1.224 GB, free: 13.25 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000195/0.6864, allocations: 11.95 kB / 1.224 GB, free: 13.24 MB / 0.9512 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.0003292/0.6867, allocations: 0.6171 MB / 1.225 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.768e-05/0.6868, allocations: 19.94 kB / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.6868, allocations: 0 / 1.225 GB, free: 12.57 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.177e-05/0.6868, allocations: 7.984 kB / 1.225 GB, free: 12.56 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.687, allocations: 8 kB / 1.225 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001121/0.6881, allocations: 1.406 MB / 1.226 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000214/0.6883, allocations: 0.7078 MB / 1.227 GB, free: 10.32 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.143e-05/0.6884, allocations: 8.562 kB / 1.227 GB, free: 10.31 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/0.6884, allocations: 27.42 kB / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of SimCode: time 2.3e-07/0.6884, allocations: 0 / 1.227 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01653/0.7049, allocations: 1.733 MB / 1.229 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.029/7.734, allocations: 17.5 kB / 1.229 GB, free: 8.645 MB / 0.9512 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_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.csv","/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