Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.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.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.495/1.495, allocations: 249.5 MB / 257 MB, free: 6.875 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001102/0.001102, allocations: 187.2 kB / 316.3 MB, free: 3.301 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.733/1.733, allocations: 205.3 MB / 0.5671 GB, free: 15.9 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.000852/0.0008521, allocations: 93.83 kB / 0.6714 GB, free: 5.027 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.726e-05/1.717e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2418/0.2419, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8085/1.051, allocations: 131.6 MB / 1.014 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/1.051, allocations: 67.94 kB / 1.014 GB, free: 6.191 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002746/1.054, allocations: 1.153 MB / 1.015 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.695e-06/1.054, allocations: 0 / 1.015 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.151e-05/1.054, allocations: 4 kB / 1.015 GB, free: 5.18 MB / 0.6355 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.0004389/1.054, allocations: 358.1 kB / 1.015 GB, free: 4.789 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.174e-05/1.054, allocations: 12.03 kB / 1.015 GB, free: 4.777 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/1.054, allocations: 12.78 kB / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/1.054, allocations: 186.8 kB / 1.015 GB, free: 4.547 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/1.054, allocations: 4 kB / 1.015 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.587e-05/1.055, allocations: 4 kB / 1.016 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001244/1.055, allocations: 36 kB / 1.016 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/1.055, allocations: 74.84 kB / 1.016 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.125e-05/1.055, allocations: 0 / 1.016 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.4e-05/1.055, allocations: 0 / 1.016 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/1.055, allocations: 11.98 kB / 1.016 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006631/1.056, allocations: 415.7 kB / 1.016 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.349e-05/1.056, allocations: 41.09 kB / 1.016 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.52e-05/1.056, allocations: 13.84 kB / 1.016 GB, free: 3.941 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.173e-05/1.056, allocations: 3.938 kB / 1.016 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/1.056, allocations: 45.03 kB / 1.016 GB, free: 3.891 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/1.056, allocations: 4 kB / 1.016 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001952/1.056, allocations: 49.47 kB / 1.016 GB, free: 3.836 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/1.056, allocations: 81.11 kB / 1.016 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/1.056, allocations: 123.2 kB / 1.016 GB, free: 3.621 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/1.056, allocations: 25.7 kB / 1.016 GB, free: 3.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.492e-05/1.056, allocations: 111.8 kB / 1.016 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.882e-06/1.056, allocations: 3.906 kB / 1.016 GB, free: 3.48 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/1.056, allocations: 4 kB / 1.016 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001456/1.056, allocations: 322.4 kB / 1.017 GB, free: 3.156 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.865e-05/1.056, allocations: 4 kB / 1.017 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.588e-05/1.056, allocations: 20.19 kB / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.991e-05/1.057, allocations: 15.88 kB / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.057, allocations: 0 / 1.017 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.902e-05/1.057, allocations: 57.33 kB / 1.017 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/1.057, allocations: 4.062 kB / 1.017 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/1.057, allocations: 4 kB / 1.017 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/1.057, allocations: 4 kB / 1.017 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.774e-05/1.057, allocations: 4 kB / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/1.057, allocations: 0 / 1.017 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.121e-05/1.057, allocations: 7.844 kB / 1.017 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/1.057, allocations: 4 kB / 1.017 GB, free: 3.039 MB / 0.6355 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 8.511e-05/1.057, allocations: 104.9 kB / 1.017 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/1.057, allocations: 11.94 kB / 1.017 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.397e-05/1.057, allocations: 19.61 kB / 1.017 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/1.057, allocations: 224 / 1.017 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.057, allocations: 0 / 1.017 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/1.057, allocations: 3.938 kB / 1.017 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003827/1.057, allocations: 457.9 kB / 1.017 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/1.057, allocations: 0 / 1.017 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.228e-05/1.057, allocations: 4 kB / 1.017 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/1.057, allocations: 0 / 1.017 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/1.057, allocations: 8.062 kB / 1.018 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/1.058, allocations: 0 / 1.018 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.058, allocations: 0 / 1.018 GB, free: 2.406 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001015/1.058, allocations: 87.38 kB / 1.018 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.311e-05/1.058, allocations: 84.98 kB / 1.018 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/1.058, allocations: 3.984 kB / 1.018 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.977e-05/1.058, allocations: 4.031 kB / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.199e-05/1.058, allocations: 0 / 1.018 GB, free: 2.191 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/1.058, allocations: 4 kB / 1.018 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.284e-05/1.058, allocations: 111.8 kB / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.4e-07/1.058, allocations: 0 / 1.018 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001771/1.058, allocations: 8 kB / 1.018 GB, free: 2.078 MB / 0.6355 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.0001459/1.058, allocations: 99.23 kB / 1.018 GB, free: 1.969 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.895e-05/1.058, allocations: 23.75 kB / 1.018 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.726e-06/1.058, allocations: 0 / 1.018 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 1.277e-05/1.058, allocations: 4 kB / 1.018 GB, free: 1.949 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001356/1.058, allocations: 11.77 kB / 1.018 GB, free: 1.941 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002845/1.059, allocations: 104.7 kB / 1.018 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002656/1.059, allocations: 0.7004 MB / 1.019 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.018e-05/1.059, allocations: 4.188 kB / 1.019 GB, free: 1.082 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.143e-05/1.059, allocations: 7.438 kB / 1.019 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of SimCode: time 1.432e-06/1.059, allocations: 0 / 1.019 GB, free: 1.078 MB / 0.6355 GB Notification: Performance of Templates: time 0.002151/1.061, allocations: 324.2 kB / 1.019 GB, free: 0.7734 MB / 0.6355 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches