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.001401/0.001401, allocations: 103.5 kB / 16.41 MB, free: 6.508 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.001477/0.001477, allocations: 189.7 kB / 17.34 MB, free: 5.742 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.417/1.417, allocations: 222.9 MB / 241 MB, free: 15.14 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.331/2.331, allocations: 390.3 MB / 0.6655 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 63.89 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8939/0.8953, allocations: 140.4 MB / 1.089 GB, free: 5.52 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001873/0.8972, allocations: 0.8334 MB / 1.089 GB, free: 4.977 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001019/0.8974, allocations: 48.14 kB / 1.089 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.892e-05/0.8974, allocations: 2.156 kB / 1.089 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.427e-05/0.8975, allocations: 9.328 kB / 1.089 GB, free: 4.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.552e-05/0.8976, allocations: 6.438 kB / 1.089 GB, free: 4.926 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.549e-05/0.8976, allocations: 16.12 kB / 1.09 GB, free: 4.918 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001034/0.8977, allocations: 67.55 kB / 1.09 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001384/0.8979, allocations: 38.12 kB / 1.09 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.989e-05/0.8979, allocations: 26.52 kB / 1.09 GB, free: 4.852 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.704e-05/0.898, allocations: 34.17 kB / 1.09 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.767e-05/0.898, allocations: 5.906 kB / 1.09 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.147e-05/0.898, allocations: 6.438 kB / 1.09 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.029e-05/0.898, allocations: 20.69 kB / 1.09 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.047e-05/0.8981, allocations: 33.06 kB / 1.09 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001112/0.8982, allocations: 77.98 kB / 1.09 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.8982, allocations: 1.125 kB / 1.09 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.693e-06/0.8982, allocations: 0 / 1.09 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.8982, allocations: 0.6094 kB / 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.000326/0.8985, allocations: 373.6 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.194e-05/0.8986, allocations: 9.656 kB / 1.09 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.208e-05/0.8986, allocations: 13.94 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.8988, allocations: 192.8 kB / 1.09 GB, free: 4.152 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.8988, allocations: 11.88 kB / 1.09 GB, free: 4.145 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.8988, allocations: 8.875 kB / 1.09 GB, free: 4.141 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.899, allocations: 86.48 kB / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.899, allocations: 192 / 1.09 GB, free: 4.078 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.899, allocations: 8.906 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.899, allocations: 3.203 kB / 1.09 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.456e-05/0.8991, allocations: 39.33 kB / 1.091 GB, free: 4.055 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004221/0.8995, allocations: 435.1 kB / 1.091 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.679e-05/0.8996, allocations: 41.78 kB / 1.091 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.047e-05/0.8996, allocations: 24.12 kB / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 9.107e-06/0.8996, allocations: 0 / 1.091 GB, free: 3.574 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.592e-05/0.8996, allocations: 36.72 kB / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.8997, allocations: 0 / 1.091 GB, free: 3.531 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.000157/0.8998, allocations: 57.41 kB / 1.091 GB, free: 3.484 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.076e-05/0.8999, allocations: 82.62 kB / 1.091 GB, free: 3.387 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.9, allocations: 154.9 kB / 1.091 GB, free: 3.273 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.811e-06/0.9, allocations: 25.7 kB / 1.091 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.224e-05/0.9001, allocations: 112.7 kB / 1.091 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 7.534e-06/0.9001, allocations: 8.859 kB / 1.091 GB, free: 3.129 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.888e-05/0.9001, allocations: 18.56 kB / 1.091 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.389e-05/0.9001, allocations: 315.8 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.878e-05/0.9002, allocations: 11.73 kB / 1.092 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.979e-05/0.9002, allocations: 23.88 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.389e-05/0.9002, allocations: 27.19 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.9002, allocations: 1.406 kB / 1.092 GB, free: 2.742 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.299e-05/0.9003, allocations: 57.03 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.9003, allocations: 8.234 kB / 1.092 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.9003, allocations: 5.125 kB / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.9004, allocations: 0 / 1.092 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.822e-05/0.9004, allocations: 10.97 kB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.9004, allocations: 5.031 kB / 1.092 GB, free: 2.688 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.006e-05/0.9005, allocations: 6.688 kB / 1.092 GB, free: 2.684 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.9005, allocations: 5.375 kB / 1.092 GB, free: 2.68 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.748e-05/0.9005, allocations: 114 kB / 1.092 GB, free: 2.562 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.277e-05/0.9006, allocations: 9.172 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.408e-05/0.9006, allocations: 11.45 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.9006, allocations: 1.094 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.9006, allocations: 1.719 kB / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.185e-06/0.9006, allocations: 0 / 1.092 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002788/0.9009, allocations: 474.6 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.9009, allocations: 0.9375 kB / 1.093 GB, free: 2.059 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.08e-05/0.9009, allocations: 11.19 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.901, allocations: 1.781 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.901, allocations: 1.062 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.901, allocations: 5.031 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.901, allocations: 0.5156 kB / 1.093 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.118e-05/0.901, allocations: 85.31 kB / 1.093 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.916e-05/0.9011, allocations: 90.48 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.9011, allocations: 1.375 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.098e-05/0.9011, allocations: 0.5156 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.648e-05/0.9011, allocations: 2.031 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.445e-06/0.9012, allocations: 1.375 kB / 1.093 GB, free: 1.855 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.352e-05/0.9012, allocations: 121.4 kB / 1.093 GB, free: 1.77 MB / 0.8575 GB Notification: Performance of sort global known variables: time 5.51e-07/0.9012, allocations: 4.031 kB / 1.093 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001887/0.9014, allocations: 15.91 kB / 1.093 GB, free: 1.758 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.44e-05/0.9015, allocations: 96.73 kB / 1.093 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.518e-05/0.9016, allocations: 20.67 kB / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.9016, allocations: 0 / 1.093 GB, free: 1.664 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-05/0.9016, allocations: 9.516 kB / 1.093 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001517/0.9018, allocations: 10.66 kB / 1.093 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.9021, allocations: 192.1 kB / 1.093 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001582/0.9023, allocations: 0.6923 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.9023, allocations: 12.12 kB / 1.094 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of SimCode: time 2.61e-07/0.9023, allocations: 0 / 1.094 GB, free: 16.76 MB / 0.8731 GB Notification: Performance of Templates: time 0.002506/0.9048, allocations: 0.8647 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