Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001541/0.001541, allocations: 107.4 kB / 16.27 MB, free: 6.41 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.001533/0.001533, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.426/1.426, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.577/2.577, allocations: 437.1 MB / 0.7111 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001989/0.001989, allocations: 75.92 kB / 0.8699 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2914/0.2934, allocations: 151.6 MB / 1.018 GB, free: 10.61 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002186/0.2956, allocations: 0.8342 MB / 1.019 GB, free: 9.777 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001091/0.2958, allocations: 39.78 kB / 1.019 GB, free: 9.738 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.79e-05/0.2958, allocations: 7.938 kB / 1.019 GB, free: 9.73 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 4.042e-05/0.2959, allocations: 11.86 kB / 1.019 GB, free: 9.719 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.552e-05/0.296, allocations: 3.938 kB / 1.019 GB, free: 9.715 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 5.074e-05/0.296, allocations: 23.92 kB / 1.019 GB, free: 9.691 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.2961, allocations: 63.75 kB / 1.019 GB, free: 9.629 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000155/0.2963, allocations: 47.95 kB / 1.019 GB, free: 9.582 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.779e-05/0.2964, allocations: 27.86 kB / 1.019 GB, free: 9.555 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 4.964e-05/0.2964, allocations: 23.86 kB / 1.019 GB, free: 9.531 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.831e-05/0.2964, allocations: 8 kB / 1.019 GB, free: 9.523 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.042e-05/0.2965, allocations: 4 kB / 1.019 GB, free: 9.52 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.897e-05/0.2965, allocations: 27.86 kB / 1.019 GB, free: 9.492 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.105e-05/0.2966, allocations: 39.73 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.2967, allocations: 64.05 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2967, allocations: 0 / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2967, allocations: 0 / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of Transformations before backend: time 4.057e-06/0.2967, allocations: 0 / 1.019 GB, free: 9.391 MB / 0.795 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.0005002/0.2972, allocations: 383.2 kB / 1.02 GB, free: 8.965 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.2973, allocations: 8.922 kB / 1.02 GB, free: 8.957 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.2973, allocations: 8.844 kB / 1.02 GB, free: 8.949 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.2975, allocations: 192.2 kB / 1.02 GB, free: 8.723 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.326e-06/0.2975, allocations: 4.375 kB / 1.02 GB, free: 8.719 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.942e-05/0.2976, allocations: 8.375 kB / 1.02 GB, free: 8.711 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.2977, allocations: 98.3 kB / 1.02 GB, free: 8.605 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2978, allocations: 12.11 kB / 1.02 GB, free: 8.594 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.2978, allocations: 3.938 kB / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.369e-06/0.2978, allocations: 0 / 1.02 GB, free: 8.59 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.798e-05/0.2979, allocations: 39.92 kB / 1.02 GB, free: 8.551 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005789/0.2985, allocations: 436.6 kB / 1.02 GB, free: 8.07 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 6.095e-05/0.2985, allocations: 41.19 kB / 1.02 GB, free: 8.012 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.836e-05/0.2986, allocations: 21.84 kB / 1.02 GB, free: 7.984 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.2986, allocations: 0 / 1.02 GB, free: 7.984 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.03e-05/0.2986, allocations: 38.55 kB / 1.02 GB, free: 7.938 MB / 0.795 GB Notification: Performance of pre-optimization done (n=2): time 8.72e-07/0.2986, allocations: 0 / 1.02 GB, free: 7.938 MB / 0.795 GB Notification: Performance of matching and sorting (n=2): time 0.0001817/0.2988, allocations: 57.48 kB / 1.02 GB, free: 7.875 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.2989, allocations: 77.11 kB / 1.021 GB, free: 7.781 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000168/0.2991, allocations: 162.5 kB / 1.021 GB, free: 7.609 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.2991, allocations: 25.7 kB / 1.021 GB, free: 7.578 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.914e-05/0.2992, allocations: 104 kB / 1.021 GB, free: 7.473 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.106e-06/0.2992, allocations: 3.906 kB / 1.021 GB, free: 7.469 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.582e-05/0.2992, allocations: 21.66 kB / 1.021 GB, free: 7.441 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2994, allocations: 322.8 kB / 1.021 GB, free: 7.117 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.716e-05/0.2994, allocations: 4 kB / 1.021 GB, free: 7.113 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.04e-05/0.2994, allocations: 21.7 kB / 1.021 GB, free: 7.086 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.004e-05/0.2995, allocations: 29.66 kB / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.2995, allocations: 0 / 1.021 GB, free: 7.051 MB / 0.795 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.914e-05/0.2996, allocations: 61.55 kB / 1.021 GB, free: 6.984 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.2996, allocations: 4 kB / 1.021 GB, free: 6.98 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.2996, allocations: 3.938 kB / 1.021 GB, free: 6.977 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.286e-05/0.2996, allocations: 0 / 1.021 GB, free: 6.977 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.066e-05/0.2997, allocations: 11.98 kB / 1.021 GB, free: 6.965 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.2997, allocations: 4.062 kB / 1.021 GB, free: 6.961 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.344e-05/0.2997, allocations: 11.84 kB / 1.021 GB, free: 6.949 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.2997, allocations: 4 kB / 1.021 GB, free: 6.945 MB / 0.795 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 9.292e-05/0.2998, allocations: 114.5 kB / 1.021 GB, free: 6.824 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.494e-05/0.2999, allocations: 7.906 kB / 1.021 GB, free: 6.816 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.473e-05/0.2999, allocations: 15.8 kB / 1.021 GB, free: 6.801 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.2999, allocations: 4.094 kB / 1.021 GB, free: 6.797 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.2999, allocations: 0 / 1.021 GB, free: 6.797 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.3, allocations: 7.922 kB / 1.021 GB, free: 6.789 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004327/0.3004, allocations: 470.8 kB / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.3004, allocations: 0 / 1.022 GB, free: 6.266 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.969e-05/0.3004, allocations: 4 kB / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.185e-06/0.3004, allocations: 0 / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/0.3004, allocations: 0 / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.3005, allocations: 0 / 1.022 GB, free: 6.262 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.3005, allocations: 7.938 kB / 1.022 GB, free: 6.254 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.73e-05/0.3006, allocations: 85.89 kB / 1.022 GB, free: 6.148 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.789e-05/0.3006, allocations: 81.02 kB / 1.022 GB, free: 6.051 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.3007, allocations: 7.984 kB / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.007e-05/0.3007, allocations: 0 / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.595e-05/0.3007, allocations: 0 / 1.022 GB, free: 6.043 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.3007, allocations: 8 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0001023/0.3008, allocations: 121.7 kB / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3008, allocations: 0 / 1.022 GB, free: 5.918 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0001826/0.301, allocations: 8 kB / 1.022 GB, free: 5.91 MB / 0.795 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.0001184/0.3011, allocations: 99.25 kB / 1.022 GB, free: 5.801 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 8.664e-05/0.3012, allocations: 15.94 kB / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.3012, allocations: 0 / 1.022 GB, free: 5.785 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.05e-05/0.3012, allocations: 4 kB / 1.022 GB, free: 5.781 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001562/0.3014, allocations: 20.17 kB / 1.022 GB, free: 5.762 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003382/0.3018, allocations: 188.4 kB / 1.023 GB, free: 5.539 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000336/0.3021, allocations: 0.6963 MB / 1.023 GB, free: 4.816 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.651e-05/0.3021, allocations: 11.44 kB / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.3021, allocations: 0 / 1.023 GB, free: 4.805 MB / 0.795 GB Notification: Performance of Templates: time 0.002502/0.3046, allocations: 0.8575 MB / 1.024 GB, free: 3.949 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches