Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_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.From_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_cfm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.383/1.383, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001519/0.001519, allocations: 184.9 kB / 326.5 MB, free: 2.262 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.908/1.908, allocations: 205.4 MB / 0.5775 GB, free: 20.24 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.0009131/0.000913, allocations: 98.69 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003681/0.0003679, allocations: 9.281 kB / 0.7962 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2731, allocations: 106.3 MB / 0.9001 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1978/0.471, allocations: 131.4 MB / 1.028 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/0.4714, allocations: 67.97 kB / 1.028 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002831/0.4743, allocations: 1.161 MB / 1.03 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.624e-06/0.4743, allocations: 0 / 1.03 GB, free: 11.15 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.122e-05/0.4743, allocations: 4 kB / 1.03 GB, free: 11.14 MB / 0.6823 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.0003849/0.4747, allocations: 380.5 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.4747, allocations: 12.25 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.046e-05/0.4748, allocations: 7.906 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.475, allocations: 188.5 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.696e-05/0.475, allocations: 8 kB / 1.03 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.103e-05/0.4751, allocations: 7.984 kB / 1.03 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000166/0.4752, allocations: 97.83 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.4752, allocations: 0 / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.4753, allocations: 8 kB / 1.03 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.179e-05/0.4753, allocations: 4 kB / 1.03 GB, free: 10.35 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.318e-05/0.4754, allocations: 43.86 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006693/0.476, allocations: 452.6 kB / 1.031 GB, free: 9.812 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.791e-05/0.4761, allocations: 45.17 kB / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.628e-06/0.4761, allocations: 0 / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.4762, allocations: 34.69 kB / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.4762, allocations: 4 kB / 1.031 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001967/0.4764, allocations: 57.55 kB / 1.031 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.4765, allocations: 77.11 kB / 1.031 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.4766, allocations: 153.3 kB / 1.031 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.149e-05/0.4766, allocations: 29.7 kB / 1.031 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.816e-05/0.4767, allocations: 103.9 kB / 1.031 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.441e-05/0.4767, allocations: 11.84 kB / 1.031 GB, free: 9.23 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.236e-06/0.4768, allocations: 4.25 kB / 1.031 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.4769, allocations: 322.8 kB / 1.032 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.347e-05/0.4769, allocations: 8 kB / 1.032 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.745e-05/0.477, allocations: 21.7 kB / 1.032 GB, free: 8.867 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.173e-05/0.477, allocations: 11.94 kB / 1.032 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.903e-06/0.477, allocations: 0 / 1.032 GB, free: 8.855 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.162e-05/0.4771, allocations: 65.56 kB / 1.032 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.4771, allocations: 8.062 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.722e-06/0.4771, allocations: 0 / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.4772, allocations: 4 kB / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.093e-05/0.4772, allocations: 11.92 kB / 1.032 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.019e-05/0.4773, allocations: 3.984 kB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.371e-05/0.4773, allocations: 4.672 kB / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.25e-06/0.4773, allocations: 0 / 1.032 GB, free: 8.754 MB / 0.6823 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 0.0001172/0.4774, allocations: 113.8 kB / 1.032 GB, free: 8.633 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.823e-05/0.4775, allocations: 15.77 kB / 1.032 GB, free: 8.617 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.61e-05/0.4775, allocations: 24.48 kB / 1.032 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.4775, allocations: 0 / 1.032 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.4776, allocations: 0 / 1.032 GB, free: 8.594 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.4776, allocations: 4 kB / 1.032 GB, free: 8.59 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004834/0.4781, allocations: 470.8 kB / 1.032 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.529e-06/0.4781, allocations: 4 kB / 1.032 GB, free: 8.062 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.596e-05/0.4781, allocations: 3.984 kB / 1.032 GB, free: 8.059 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.4781, allocations: 4.062 kB / 1.032 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.026e-06/0.4781, allocations: 4 kB / 1.032 GB, free: 8.051 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.4781, allocations: 4 kB / 1.032 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4782, allocations: 0 / 1.032 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.4783, allocations: 95.52 kB / 1.032 GB, free: 7.926 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.788e-05/0.4784, allocations: 89 kB / 1.033 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.4784, allocations: 11.97 kB / 1.033 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.36e-05/0.4785, allocations: 0 / 1.033 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.943e-05/0.4785, allocations: 0 / 1.033 GB, free: 7.809 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.44e-06/0.4785, allocations: 4 kB / 1.033 GB, free: 7.805 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001221/0.4786, allocations: 128.9 kB / 1.033 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4786, allocations: 0 / 1.033 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002023/0.4788, allocations: 15.84 kB / 1.033 GB, free: 7.664 MB / 0.6823 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.0002161/0.4791, allocations: 99.25 kB / 1.033 GB, free: 7.559 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 9.881e-05/0.4792, allocations: 19.94 kB / 1.033 GB, free: 7.539 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.4792, allocations: 4 kB / 1.033 GB, free: 7.535 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.422e-05/0.4792, allocations: 8 kB / 1.033 GB, free: 7.527 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.4793, allocations: 7.953 kB / 1.033 GB, free: 7.52 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004401/0.4798, allocations: 194.2 kB / 1.033 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003201/0.4801, allocations: 0.7043 MB / 1.034 GB, free: 6.574 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.409e-05/0.4802, allocations: 12.36 kB / 1.034 GB, free: 6.559 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.108e-05/0.4802, allocations: 15.44 kB / 1.034 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of SimCode: time 3.91e-07/0.4802, allocations: 0 / 1.034 GB, free: 6.547 MB / 0.6823 GB Notification: Performance of Templates: time 0.002593/0.4828, allocations: 447.8 kB / 1.034 GB, free: 6.109 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches