Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00123/0.00123, allocations: 190.9 kB / 16.25 MB, free: 6.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.495/1.495, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.969/2.969, allocations: 461.9 MB / 0.7343 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 62.14 kB / 0.8986 GB, free: 37.22 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3639, allocations: 157.4 MB / 1.052 GB, free: 8.773 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002416/0.3664, allocations: 0.8841 MB / 1.053 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001265/0.3665, allocations: 43.78 kB / 1.053 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.304e-05/0.3666, allocations: 0 / 1.053 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.184e-05/0.3666, allocations: 7.922 kB / 1.053 GB, free: 7.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.942e-05/0.3667, allocations: 0 / 1.053 GB, free: 7.836 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.084e-05/0.3668, allocations: 19.98 kB / 1.053 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.3669, allocations: 67.7 kB / 1.053 GB, free: 7.75 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001439/0.3671, allocations: 51.94 kB / 1.053 GB, free: 7.699 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.246e-05/0.3671, allocations: 23.88 kB / 1.053 GB, free: 7.676 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.228e-05/0.3672, allocations: 27.84 kB / 1.053 GB, free: 7.648 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.931e-05/0.3672, allocations: 12 kB / 1.053 GB, free: 7.637 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.348e-06/0.3672, allocations: 4 kB / 1.053 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.3672, allocations: 11.94 kB / 1.053 GB, free: 7.621 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.452e-05/0.3673, allocations: 47.66 kB / 1.053 GB, free: 7.574 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00011/0.3674, allocations: 64.06 kB / 1.054 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.3674, allocations: 0 / 1.054 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.052e-06/0.3674, allocations: 0 / 1.054 GB, free: 7.512 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.3674, allocations: 0 / 1.054 GB, free: 7.512 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.0004167/0.3679, allocations: 379.2 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.3679, allocations: 12.62 kB / 1.054 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.766e-05/0.3679, allocations: 12.84 kB / 1.054 GB, free: 7.066 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001965/0.3681, allocations: 192.1 kB / 1.054 GB, free: 6.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.182e-05/0.3682, allocations: 8.375 kB / 1.054 GB, free: 6.832 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.443e-05/0.3682, allocations: 4.375 kB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001535/0.3683, allocations: 105.8 kB / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.3684, allocations: 192 / 1.054 GB, free: 6.715 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.3684, allocations: 3.938 kB / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.3684, allocations: 0 / 1.054 GB, free: 6.711 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.5e-05/0.3685, allocations: 51.8 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006129/0.3691, allocations: 428.6 kB / 1.055 GB, free: 6.188 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 5.888e-05/0.3692, allocations: 45.19 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.58e-05/0.3692, allocations: 25.84 kB / 1.055 GB, free: 6.094 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.3692, allocations: 3.984 kB / 1.055 GB, free: 6.09 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.3692, allocations: 30.56 kB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3693, allocations: 0 / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001693/0.3694, allocations: 57.48 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.052e-05/0.3695, allocations: 81.36 kB / 1.055 GB, free: 5.891 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001543/0.3696, allocations: 158.2 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.339e-05/0.3697, allocations: 25.7 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.509e-05/0.3697, allocations: 104 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.092e-05/0.3698, allocations: 7.906 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.325e-05/0.3698, allocations: 13.72 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3699, allocations: 322.8 kB / 1.055 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.869e-05/0.37, allocations: 8 kB / 1.055 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.004e-05/0.37, allocations: 21.7 kB / 1.056 GB, free: 5.203 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.387e-05/0.3701, allocations: 29.66 kB / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.3701, allocations: 0 / 1.056 GB, free: 5.168 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.538e-05/0.3702, allocations: 57.55 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.3702, allocations: 4 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3702, allocations: 7.922 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.3702, allocations: 4.062 kB / 1.056 GB, free: 5.09 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.538e-05/0.3703, allocations: 12 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.3703, allocations: 3.984 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.207e-05/0.3703, allocations: 7.844 kB / 1.056 GB, free: 5.066 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.081e-06/0.3703, allocations: 4 kB / 1.056 GB, free: 5.062 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.347e-05/0.3704, allocations: 115.4 kB / 1.056 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.165e-05/0.3705, allocations: 7.906 kB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.856e-05/0.3705, allocations: 15.8 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.3705, allocations: 4 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.3705, allocations: 4 kB / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3705, allocations: 0 / 1.056 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003725/0.3709, allocations: 470.8 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.3709, allocations: 0 / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.045e-05/0.371, allocations: 7.938 kB / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.371, allocations: 0 / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.371, allocations: 0 / 1.056 GB, free: 4.379 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.371, allocations: 4.062 kB / 1.056 GB, free: 4.375 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/0.371, allocations: 4 kB / 1.056 GB, free: 4.371 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.707e-05/0.3711, allocations: 85.7 kB / 1.056 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.241e-05/0.3712, allocations: 85.11 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.3712, allocations: 11.97 kB / 1.056 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.036e-05/0.3712, allocations: 0 / 1.056 GB, free: 4.152 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.359e-05/0.3712, allocations: 4.031 kB / 1.056 GB, free: 4.148 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.3712, allocations: 4 kB / 1.056 GB, free: 4.145 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.664e-05/0.3713, allocations: 118.1 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of sort global known variables: time 2.41e-07/0.3713, allocations: 0 / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001894/0.3715, allocations: 8 kB / 1.057 GB, free: 4.023 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.0001147/0.3716, allocations: 99.25 kB / 1.057 GB, free: 3.918 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.099e-05/0.3717, allocations: 15.94 kB / 1.057 GB, free: 3.902 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.3717, allocations: 8.125 kB / 1.057 GB, free: 3.895 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.266e-05/0.3718, allocations: 7.984 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001638/0.3719, allocations: 15.73 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003129/0.3723, allocations: 182.9 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002895/0.3726, allocations: 0.6924 MB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.341e-05/0.3726, allocations: 8.422 kB / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.386e-05/0.3726, allocations: 11.44 kB / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of SimCode: time 3.81e-07/0.3726, allocations: 0 / 1.058 GB, free: 2.926 MB / 0.8106 GB Notification: Performance of Templates: time 0.002701/0.3753, allocations: 452.5 kB / 1.058 GB, free: 2.484 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches