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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001814/0.001814, allocations: 102.2 kB / 16.35 MB, free: 5.875 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.001752/0.001752, allocations: 194.3 kB / 17.3 MB, free: 5.516 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.486/1.486, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.228/2.228, allocations: 390.3 MB / 0.6655 GB, free: 0.5898 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001308/0.001308, allocations: 63.11 kB / 0.814 GB, free: 32.63 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.324/0.3253, allocations: 140.4 MB / 0.9511 GB, free: 8.051 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002461/0.3278, allocations: 0.8248 MB / 0.9519 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001288/0.3279, allocations: 43.78 kB / 0.952 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.631e-05/0.328, allocations: 0 / 0.952 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.059e-05/0.3281, allocations: 7.875 kB / 0.952 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 9.116e-05/0.3282, allocations: 15.86 kB / 0.952 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.997e-05/0.3282, allocations: 11.98 kB / 0.952 GB, free: 7.148 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001167/0.3283, allocations: 63.84 kB / 0.9521 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.3285, allocations: 39.97 kB / 0.9521 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.292e-05/0.3286, allocations: 23.92 kB / 0.9521 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.188e-05/0.3286, allocations: 31.78 kB / 0.9522 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.109e-05/0.3287, allocations: 12 kB / 0.9522 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.31e-05/0.3287, allocations: 8 kB / 0.9522 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.36e-05/0.3287, allocations: 15.88 kB / 0.9522 GB, free: 6.957 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.66e-05/0.3288, allocations: 35.8 kB / 0.9522 GB, free: 6.922 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.3289, allocations: 67.7 kB / 0.9523 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.3289, allocations: 0 / 0.9523 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.764e-06/0.3289, allocations: 0 / 0.9523 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.631e-06/0.3289, allocations: 0 / 0.9523 GB, free: 6.855 MB / 0.7325 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.0004736/0.3294, allocations: 384.3 kB / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.3294, allocations: 19.97 kB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.13e-05/0.3295, allocations: 8.844 kB / 0.9527 GB, free: 6.402 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000217/0.3297, allocations: 196.1 kB / 0.9529 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.257e-05/0.3297, allocations: 4.375 kB / 0.9529 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.351e-05/0.3297, allocations: 8.375 kB / 0.9529 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001583/0.3299, allocations: 95.84 kB / 0.953 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.3299, allocations: 4.125 kB / 0.953 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.3299, allocations: 7.938 kB / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.526e-06/0.33, allocations: 8 kB / 0.953 GB, free: 6.035 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.53e-05/0.33, allocations: 35.98 kB / 0.953 GB, free: 6 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005458/0.3306, allocations: 428.8 kB / 0.9534 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 5.568e-05/0.3307, allocations: 41.14 kB / 0.9535 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.809e-05/0.3307, allocations: 21.78 kB / 0.9535 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.508e-06/0.3307, allocations: 3.984 kB / 0.9535 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.251e-05/0.3307, allocations: 38.5 kB / 0.9535 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.3308, allocations: 0 / 0.9535 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001835/0.3309, allocations: 53.55 kB / 0.9536 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.331, allocations: 81.3 kB / 0.9537 GB, free: 5.234 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001466/0.3312, allocations: 168 kB / 0.9538 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.3312, allocations: 25.7 kB / 0.9539 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.619e-05/0.3312, allocations: 108 kB / 0.954 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.488e-06/0.3313, allocations: 7.906 kB / 0.954 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.938e-05/0.3313, allocations: 13.72 kB / 0.954 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000117/0.3314, allocations: 318.8 kB / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.831e-05/0.3314, allocations: 8 kB / 0.9543 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.619e-05/0.3315, allocations: 25.7 kB / 0.9543 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.875e-05/0.3315, allocations: 21.72 kB / 0.9543 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.267e-06/0.3315, allocations: 0 / 0.9543 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.577e-05/0.3316, allocations: 61.55 kB / 0.9544 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.3316, allocations: 4 kB / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.3316, allocations: 7.922 kB / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3317, allocations: 0 / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.058e-05/0.3317, allocations: 12.06 kB / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.3317, allocations: 0 / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.985e-05/0.3318, allocations: 19.72 kB / 0.9544 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.3318, allocations: 0 / 0.9544 GB, free: 4.398 MB / 0.7325 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 8.734e-05/0.3319, allocations: 113.8 kB / 0.9545 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.226e-05/0.3319, allocations: 7.906 kB / 0.9545 GB, free: 4.27 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.602e-05/0.3319, allocations: 15.8 kB / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.332, allocations: 0 / 0.9546 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.332, allocations: 3.938 kB / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.332, allocations: 4 kB / 0.9546 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003883/0.3324, allocations: 474.8 kB / 0.955 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3324, allocations: 0 / 0.955 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.812e-05/0.3324, allocations: 4 kB / 0.955 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.3324, allocations: 0 / 0.955 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.3324, allocations: 0 / 0.955 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/0.3324, allocations: 4 kB / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.3324, allocations: 4.062 kB / 0.955 GB, free: 3.707 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.641e-05/0.3325, allocations: 85.77 kB / 0.9551 GB, free: 3.602 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.482e-05/0.3326, allocations: 85.02 kB / 0.9552 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.3326, allocations: 3.984 kB / 0.9552 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.886e-05/0.3326, allocations: 0 / 0.9552 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.3327, allocations: 0 / 0.9552 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.773e-06/0.3327, allocations: 8.031 kB / 0.9552 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.8e-05/0.3328, allocations: 122.3 kB / 0.9553 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3328, allocations: 0 / 0.9553 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001807/0.333, allocations: 8 kB / 0.9553 GB, free: 3.363 MB / 0.7325 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 0.0001144/0.3331, allocations: 99.25 kB / 0.9554 GB, free: 3.258 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.566e-05/0.3332, allocations: 15.94 kB / 0.9554 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3332, allocations: 4 kB / 0.9554 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.241e-05/0.3332, allocations: 12.11 kB / 0.9555 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000159/0.3334, allocations: 10.28 kB / 0.9555 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002992/0.3337, allocations: 162.8 kB / 0.9556 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002577/0.3339, allocations: 0.6961 MB / 0.9563 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.375e-05/0.334, allocations: 8.422 kB / 0.9563 GB, free: 2.293 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.565e-05/0.334, allocations: 15.56 kB / 0.9563 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of SimCode: time 2.2e-07/0.334, allocations: 0 / 0.9563 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of Templates: time 0.00257/0.3366, allocations: 452.6 kB / 0.9568 GB, free: 1.836 MB / 0.7325 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 -s cvode -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