Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_degC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.339/1.339, allocations: 251.9 MB / 266.9 MB, free: 11.01 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001104/0.001104, allocations: 177.1 kB / 326.5 MB, free: 2.266 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.876/1.876, allocations: 205.4 MB / 0.5775 GB, free: 20.29 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009047/0.0009045, allocations: 97.88 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000323/0.0003231, allocations: 10.06 kB / 0.7962 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.288, allocations: 106.3 MB / 0.9001 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1909/0.479, allocations: 131.4 MB / 1.028 GB, free: 12.35 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002533/0.4793, allocations: 59.97 kB / 1.029 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002912/0.4822, allocations: 1.216 MB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.473e-06/0.4822, allocations: 4 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.676e-06/0.4823, allocations: 224 / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004085/0.4827, allocations: 390.8 kB / 1.03 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.4827, allocations: 11.97 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.861e-05/0.4828, allocations: 11.91 kB / 1.03 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001823/0.483, allocations: 197 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.483, allocations: 8 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.483, allocations: 8 kB / 1.03 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.4832, allocations: 93.56 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.4832, allocations: 7.938 kB / 1.03 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.4833, allocations: 3.984 kB / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.922e-06/0.4833, allocations: 0 / 1.03 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001033/0.4834, allocations: 43.98 kB / 1.03 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006498/0.484, allocations: 468.5 kB / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.683e-05/0.4841, allocations: 37.22 kB / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.4841, allocations: 0 / 1.031 GB, free: 9.645 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.4841, allocations: 38.59 kB / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.4842, allocations: 0 / 1.031 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001874/0.4843, allocations: 57.59 kB / 1.031 GB, free: 9.535 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.628e-05/0.4844, allocations: 85.36 kB / 1.031 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.4846, allocations: 163.2 kB / 1.031 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.49e-05/0.4846, allocations: 25.7 kB / 1.031 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.784e-05/0.4847, allocations: 107.9 kB / 1.031 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.123e-05/0.4847, allocations: 11.84 kB / 1.031 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.915e-06/0.4848, allocations: 0 / 1.031 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.4849, allocations: 318.8 kB / 1.032 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.101e-05/0.4849, allocations: 11.94 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.002e-05/0.485, allocations: 25.72 kB / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.182e-05/0.485, allocations: 8 kB / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.485, allocations: 3.953 kB / 1.032 GB, free: 8.734 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.854e-05/0.4851, allocations: 73.53 kB / 1.032 GB, free: 8.656 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/0.4852, allocations: 4 kB / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.4852, allocations: 0 / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.544e-05/0.4852, allocations: 0 / 1.032 GB, free: 8.652 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.624e-05/0.4853, allocations: 8 kB / 1.032 GB, free: 8.645 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.4853, allocations: 4.062 kB / 1.032 GB, free: 8.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.645e-05/0.4853, allocations: 4.578 kB / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.615e-06/0.4853, allocations: 4 kB / 1.032 GB, free: 8.633 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.344e-05/0.4854, allocations: 117.8 kB / 1.032 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.197e-05/0.4855, allocations: 15.8 kB / 1.032 GB, free: 8.492 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.902e-05/0.4855, allocations: 12.56 kB / 1.032 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.4855, allocations: 0 / 1.032 GB, free: 8.48 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.4856, allocations: 3.938 kB / 1.032 GB, free: 8.477 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.4856, allocations: 4 kB / 1.032 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004569/0.486, allocations: 486.8 kB / 1.032 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.486, allocations: 0 / 1.032 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.359e-05/0.4861, allocations: 7.938 kB / 1.032 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.4861, allocations: 0 / 1.032 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.182e-06/0.4861, allocations: 0 / 1.032 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4861, allocations: 0 / 1.032 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4861, allocations: 0 / 1.032 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001155/0.4862, allocations: 103.5 kB / 1.033 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.488e-05/0.4863, allocations: 89.02 kB / 1.033 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.461e-05/0.4863, allocations: 0 / 1.033 GB, free: 7.691 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.685e-05/0.4863, allocations: 3.984 kB / 1.033 GB, free: 7.688 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.343e-05/0.4864, allocations: 4 kB / 1.033 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.4864, allocations: 8.031 kB / 1.033 GB, free: 7.676 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001194/0.4865, allocations: 139.4 kB / 1.033 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.4865, allocations: 0 / 1.033 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001762/0.4867, allocations: 12 kB / 1.033 GB, free: 7.527 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001573/0.4869, allocations: 103.1 kB / 1.033 GB, free: 7.418 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001061/0.487, allocations: 19.98 kB / 1.033 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.487, allocations: 0 / 1.033 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.823e-05/0.487, allocations: 16.06 kB / 1.033 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.4871, allocations: 4.188 kB / 1.033 GB, free: 7.375 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004199/0.4876, allocations: 220.6 kB / 1.033 GB, free: 7.129 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.4879, allocations: 0.6965 MB / 1.034 GB, free: 6.406 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.733e-05/0.4879, allocations: 16.36 kB / 1.034 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.712e-05/0.488, allocations: 11.44 kB / 1.034 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of SimCode: time 3.31e-07/0.488, allocations: 0 / 1.034 GB, free: 6.379 MB / 0.6823 GB Notification: Performance of Templates: time 0.002451/0.4904, allocations: 467.8 kB / 1.034 GB, free: 5.922 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_degC.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches