Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.413/2.413, allocations: 390.3 MB / 402.8 MB, free: 6.637 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.0009905/0.0009906, allocations: 172.9 kB / 496.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.603/1.603, allocations: 221.3 MB / 0.7915 GB, free: 5.41 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.0009912/0.0009916, allocations: 103.9 kB / 0.9318 GB, free: 5.723 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.435e-05/3.438e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.344/0.3441, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.134/1.478, allocations: 149.6 MB / 1.365 GB, free: 4.453 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/1.479, allocations: 65.95 kB / 1.365 GB, free: 4.418 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002576/1.481, allocations: 1.083 MB / 1.366 GB, free: 3.457 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.914e-06/1.481, allocations: 0 / 1.366 GB, free: 3.457 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.02e-05/1.481, allocations: 8 kB / 1.366 GB, free: 3.449 MB / 0.823 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.0003322/1.482, allocations: 354.2 kB / 1.366 GB, free: 3.066 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/1.482, allocations: 12.03 kB / 1.366 GB, free: 3.055 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/1.482, allocations: 11.86 kB / 1.366 GB, free: 3.043 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/1.482, allocations: 170.9 kB / 1.366 GB, free: 2.836 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.249e-05/1.482, allocations: 7.312 kB / 1.366 GB, free: 2.832 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.732e-05/1.482, allocations: 7.938 kB / 1.366 GB, free: 2.824 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/1.482, allocations: 97.45 kB / 1.367 GB, free: 2.738 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/1.482, allocations: 0 / 1.367 GB, free: 2.738 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/1.482, allocations: 0 / 1.367 GB, free: 2.738 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/1.482, allocations: 4 kB / 1.367 GB, free: 2.734 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.93e-05/1.482, allocations: 41.86 kB / 1.367 GB, free: 2.707 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006042/1.483, allocations: 455.2 kB / 1.367 GB, free: 2.242 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.039e-05/1.483, allocations: 40.06 kB / 1.367 GB, free: 2.188 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.924e-05/1.483, allocations: 21.28 kB / 1.367 GB, free: 2.164 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/1.483, allocations: 8 kB / 1.367 GB, free: 2.156 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/1.483, allocations: 30.56 kB / 1.367 GB, free: 2.117 MB / 0.823 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/1.483, allocations: 0 / 1.367 GB, free: 2.117 MB / 0.823 GB Notification: Performance of matching and sorting (n=2): time 0.0001665/1.483, allocations: 48.92 kB / 1.367 GB, free: 2.066 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.119e-05/1.483, allocations: 79.19 kB / 1.367 GB, free: 1.973 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/1.484, allocations: 148 kB / 1.367 GB, free: 1.836 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/1.484, allocations: 29.77 kB / 1.367 GB, free: 1.801 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 7.569e-05/1.484, allocations: 106.8 kB / 1.368 GB, free: 1.703 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.526e-06/1.484, allocations: 3.906 kB / 1.368 GB, free: 1.699 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-06/1.484, allocations: 0 / 1.368 GB, free: 1.699 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001429/1.484, allocations: 321.9 kB / 1.368 GB, free: 1.379 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.811e-05/1.484, allocations: 7.75 kB / 1.368 GB, free: 1.375 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.628e-05/1.484, allocations: 21.58 kB / 1.368 GB, free: 1.352 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.476e-05/1.484, allocations: 11.94 kB / 1.368 GB, free: 1.34 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/1.484, allocations: 4 kB / 1.368 GB, free: 1.336 MB / 0.823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.901e-05/1.484, allocations: 52.11 kB / 1.368 GB, free: 1.285 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/1.484, allocations: 7.984 kB / 1.368 GB, free: 1.277 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/1.484, allocations: 4 kB / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/1.484, allocations: 0 / 1.368 GB, free: 1.273 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.406e-05/1.484, allocations: 8.812 kB / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/1.484, allocations: 0 / 1.368 GB, free: 1.266 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.108e-05/1.484, allocations: 15.28 kB / 1.368 GB, free: 1.254 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/1.484, allocations: 4.906 kB / 1.368 GB, free: 1.25 MB / 0.823 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 6.197e-05/1.484, allocations: 108.9 kB / 1.368 GB, free: 1.137 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.017e-05/1.484, allocations: 11.84 kB / 1.368 GB, free: 1.125 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.918e-05/1.484, allocations: 11.14 kB / 1.368 GB, free: 1.117 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/1.484, allocations: 4 kB / 1.368 GB, free: 1.113 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.484, allocations: 0 / 1.368 GB, free: 1.113 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.685e-06/1.484, allocations: 0 / 1.368 GB, free: 1.113 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/1.485, allocations: 475.8 kB / 1.369 GB, free: 0.6016 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/1.485, allocations: 0 / 1.369 GB, free: 0.6016 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.95e-05/1.485, allocations: 4 kB / 1.369 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/1.485, allocations: 0 / 1.369 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.622e-06/1.485, allocations: 0 / 1.369 GB, free: 0.5977 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/1.485, allocations: 4 kB / 1.369 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/1.485, allocations: 0 / 1.369 GB, free: 0.5938 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001066/1.485, allocations: 97.81 kB / 1.369 GB, free: 488 kB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.605e-05/1.485, allocations: 92.94 kB / 1.369 GB, free: 380 kB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/1.485, allocations: 0 / 1.369 GB, free: 380 kB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.849e-05/1.485, allocations: 0 / 1.369 GB, free: 380 kB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/1.485, allocations: 0 / 1.369 GB, free: 380 kB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.898e-06/1.485, allocations: 7.938 kB / 1.369 GB, free: 372 kB / 0.823 GB Notification: Performance of sorting global known variables: time 8.745e-05/1.485, allocations: 126.4 kB / 1.369 GB, free: 264 kB / 0.823 GB Notification: Performance of sort global known variables: time 1.6e-07/1.485, allocations: 4.031 kB / 1.369 GB, free: 260 kB / 0.823 GB Notification: Performance of remove unused functions: time 0.0001603/1.485, allocations: 8 kB / 1.369 GB, free: 252 kB / 0.823 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.0001234/1.486, allocations: 95.25 kB / 1.369 GB, free: 148 kB / 0.823 GB Notification: Performance of simCode: created initialization part: time 8.268e-05/1.486, allocations: 19.88 kB / 1.369 GB, free: 132 kB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.486, allocations: 0 / 1.369 GB, free: 132 kB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 1.009e-05/1.486, allocations: 4 kB / 1.369 GB, free: 128 kB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001105/1.486, allocations: 7.75 kB / 1.369 GB, free: 124 kB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002798/1.486, allocations: 110.2 kB / 1.369 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/1.486, allocations: 0.6965 MB / 1.37 GB, free: 15.27 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.123e-05/1.486, allocations: 8.422 kB / 1.37 GB, free: 15.26 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/1.486, allocations: 11.44 kB / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of SimCode: time 2.986e-06/1.486, allocations: 0 / 1.37 GB, free: 15.25 MB / 0.8386 GB Notification: Performance of Templates: time 0.002459/1.489, allocations: 430.8 kB / 1.37 GB, free: 14.84 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches