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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001688/0.001688, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001932/0.001931, allocations: 186.2 kB / 17.34 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.704/1.704, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.411/2.411, allocations: 390.2 MB / 0.6655 GB, free: 0.6016 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002122/0.002122, allocations: 67.89 kB / 0.9516 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7955/0.7976, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.00177/0.7994, allocations: 0.8307 MB / 1.089 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001021/0.7996, allocations: 36.78 kB / 1.089 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.601e-05/0.7996, allocations: 9.188 kB / 1.089 GB, free: 4.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.651e-05/0.7997, allocations: 5.766 kB / 1.089 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.052e-05/0.7998, allocations: 10.56 kB / 1.089 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.682e-05/0.7998, allocations: 19.78 kB / 1.09 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.193e-05/0.7999, allocations: 60.22 kB / 1.09 GB, free: 4.891 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001359/0.8, allocations: 49.27 kB / 1.09 GB, free: 4.863 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.188e-05/0.8001, allocations: 23.14 kB / 1.09 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.689e-05/0.8002, allocations: 31.08 kB / 1.09 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.664e-05/0.8002, allocations: 5.062 kB / 1.09 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.578e-06/0.8002, allocations: 5.812 kB / 1.09 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.783e-05/0.8002, allocations: 16.3 kB / 1.09 GB, free: 4.82 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.188e-05/0.8003, allocations: 33.05 kB / 1.09 GB, free: 4.797 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.8004, allocations: 78.84 kB / 1.09 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.8004, allocations: 9.031 kB / 1.09 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.102e-06/0.8004, allocations: 0 / 1.09 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.8004, allocations: 0 / 1.09 GB, free: 4.75 MB / 0.8575 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.0003157/0.8007, allocations: 374.6 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.8008, allocations: 10.05 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.8008, allocations: 13.81 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/0.8009, allocations: 187.8 kB / 1.09 GB, free: 4.156 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.327e-05/0.801, allocations: 7.5 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.801, allocations: 10.19 kB / 1.09 GB, free: 4.148 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001383/0.8011, allocations: 94.59 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.8011, allocations: 192 / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.8012, allocations: 4.719 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.8012, allocations: 2.719 kB / 1.09 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.562e-05/0.8012, allocations: 38.98 kB / 1.091 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004155/0.8017, allocations: 438.8 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.442e-05/0.8017, allocations: 45.62 kB / 1.091 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.103e-05/0.8018, allocations: 21.34 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-06/0.8018, allocations: 0 / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.8018, allocations: 40.28 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.8018, allocations: 1.125 kB / 1.091 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000159/0.802, allocations: 56.2 kB / 1.091 GB, free: 3.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.115e-05/0.802, allocations: 78.02 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.8021, allocations: 159.2 kB / 1.091 GB, free: 3.27 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.53e-06/0.8021, allocations: 25.7 kB / 1.091 GB, free: 3.238 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.291e-05/0.8022, allocations: 103.8 kB / 1.091 GB, free: 3.141 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.114e-06/0.8022, allocations: 5.891 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.8022, allocations: 23.42 kB / 1.091 GB, free: 3.113 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.438e-05/0.8023, allocations: 319.3 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.763e-05/0.8023, allocations: 4.797 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.15e-05/0.8023, allocations: 23.48 kB / 1.092 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.503e-05/0.8024, allocations: 22.69 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.8024, allocations: 0.7188 kB / 1.092 GB, free: 2.754 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.671e-05/0.8025, allocations: 69.83 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.8025, allocations: 5.094 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.8025, allocations: 4.547 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.8025, allocations: 1 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.59e-05/0.8026, allocations: 5.922 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.25e-06/0.8026, allocations: 1.609 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.887e-05/0.8026, allocations: 6.156 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.8026, allocations: 2.703 kB / 1.092 GB, free: 2.691 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.952e-05/0.8027, allocations: 122 kB / 1.092 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.173e-05/0.8027, allocations: 7.156 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.453e-05/0.8028, allocations: 17.56 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.8028, allocations: 1 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.8028, allocations: 0 / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.8028, allocations: 1.188 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002707/0.803, allocations: 467.6 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.8031, allocations: 8.047 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.935e-05/0.8031, allocations: 3.891 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.8031, allocations: 1.156 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.8031, allocations: 1.094 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.8031, allocations: 8.531 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.8031, allocations: 1.25 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.11e-05/0.8032, allocations: 84.06 kB / 1.093 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.9e-05/0.8032, allocations: 90.17 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.8032, allocations: 1.859 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.972e-05/0.8033, allocations: 1.031 kB / 1.093 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.318e-05/0.8033, allocations: 6.312 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.8033, allocations: 1.312 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.04e-05/0.8034, allocations: 122.2 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8034, allocations: 0 / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001874/0.8036, allocations: 7.219 kB / 1.093 GB, free: 1.77 MB / 0.8575 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.57e-05/0.8036, allocations: 105.2 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 7.885e-05/0.8037, allocations: 20.34 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.8037, allocations: 0 / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.057e-05/0.8038, allocations: 9.703 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001488/0.8039, allocations: 10.81 kB / 1.093 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000264/0.8042, allocations: 196.9 kB / 1.093 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001425/0.8043, allocations: 0.6917 MB / 1.094 GB, free: 16.77 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.439e-05/0.8044, allocations: 11.53 kB / 1.094 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.8044, allocations: 0 / 1.094 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of Templates: time 0.002248/0.8066, allocations: 0.8685 MB / 1.095 GB, free: 16.68 MB / 0.8731 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches