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.006698/0.006698, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001528/0.001528, allocations: 197.3 kB / 16.79 MB, free: 6.254 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.42/1.42, allocations: 222.9 MB / 240.5 MB, free: 4.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.787/2.787, allocations: 461.9 MB / 0.7348 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00135/0.00135, allocations: 62.86 kB / 0.899 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3044/0.3058, allocations: 157.4 MB / 1.053 GB, free: 8.34 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002186/0.308, allocations: 0.892 MB / 1.054 GB, free: 7.445 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001019/0.3081, allocations: 39.8 kB / 1.054 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.769e-05/0.3082, allocations: 0 / 1.054 GB, free: 7.406 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.874e-05/0.3082, allocations: 7.922 kB / 1.054 GB, free: 7.398 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.981e-05/0.3083, allocations: 7.922 kB / 1.054 GB, free: 7.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 4.044e-05/0.3084, allocations: 16 kB / 1.054 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.837e-05/0.3084, allocations: 63.75 kB / 1.054 GB, free: 7.312 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001325/0.3086, allocations: 35.97 kB / 1.054 GB, free: 7.277 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.777e-05/0.3087, allocations: 31.86 kB / 1.054 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.619e-05/0.3087, allocations: 27.73 kB / 1.054 GB, free: 7.219 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.745e-05/0.3087, allocations: 4 kB / 1.054 GB, free: 7.215 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.438e-06/0.3087, allocations: 4 kB / 1.054 GB, free: 7.211 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.998e-05/0.3088, allocations: 11.98 kB / 1.054 GB, free: 7.199 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.499e-05/0.3088, allocations: 35.73 kB / 1.054 GB, free: 7.164 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 7.353e-05/0.3089, allocations: 48.17 kB / 1.054 GB, free: 7.117 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3089, allocations: 8 kB / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3089, allocations: 0 / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.3089, allocations: 0 / 1.054 GB, free: 7.109 MB / 0.8106 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.0004315/0.3093, allocations: 383.3 kB / 1.054 GB, free: 6.684 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.519e-05/0.3094, allocations: 8.031 kB / 1.054 GB, free: 6.676 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.3094, allocations: 8.844 kB / 1.054 GB, free: 6.668 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.3096, allocations: 196.1 kB / 1.055 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.3096, allocations: 384 / 1.055 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.3097, allocations: 12.38 kB / 1.055 GB, free: 6.426 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.3098, allocations: 93.58 kB / 1.055 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/0.3098, allocations: 4.172 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.3099, allocations: 7.938 kB / 1.055 GB, free: 6.312 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/0.3099, allocations: 4 kB / 1.055 GB, free: 6.309 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.615e-05/0.31, allocations: 39.92 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007008/0.3107, allocations: 436.5 kB / 1.055 GB, free: 5.789 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.046e-05/0.3107, allocations: 45.34 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.504e-05/0.3108, allocations: 13.78 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.3108, allocations: 7.938 kB / 1.055 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.547e-05/0.3108, allocations: 34.56 kB / 1.055 GB, free: 5.656 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3108, allocations: 3.938 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001753/0.311, allocations: 61.47 kB / 1.055 GB, free: 5.586 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.529e-05/0.3111, allocations: 77.11 kB / 1.055 GB, free: 5.492 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.3112, allocations: 165.7 kB / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.3113, allocations: 25.7 kB / 1.055 GB, free: 5.293 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/0.3113, allocations: 108 kB / 1.056 GB, free: 5.184 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.244e-06/0.3113, allocations: 7.844 kB / 1.056 GB, free: 5.176 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.218e-05/0.3114, allocations: 17.72 kB / 1.056 GB, free: 5.152 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.000115/0.3115, allocations: 323.1 kB / 1.056 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.713e-05/0.3115, allocations: 4 kB / 1.056 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.085e-05/0.3115, allocations: 17.72 kB / 1.056 GB, free: 4.801 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.031e-05/0.3116, allocations: 25.72 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3116, allocations: 0 / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.366e-05/0.3117, allocations: 61.59 kB / 1.056 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.3117, allocations: 8 kB / 1.056 GB, free: 4.695 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.689e-06/0.3117, allocations: 7.938 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.3117, allocations: 0 / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.402e-05/0.3118, allocations: 4 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3118, allocations: 0 / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.043e-05/0.3119, allocations: 11.84 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.3119, allocations: 3.984 kB / 1.056 GB, free: 4.668 MB / 0.8106 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.317e-05/0.312, allocations: 113.8 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.265e-05/0.312, allocations: 7.906 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.695e-05/0.312, allocations: 23.75 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.312, allocations: 0 / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/0.3121, allocations: 4 kB / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.3121, allocations: 0 / 1.056 GB, free: 4.512 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003788/0.3124, allocations: 466.8 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/0.3125, allocations: 7.984 kB / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.671e-05/0.3125, allocations: 0 / 1.057 GB, free: 3.984 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.3125, allocations: 4.062 kB / 1.057 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.3125, allocations: 4 kB / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3125, allocations: 0 / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3125, allocations: 0 / 1.057 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.797e-05/0.3126, allocations: 77.84 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.833e-05/0.3127, allocations: 92.94 kB / 1.057 GB, free: 3.77 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.3127, allocations: 4.031 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.986e-05/0.3127, allocations: 0 / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.922e-05/0.3127, allocations: 11.94 kB / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.914e-06/0.3127, allocations: 0 / 1.057 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.867e-05/0.3128, allocations: 123.2 kB / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3128, allocations: 0 / 1.057 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001805/0.313, allocations: 8 kB / 1.057 GB, free: 3.625 MB / 0.8106 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.0001453/0.3132, allocations: 99.23 kB / 1.057 GB, free: 3.52 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.06e-05/0.3133, allocations: 20 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.3133, allocations: 0 / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.169e-05/0.3133, allocations: 7.938 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.3135, allocations: 13.83 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.3138, allocations: 210.5 kB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.314, allocations: 0.6887 MB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.55e-05/0.3141, allocations: 11.44 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of SimCode: time 3.1e-07/0.3141, allocations: 0 / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of Templates: time 0.002115/0.3162, allocations: 0.8599 MB / 1.059 GB, free: 1.645 MB / 0.8106 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches