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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.856/2.856, allocations: 436.5 MB / 0.7104 GB, free: 7.867 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003477/0.0003481, allocations: 12 kB / 0.8708 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8179/0.8183, allocations: 153.7 MB / 1.021 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001026/0.8193, allocations: 0.52 MB / 1.021 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001126/0.8195, allocations: 47.77 kB / 1.021 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.165e-05/0.8195, allocations: 0 / 1.021 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.958e-05/0.8195, allocations: 7.938 kB / 1.021 GB, free: 0.5508 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.819e-05/0.8196, allocations: 7.938 kB / 1.021 GB, free: 0.543 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.145e-05/0.8197, allocations: 11.98 kB / 1.021 GB, free: 0.5312 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 7.903e-05/0.8198, allocations: 35.97 kB / 1.021 GB, free: 0.4961 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.8199, allocations: 32.14 kB / 1.021 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.902e-05/0.82, allocations: 23.86 kB / 1.021 GB, free: 448 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.43e-05/0.82, allocations: 19.86 kB / 1.021 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.8201, allocations: 0 / 1.021 GB, free: 428 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 8.246e-06/0.8201, allocations: 4 kB / 1.021 GB, free: 424 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.8201, allocations: 3.938 kB / 1.022 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 3.652e-05/0.8201, allocations: 37.64 kB / 1.022 GB, free: 376 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.05e-05/0.8202, allocations: 51.88 kB / 1.022 GB, free: 324 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.8202, allocations: 4 kB / 1.022 GB, free: 320 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8202, allocations: 0 / 1.022 GB, free: 320 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.822e-06/0.8202, allocations: 0 / 1.022 GB, free: 320 kB / 0.7637 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.0004565/0.8207, allocations: 369 kB / 1.022 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.423e-05/0.8208, allocations: 15.98 kB / 1.022 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.499e-05/0.8208, allocations: 11.81 kB / 1.022 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002172/0.821, allocations: 182.9 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.394e-05/0.821, allocations: 8 kB / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.8211, allocations: 12 kB / 1.022 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001539/0.8212, allocations: 101.4 kB / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.8212, allocations: 0 / 1.022 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.8213, allocations: 7.922 kB / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.8213, allocations: 0 / 1.022 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.78e-05/0.8214, allocations: 43.86 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005373/0.8219, allocations: 436.6 kB / 1.023 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.592e-05/0.822, allocations: 41.34 kB / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.725e-06/0.822, allocations: 0 / 1.023 GB, free: 14.94 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.722e-05/0.822, allocations: 38.55 kB / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.822, allocations: 0 / 1.023 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001771/0.8222, allocations: 53.56 kB / 1.023 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.268e-05/0.8223, allocations: 85.11 kB / 1.023 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001297/0.8224, allocations: 155.3 kB / 1.023 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.234e-05/0.8224, allocations: 25.7 kB / 1.023 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.489e-05/0.8225, allocations: 111.9 kB / 1.023 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.388e-06/0.8225, allocations: 8.094 kB / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.8225, allocations: 4 kB / 1.023 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.8227, allocations: 318.8 kB / 1.024 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.304e-05/0.8227, allocations: 4 kB / 1.024 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.228e-05/0.8227, allocations: 21.66 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.291e-05/0.8227, allocations: 12 kB / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.8227, allocations: 0 / 1.024 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.896e-05/0.8228, allocations: 57.62 kB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.8228, allocations: 4 kB / 1.024 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.616e-06/0.8229, allocations: 4 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.8229, allocations: 3.938 kB / 1.024 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.853e-05/0.823, allocations: 7.953 kB / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.403e-06/0.823, allocations: 0 / 1.024 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.998e-05/0.823, allocations: 7.984 kB / 1.024 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.823, allocations: 4 kB / 1.024 GB, free: 13.96 MB / 0.7794 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.019e-05/0.8231, allocations: 109.8 kB / 1.024 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.995e-05/0.8232, allocations: 15.94 kB / 1.024 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.371e-05/0.8232, allocations: 7.875 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.8232, allocations: 0 / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.8232, allocations: 3.953 kB / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.8232, allocations: 0 / 1.024 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003802/0.8236, allocations: 474.7 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.8236, allocations: 3.938 kB / 1.024 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.682e-05/0.8236, allocations: 4.062 kB / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.8236, allocations: 4 kB / 1.024 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.8236, allocations: 7.953 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.8237, allocations: 0 / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.8237, allocations: 4 kB / 1.024 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.001e-05/0.8238, allocations: 91.55 kB / 1.024 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.995e-05/0.8238, allocations: 93 kB / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.8238, allocations: 0 / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.925e-05/0.8239, allocations: 3.938 kB / 1.024 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.4e-05/0.8239, allocations: 4 kB / 1.024 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.8239, allocations: 0 / 1.024 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.288e-05/0.824, allocations: 120.9 kB / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.824, allocations: 0 / 1.025 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000182/0.8242, allocations: 15.94 kB / 1.025 GB, free: 12.9 MB / 0.7794 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.000129/0.8243, allocations: 103.2 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.901e-05/0.8244, allocations: 15.94 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.8244, allocations: 0 / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.588e-06/0.8244, allocations: 4 kB / 1.025 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001138/0.8245, allocations: 8 kB / 1.025 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/0.8249, allocations: 182.7 kB / 1.025 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.8251, allocations: 0.6965 MB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.064e-05/0.8252, allocations: 4.438 kB / 1.026 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.093e-05/0.8252, allocations: 15.44 kB / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.8252, allocations: 0 / 1.026 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of Templates: time 0.002524/0.8277, allocations: 423.2 kB / 1.026 GB, free: 11.39 MB / 0.7794 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