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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.0009377/0.0009376, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 183.4 kB / 16.92 MB, free: 6.922 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.391/1.391, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.678/2.678, allocations: 437.8 MB / 0.7128 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003781/0.0003784, allocations: 8 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6794/0.6798, allocations: 153.8 MB / 1.024 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_degC): time 0.001349/0.6813, allocations: 0.5938 MB / 1.024 GB, free: 15.28 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000199/0.6815, allocations: 51.72 kB / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.501e-05/0.6816, allocations: 0 / 1.024 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.044e-05/0.6816, allocations: 7.922 kB / 1.024 GB, free: 15.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001028/0.6817, allocations: 7.938 kB / 1.024 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 6.913e-05/0.6818, allocations: 23.98 kB / 1.024 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001322/0.6819, allocations: 71.83 kB / 1.024 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001656/0.6821, allocations: 53.02 kB / 1.024 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.892e-05/0.6822, allocations: 27.81 kB / 1.025 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.097e-05/0.6823, allocations: 19.8 kB / 1.025 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.6823, allocations: 4 kB / 1.025 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 9.268e-06/0.6823, allocations: 0 / 1.025 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.334e-05/0.6823, allocations: 15.92 kB / 1.025 GB, free: 15 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.677e-05/0.6824, allocations: 57.45 kB / 1.025 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.6825, allocations: 69.8 kB / 1.025 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.6825, allocations: 3.938 kB / 1.025 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.694e-06/0.6825, allocations: 0 / 1.025 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.766e-06/0.6825, allocations: 0 / 1.025 GB, free: 14.87 MB / 0.7794 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.0004629/0.683, allocations: 393 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.321e-05/0.6831, allocations: 8.031 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.999e-05/0.6831, allocations: 16.75 kB / 1.025 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.6834, allocations: 196.3 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.6834, allocations: 12.56 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.6834, allocations: 8.375 kB / 1.025 GB, free: 14.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001961/0.6836, allocations: 110.2 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.904e-06/0.6836, allocations: 0 / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.6837, allocations: 15.98 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.201e-06/0.6837, allocations: 0 / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.22e-05/0.6838, allocations: 39.98 kB / 1.025 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006412/0.6844, allocations: 468.2 kB / 1.026 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 5.875e-05/0.6845, allocations: 41.16 kB / 1.026 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.917e-05/0.6845, allocations: 29.77 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/0.6846, allocations: 3.938 kB / 1.026 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.264e-05/0.6846, allocations: 30.56 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 1.282e-06/0.6846, allocations: 224 / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001889/0.6848, allocations: 57.55 kB / 1.026 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.8e-05/0.6848, allocations: 81.05 kB / 1.026 GB, free: 13.18 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001999/0.685, allocations: 186.7 kB / 1.026 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.6851, allocations: 25.7 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.174e-05/0.6851, allocations: 108 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.07e-05/0.6852, allocations: 7.906 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.735e-05/0.6852, allocations: 13.72 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.6853, allocations: 331 kB / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.911e-05/0.6854, allocations: 0 / 1.027 GB, free: 12.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.462e-05/0.6854, allocations: 25.7 kB / 1.027 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.508e-05/0.6855, allocations: 25.66 kB / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.6855, allocations: 0 / 1.027 GB, free: 12.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.106e-05/0.6856, allocations: 61.59 kB / 1.027 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.6856, allocations: 8.062 kB / 1.027 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.6856, allocations: 0 / 1.027 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.6856, allocations: 0 / 1.027 GB, free: 12.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.626e-05/0.6857, allocations: 11.94 kB / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.6857, allocations: 0 / 1.027 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.76e-05/0.6857, allocations: 11.78 kB / 1.027 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.529e-06/0.6858, allocations: 4 kB / 1.027 GB, free: 12.32 MB / 0.7794 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 9.062e-05/0.6858, allocations: 113.8 kB / 1.027 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.6859, allocations: 11.81 kB / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.612e-05/0.6859, allocations: 20.55 kB / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.6859, allocations: 0 / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.686, allocations: 0 / 1.027 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.686, allocations: 7.938 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003949/0.6864, allocations: 470.8 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.6864, allocations: 0 / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.071e-05/0.6864, allocations: 4 kB / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.6864, allocations: 64 / 1.027 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.784e-05/0.6864, allocations: 11.94 kB / 1.028 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.6864, allocations: 0 / 1.028 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6864, allocations: 0 / 1.028 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.393e-05/0.6865, allocations: 81.83 kB / 1.028 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.019e-05/0.6866, allocations: 92.91 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.763e-05/0.6866, allocations: 7.938 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.425e-05/0.6867, allocations: 4.031 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/0.6867, allocations: 3.938 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.59e-06/0.6867, allocations: 11.94 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000108/0.6868, allocations: 132.3 kB / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6868, allocations: 0 / 1.028 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001939/0.687, allocations: 8 kB / 1.028 GB, free: 11.25 MB / 0.7794 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.0001311/0.6872, allocations: 104 kB / 1.028 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.226e-05/0.6872, allocations: 19.94 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.6873, allocations: 0 / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.111e-05/0.6873, allocations: 4 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.6875, allocations: 14.39 kB / 1.028 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003761/0.6878, allocations: 238.5 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003036/0.6882, allocations: 0.7004 MB / 1.029 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.6882, allocations: 15.38 kB / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of SimCode: time 4.01e-07/0.6882, allocations: 0 / 1.029 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of Templates: time 0.002622/0.6908, allocations: 0.9691 MB / 1.03 GB, free: 9.125 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (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 & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/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