Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.249/2.249, allocations: 387.4 MB / 394.9 MB, free: 13.32 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.00124/0.00124, allocations: 188.1 kB / 487.4 MB, free: 5.023 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.526/1.526, allocations: 221.5 MB / 0.7824 GB, free: 0.9766 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009109/0.0009109, allocations: 93.67 kB / 0.9219 GB, free: 2.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.996e-05/1.997e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3143, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.044/1.359, allocations: 148.1 MB / 1.351 GB, free: 18.25 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/1.359, allocations: 64.8 kB / 1.351 GB, free: 18.25 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004653/1.364, allocations: 1.077 MB / 1.352 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of FrontEnd: time 2.224e-06/1.364, allocations: 0 / 1.352 GB, free: 33.89 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.232e-05/1.364, allocations: 1.312 kB / 1.352 GB, free: 33.89 MB / 0.8386 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.00038/1.364, allocations: 359.4 kB / 1.352 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.826e-05/1.364, allocations: 12.16 kB / 1.352 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.423e-05/1.364, allocations: 7.688 kB / 1.352 GB, free: 33.53 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/1.365, allocations: 183.8 kB / 1.352 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/1.365, allocations: 3.844 kB / 1.352 GB, free: 33.32 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/1.365, allocations: 14.27 kB / 1.352 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001364/1.365, allocations: 30.61 kB / 1.352 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001918/1.365, allocations: 79.2 kB / 1.352 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/1.365, allocations: 0 / 1.352 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/1.365, allocations: 0.6094 kB / 1.352 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.322e-05/1.365, allocations: 3.906 kB / 1.352 GB, free: 33.26 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007423/1.366, allocations: 412.3 kB / 1.353 GB, free: 32.92 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.582e-05/1.366, allocations: 36.06 kB / 1.353 GB, free: 32.87 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.945e-05/1.366, allocations: 22.16 kB / 1.353 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.555e-05/1.366, allocations: 0 / 1.353 GB, free: 32.85 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.491e-05/1.366, allocations: 43.03 kB / 1.353 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/1.366, allocations: 0 / 1.353 GB, free: 32.8 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002242/1.366, allocations: 38.59 kB / 1.353 GB, free: 32.77 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.997e-05/1.366, allocations: 77.17 kB / 1.353 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001709/1.367, allocations: 119.7 kB / 1.353 GB, free: 32.58 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/1.367, allocations: 27.23 kB / 1.353 GB, free: 32.55 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 9.252e-05/1.367, allocations: 108.2 kB / 1.353 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.134e-05/1.367, allocations: 5.844 kB / 1.353 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-06/1.367, allocations: 0 / 1.353 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001577/1.367, allocations: 318.3 kB / 1.354 GB, free: 32.14 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.866e-05/1.367, allocations: 10.5 kB / 1.354 GB, free: 32.13 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.34e-05/1.367, allocations: 19.83 kB / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.938e-05/1.367, allocations: 9.016 kB / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/1.367, allocations: 0 / 1.354 GB, free: 32.11 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001358/1.367, allocations: 55.67 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/1.367, allocations: 5.125 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.367, allocations: 1.312 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.158e-05/1.367, allocations: 2.062 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/1.367, allocations: 9.875 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/1.367, allocations: 5.484 kB / 1.354 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.763e-05/1.368, allocations: 6 kB / 1.354 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.877e-06/1.368, allocations: 1.969 kB / 1.354 GB, free: 32.06 MB / 0.8386 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 () * 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.788e-05/1.368, allocations: 106.1 kB / 1.354 GB, free: 31.96 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-05/1.368, allocations: 12.44 kB / 1.354 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.808e-05/1.368, allocations: 6.109 kB / 1.354 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.923e-06/1.368, allocations: 2.109 kB / 1.354 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/1.368, allocations: 0 / 1.354 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/1.368, allocations: 1.312 kB / 1.354 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005263/1.368, allocations: 444.3 kB / 1.354 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.214e-06/1.368, allocations: 5.266 kB / 1.354 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.95e-05/1.368, allocations: 2.625 kB / 1.354 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.57e-06/1.368, allocations: 1.969 kB / 1.354 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/1.368, allocations: 224 / 1.354 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/1.368, allocations: 1.25 kB / 1.354 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.361e-06/1.369, allocations: 4.688 kB / 1.354 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001183/1.369, allocations: 94.53 kB / 1.354 GB, free: 31.4 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 4.335e-05/1.369, allocations: 81.66 kB / 1.354 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/1.369, allocations: 1.859 kB / 1.354 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.11e-05/1.369, allocations: 4.281 kB / 1.354 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.102e-05/1.369, allocations: 2.047 kB / 1.354 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/1.369, allocations: 8.672 kB / 1.354 GB, free: 31.3 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001039/1.369, allocations: 97.72 kB / 1.354 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.81e-07/1.369, allocations: 0 / 1.354 GB, free: 31.22 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003252/1.369, allocations: 11.66 kB / 1.354 GB, free: 31.22 MB / 0.8386 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 () * 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.0001339/1.369, allocations: 97.52 kB / 1.355 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 9.259e-05/1.37, allocations: 13.16 kB / 1.355 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.277e-06/1.37, allocations: 1.281 kB / 1.355 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.731e-05/1.37, allocations: 8.688 kB / 1.355 GB, free: 31.13 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/1.37, allocations: 13.61 kB / 1.355 GB, free: 31.12 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000287/1.37, allocations: 102.5 kB / 1.355 GB, free: 31.03 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/1.37, allocations: 0.6956 MB / 1.355 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.776e-05/1.37, allocations: 1.406 kB / 1.355 GB, free: 30.33 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/1.371, allocations: 11.31 kB / 1.355 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of SimCode: time 3.91e-07/1.371, allocations: 4 kB / 1.355 GB, free: 30.32 MB / 0.8386 GB Notification: Performance of Templates: time 0.003263/1.374, allocations: 296.9 kB / 1.356 GB, free: 30.27 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_ton.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches