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/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.331/2.331, allocations: 390.3 MB / 405.3 MB, free: 13.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001145/0.001145, allocations: 185 kB / 498.1 MB, free: 5.746 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.572/1.572, allocations: 223.2 MB / 0.7948 GB, free: 18.86 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009705/0.0009707, allocations: 102.8 kB / 0.9346 GB, free: 7.133 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003708/0.0003708, allocations: 10.09 kB / 1.084 GB, free: 212.6 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3043, allocations: 142.3 MB / 1.223 GB, free: 89.56 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2176/0.5219, allocations: 148.9 MB / 1.368 GB, free: 4.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002241/0.5222, allocations: 63.97 kB / 1.368 GB, free: 4.438 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.00318/0.5254, allocations: 1.288 MB / 1.37 GB, free: 3.148 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.284e-06/0.5254, allocations: 0 / 1.37 GB, free: 3.148 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.5255, allocations: 4 kB / 1.37 GB, free: 3.145 MB / 0.8698 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.0004343/0.5259, allocations: 387 kB / 1.37 GB, free: 2.715 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/0.526, allocations: 12.03 kB / 1.37 GB, free: 2.703 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.57e-05/0.526, allocations: 11.91 kB / 1.37 GB, free: 2.691 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001709/0.5262, allocations: 186.8 kB / 1.37 GB, free: 2.469 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.443e-05/0.5262, allocations: 8.406 kB / 1.37 GB, free: 2.461 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.5262, allocations: 4 kB / 1.37 GB, free: 2.457 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.5264, allocations: 110.1 kB / 1.37 GB, free: 2.34 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.148e-06/0.5265, allocations: 0 / 1.37 GB, free: 2.34 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.318e-05/0.5265, allocations: 4 kB / 1.37 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.5265, allocations: 8 kB / 1.37 GB, free: 2.328 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001041/0.5266, allocations: 47.92 kB / 1.37 GB, free: 2.281 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006847/0.5273, allocations: 484.4 kB / 1.371 GB, free: 1.754 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.713e-05/0.5274, allocations: 53.14 kB / 1.371 GB, free: 1.684 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.197e-06/0.5274, allocations: 3.984 kB / 1.371 GB, free: 1.68 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.371e-05/0.5275, allocations: 42.56 kB / 1.371 GB, free: 1.629 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=4): time 1.603e-06/0.5275, allocations: 0 / 1.371 GB, free: 1.629 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4): time 0.0002115/0.5277, allocations: 65.55 kB / 1.371 GB, free: 1.559 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.014e-05/0.5278, allocations: 81.11 kB / 1.371 GB, free: 1.461 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.5279, allocations: 157.3 kB / 1.371 GB, free: 1.293 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.313e-05/0.5279, allocations: 25.7 kB / 1.371 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.373e-05/0.528, allocations: 111.9 kB / 1.371 GB, free: 1.148 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.327e-05/0.528, allocations: 11.81 kB / 1.371 GB, free: 1.137 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.5281, allocations: 4.469 kB / 1.371 GB, free: 1.133 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.5282, allocations: 326.8 kB / 1.372 GB, free: 0.8047 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.833e-05/0.5282, allocations: 19.92 kB / 1.372 GB, free: 0.7852 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.931e-05/0.5282, allocations: 25.66 kB / 1.372 GB, free: 0.7539 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.341e-05/0.5283, allocations: 8 kB / 1.372 GB, free: 0.7461 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.5283, allocations: 0 / 1.372 GB, free: 0.7461 MB / 0.8698 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.000125/0.5284, allocations: 69.59 kB / 1.372 GB, free: 0.6719 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.5285, allocations: 8 kB / 1.372 GB, free: 0.6641 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.5285, allocations: 0 / 1.372 GB, free: 0.6641 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.5285, allocations: 7.984 kB / 1.372 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.489e-05/0.5286, allocations: 11.94 kB / 1.372 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.5286, allocations: 128 / 1.372 GB, free: 0.6445 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.998e-05/0.5286, allocations: 15.84 kB / 1.372 GB, free: 0.6289 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.054e-06/0.5286, allocations: 4 kB / 1.372 GB, free: 0.625 MB / 0.8698 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 (6): * Single equations (assignments): 6 * 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 8.128e-05/0.5287, allocations: 117.8 kB / 1.372 GB, free: 0.5 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.5288, allocations: 11.91 kB / 1.372 GB, free: 500 kB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.002e-05/0.5288, allocations: 12.55 kB / 1.372 GB, free: 488 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.5288, allocations: 8 kB / 1.372 GB, free: 480 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.485e-05/0.5289, allocations: 0 / 1.372 GB, free: 480 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.5289, allocations: 0 / 1.372 GB, free: 480 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004861/0.5294, allocations: 0.512 MB / 1.372 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.5294, allocations: 0 / 1.372 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.227e-05/0.5294, allocations: 8 kB / 1.372 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.776e-06/0.5294, allocations: 4.125 kB / 1.372 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.5294, allocations: 4 kB / 1.372 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.5294, allocations: 0 / 1.372 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.5294, allocations: 0 / 1.372 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001443/0.5296, allocations: 144.7 kB / 1.373 GB, free: 15.68 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.6e-05/0.5297, allocations: 89 kB / 1.373 GB, free: 15.58 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.722e-05/0.5297, allocations: 7.953 kB / 1.373 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.012e-05/0.5297, allocations: 4 kB / 1.373 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.777e-05/0.5298, allocations: 7.984 kB / 1.373 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.765e-06/0.5298, allocations: 0 / 1.373 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001055/0.5299, allocations: 128.9 kB / 1.373 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5299, allocations: 7.938 kB / 1.373 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0001855/0.5301, allocations: 11.94 kB / 1.373 GB, free: 15.41 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (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 Backend phase and start with SimCode phase: time 0.0001238/0.5302, allocations: 103 kB / 1.373 GB, free: 15.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0001045/0.5303, allocations: 32.16 kB / 1.373 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.5303, allocations: 3.938 kB / 1.373 GB, free: 15.27 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.155e-05/0.5304, allocations: 15.94 kB / 1.373 GB, free: 15.25 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001197/0.5305, allocations: 9.797 kB / 1.373 GB, free: 15.24 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004179/0.5309, allocations: 242.2 kB / 1.373 GB, free: 14.97 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.5312, allocations: 0.7004 MB / 1.374 GB, free: 14.25 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.509e-05/0.5312, allocations: 8.547 kB / 1.374 GB, free: 14.24 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.629e-05/0.5313, allocations: 15.44 kB / 1.374 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of SimCode: time 2.61e-07/0.5313, allocations: 0 / 1.374 GB, free: 14.22 MB / 0.8855 GB Notification: Performance of Templates: time 0.002534/0.5338, allocations: 483.8 kB / 1.374 GB, free: 13.75 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.makefile (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 & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_degC.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_degC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches