Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.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_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.532/2.532, allocations: 390.3 MB / 405.3 MB, free: 13.48 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: 187.3 kB / 498.1 MB, free: 5.738 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.66/1.66, allocations: 223.2 MB / 0.7948 GB, free: 17.97 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.001342/0.001342, allocations: 100.2 kB / 0.9346 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003668/0.0003669, allocations: 13.09 kB / 1.084 GB, free: 221.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3041, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1839/0.488, allocations: 148.8 MB / 1.368 GB, free: 13.35 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002292/0.4883, allocations: 59.97 kB / 1.368 GB, free: 13.29 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002452/0.4908, allocations: 1.092 MB / 1.369 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.813e-06/0.4908, allocations: 0 / 1.369 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.4908, allocations: 4 kB / 1.369 GB, free: 12.19 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.0003378/0.4912, allocations: 373.7 kB / 1.37 GB, free: 11.78 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.4912, allocations: 12.03 kB / 1.37 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.4913, allocations: 11.86 kB / 1.37 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.4914, allocations: 178.8 kB / 1.37 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.4914, allocations: 4 kB / 1.37 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.4915, allocations: 8 kB / 1.37 GB, free: 11.53 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.4916, allocations: 96.73 kB / 1.37 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.375e-06/0.4917, allocations: 0 / 1.37 GB, free: 11.43 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.4917, allocations: 4 kB / 1.37 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.4917, allocations: 0 / 1.37 GB, free: 11.42 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.895e-05/0.4918, allocations: 43.91 kB / 1.37 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005648/0.4923, allocations: 456.5 kB / 1.37 GB, free: 10.88 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.328e-05/0.4924, allocations: 37.31 kB / 1.371 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.183e-06/0.4924, allocations: 4 kB / 1.371 GB, free: 10.82 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.302e-05/0.4924, allocations: 34.56 kB / 1.371 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4925, allocations: 0 / 1.371 GB, free: 10.78 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.000209/0.4927, allocations: 53.53 kB / 1.371 GB, free: 10.72 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.365e-05/0.4927, allocations: 81.11 kB / 1.371 GB, free: 10.62 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.4929, allocations: 141.4 kB / 1.371 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.229e-05/0.4929, allocations: 29.7 kB / 1.371 GB, free: 10.44 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.513e-05/0.4929, allocations: 104 kB / 1.371 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 6.642e-06/0.493, allocations: 8.156 kB / 1.371 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-06/0.493, allocations: 0 / 1.371 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.4931, allocations: 322.8 kB / 1.371 GB, free: 10 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.854e-05/0.4931, allocations: 8.219 kB / 1.371 GB, free: 9.996 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.467e-05/0.4931, allocations: 25.64 kB / 1.371 GB, free: 9.965 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.276e-05/0.4932, allocations: 11.89 kB / 1.371 GB, free: 9.953 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.4932, allocations: 0 / 1.371 GB, free: 9.953 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.829e-05/0.4933, allocations: 61.61 kB / 1.371 GB, free: 9.887 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.4933, allocations: 4 kB / 1.371 GB, free: 9.883 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.4933, allocations: 0 / 1.371 GB, free: 9.883 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.4933, allocations: 3.984 kB / 1.371 GB, free: 9.879 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.34e-05/0.4934, allocations: 11.94 kB / 1.371 GB, free: 9.867 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.619e-06/0.4934, allocations: 0 / 1.371 GB, free: 9.867 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.048e-05/0.4934, allocations: 7.906 kB / 1.371 GB, free: 9.859 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.4934, allocations: 0 / 1.371 GB, free: 9.859 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.337e-05/0.4935, allocations: 117.8 kB / 1.371 GB, free: 9.734 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.021e-05/0.4936, allocations: 11.97 kB / 1.371 GB, free: 9.723 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.4936, allocations: 15.86 kB / 1.372 GB, free: 9.707 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.4936, allocations: 0 / 1.372 GB, free: 9.707 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.4936, allocations: 7.938 kB / 1.372 GB, free: 9.699 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.4936, allocations: 0 / 1.372 GB, free: 9.699 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/0.494, allocations: 474.7 kB / 1.372 GB, free: 9.172 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.494, allocations: 0 / 1.372 GB, free: 9.172 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.889e-05/0.494, allocations: 8.062 kB / 1.372 GB, free: 9.164 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.494, allocations: 0 / 1.372 GB, free: 9.164 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.494, allocations: 0 / 1.372 GB, free: 9.164 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.906e-06/0.4941, allocations: 4 kB / 1.372 GB, free: 9.16 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4941, allocations: 0 / 1.372 GB, free: 9.16 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.633e-05/0.4942, allocations: 95.5 kB / 1.372 GB, free: 9.039 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.539e-05/0.4942, allocations: 93.03 kB / 1.372 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.269e-05/0.4942, allocations: 0 / 1.372 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.912e-05/0.4943, allocations: 0 / 1.372 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.054e-05/0.4943, allocations: 0 / 1.372 GB, free: 8.93 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.4943, allocations: 4 kB / 1.372 GB, free: 8.926 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 9.468e-05/0.4944, allocations: 127.3 kB / 1.372 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4944, allocations: 0 / 1.372 GB, free: 8.805 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001699/0.4946, allocations: 15.86 kB / 1.372 GB, free: 8.789 MB / 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.0001213/0.4947, allocations: 103 kB / 1.372 GB, free: 8.676 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 7.431e-05/0.4948, allocations: 19.94 kB / 1.372 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.4948, allocations: 0 / 1.372 GB, free: 8.656 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.357e-05/0.4948, allocations: 11.98 kB / 1.372 GB, free: 8.645 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.567e-05/0.4949, allocations: 3.938 kB / 1.372 GB, free: 8.641 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.4952, allocations: 182.8 kB / 1.373 GB, free: 8.422 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.4955, allocations: 0.7014 MB / 1.373 GB, free: 7.695 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.18e-05/0.4956, allocations: 8.422 kB / 1.373 GB, free: 7.684 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.064e-05/0.4956, allocations: 15.44 kB / 1.373 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of SimCode: time 2.51e-07/0.4956, allocations: 0 / 1.373 GB, free: 7.672 MB / 0.8698 GB Notification: Performance of Templates: time 0.002151/0.4977, allocations: 412 kB / 1.374 GB, free: 7.27 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches