Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.46/2.46, allocations: 390.3 MB / 405.3 MB, free: 13.41 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.001091/0.001091, allocations: 170.8 kB / 498.1 MB, free: 5.691 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.536/1.536, allocations: 223.2 MB / 0.7949 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.0009213/0.0009215, allocations: 104 kB / 0.9346 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004256/0.0004256, allocations: 14.19 kB / 1.084 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3294/0.3299, allocations: 142.3 MB / 1.223 GB, free: 89.58 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2021/0.532, allocations: 148.8 MB / 1.368 GB, free: 4.578 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.5323, allocations: 67.95 kB / 1.368 GB, free: 4.512 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002423/0.5347, allocations: 1.087 MB / 1.369 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.345e-06/0.5347, allocations: 0 / 1.369 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.5348, allocations: 0 / 1.369 GB, free: 3.422 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003765/0.5351, allocations: 373.1 kB / 1.37 GB, free: 3.012 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.5352, allocations: 8.031 kB / 1.37 GB, free: 3.004 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.5352, allocations: 15.86 kB / 1.37 GB, free: 2.988 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001579/0.5354, allocations: 174.9 kB / 1.37 GB, free: 2.777 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.5354, allocations: 8 kB / 1.37 GB, free: 2.77 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.258e-05/0.5354, allocations: 4.219 kB / 1.37 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.5356, allocations: 91.38 kB / 1.37 GB, free: 2.664 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.5356, allocations: 7.938 kB / 1.37 GB, free: 2.656 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.5357, allocations: 8 kB / 1.37 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.5357, allocations: 0 / 1.37 GB, free: 2.648 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.301e-05/0.5358, allocations: 39.92 kB / 1.37 GB, free: 2.609 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005874/0.5364, allocations: 444.5 kB / 1.37 GB, free: 2.121 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.748e-05/0.5364, allocations: 49.25 kB / 1.37 GB, free: 2.055 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.538e-06/0.5364, allocations: 4.125 kB / 1.37 GB, free: 2.051 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.298e-05/0.5365, allocations: 30.56 kB / 1.371 GB, free: 2.012 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.5365, allocations: 7.938 kB / 1.371 GB, free: 2.004 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001863/0.5367, allocations: 49.55 kB / 1.371 GB, free: 1.949 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.5367, allocations: 81.11 kB / 1.371 GB, free: 1.852 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001471/0.5369, allocations: 145.4 kB / 1.371 GB, free: 1.703 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.346e-05/0.5369, allocations: 29.7 kB / 1.371 GB, free: 1.668 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.711e-05/0.537, allocations: 104 kB / 1.371 GB, free: 1.562 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.003e-05/0.537, allocations: 3.906 kB / 1.371 GB, free: 1.559 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-06/0.537, allocations: 8.188 kB / 1.371 GB, free: 1.551 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.5371, allocations: 318.8 kB / 1.371 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.776e-05/0.5372, allocations: 7.984 kB / 1.371 GB, free: 1.223 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.023e-05/0.5372, allocations: 21.72 kB / 1.371 GB, free: 1.195 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.547e-05/0.5372, allocations: 11.95 kB / 1.371 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-06/0.5372, allocations: 0 / 1.371 GB, free: 1.184 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.914e-05/0.5373, allocations: 61.53 kB / 1.371 GB, free: 1.117 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.295e-05/0.5373, allocations: 8.062 kB / 1.371 GB, free: 1.109 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.5373, allocations: 0 / 1.371 GB, free: 1.109 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.5374, allocations: 0 / 1.371 GB, free: 1.109 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.95e-05/0.5374, allocations: 12 kB / 1.371 GB, free: 1.098 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.5374, allocations: 0 / 1.371 GB, free: 1.098 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.917e-05/0.5375, allocations: 7.844 kB / 1.371 GB, free: 1.09 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.5375, allocations: 4 kB / 1.371 GB, free: 1.086 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 (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 8.664e-05/0.5376, allocations: 117.8 kB / 1.371 GB, free: 0.9609 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.02e-05/0.5376, allocations: 7.906 kB / 1.371 GB, free: 0.9531 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.511e-05/0.5377, allocations: 11.86 kB / 1.372 GB, free: 0.9414 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-06/0.5377, allocations: 4 kB / 1.372 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5377, allocations: 0 / 1.372 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/0.5377, allocations: 0 / 1.372 GB, free: 0.9375 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003602/0.5381, allocations: 474.7 kB / 1.372 GB, free: 420 kB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.5381, allocations: 0 / 1.372 GB, free: 420 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.892e-05/0.5381, allocations: 4 kB / 1.372 GB, free: 416 kB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.026e-06/0.5381, allocations: 8.047 kB / 1.372 GB, free: 408 kB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.5381, allocations: 4 kB / 1.372 GB, free: 404 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.5381, allocations: 0 / 1.372 GB, free: 404 kB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.5381, allocations: 4 kB / 1.372 GB, free: 400 kB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.193e-05/0.5382, allocations: 91.52 kB / 1.372 GB, free: 280 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.517e-05/0.5383, allocations: 89 kB / 1.372 GB, free: 172 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.5383, allocations: 4.031 kB / 1.372 GB, free: 168 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.853e-05/0.5383, allocations: 0 / 1.372 GB, free: 168 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.305e-05/0.5383, allocations: 4 kB / 1.372 GB, free: 164 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.5384, allocations: 4 kB / 1.372 GB, free: 160 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 8.749e-05/0.5384, allocations: 121.5 kB / 1.372 GB, free: 40 kB / 0.8698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5385, allocations: 0 / 1.372 GB, free: 40 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001714/0.5386, allocations: 15.8 kB / 1.372 GB, free: 24 kB / 0.8698 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.0001672/0.5388, allocations: 107 kB / 1.372 GB, free: 15.91 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 8.098e-05/0.5389, allocations: 19.92 kB / 1.372 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.5389, allocations: 0 / 1.372 GB, free: 15.89 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.233e-05/0.5389, allocations: 12 kB / 1.372 GB, free: 15.88 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001062/0.539, allocations: 4 kB / 1.372 GB, free: 15.87 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003597/0.5394, allocations: 182.8 kB / 1.373 GB, free: 15.65 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002858/0.5397, allocations: 0.6965 MB / 1.373 GB, free: 14.93 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 3.015e-05/0.5397, allocations: 8.422 kB / 1.373 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.5398, allocations: 11.44 kB / 1.373 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of SimCode: time 1.894e-06/0.5398, allocations: 4 kB / 1.373 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of Templates: time 0.002319/0.5421, allocations: 420.5 kB / 1.374 GB, free: 14.5 MB / 0.8855 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_ton.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches