Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.From_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.00121/0.00121, allocations: 102.4 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.001317/0.001318, allocations: 191 kB / 17.29 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 14.97 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.217/2.217, allocations: 390.3 MB / 0.6655 GB, free: 0.5742 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001328, allocations: 69.27 kB / 0.814 GB, free: 32.64 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3031/0.3045, allocations: 140.4 MB / 0.9511 GB, free: 8.055 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002179/0.3067, allocations: 0.8325 MB / 0.9519 GB, free: 7.227 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001101/0.3068, allocations: 43.73 kB / 0.952 GB, free: 7.184 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.96e-05/0.3069, allocations: 4 kB / 0.952 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.233e-05/0.3069, allocations: 7.875 kB / 0.952 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.911e-05/0.307, allocations: 11.86 kB / 0.952 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.414e-05/0.3071, allocations: 15.98 kB / 0.952 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.3072, allocations: 71.83 kB / 0.9521 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001548/0.3074, allocations: 31.98 kB / 0.9521 GB, free: 7.043 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.883e-05/0.3074, allocations: 27.86 kB / 0.9521 GB, free: 7.016 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.799e-05/0.3075, allocations: 31.8 kB / 0.9522 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.3075, allocations: 4 kB / 0.9522 GB, free: 6.98 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.244e-05/0.3075, allocations: 8 kB / 0.9522 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.3076, allocations: 19.92 kB / 0.9522 GB, free: 6.953 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.289e-05/0.3076, allocations: 27.81 kB / 0.9522 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.3077, allocations: 75.69 kB / 0.9523 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3077, allocations: 0 / 0.9523 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.118e-06/0.3077, allocations: 0 / 0.9523 GB, free: 6.852 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.3078, allocations: 3.938 kB / 0.9523 GB, free: 6.848 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.0004741/0.3082, allocations: 379.2 kB / 0.9527 GB, free: 6.426 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.3083, allocations: 12.03 kB / 0.9527 GB, free: 6.414 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.363e-05/0.3083, allocations: 8.844 kB / 0.9527 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.3085, allocations: 200.1 kB / 0.9529 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.3085, allocations: 4.375 kB / 0.9529 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.3086, allocations: 8.375 kB / 0.9529 GB, free: 6.16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/0.3087, allocations: 91.8 kB / 0.953 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3087, allocations: 192 / 0.953 GB, free: 6.059 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.387e-05/0.3087, allocations: 11.94 kB / 0.953 GB, free: 6.047 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3088, allocations: 4 kB / 0.953 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.545e-05/0.3088, allocations: 39.97 kB / 0.953 GB, free: 6.004 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005204/0.3094, allocations: 436.6 kB / 0.9534 GB, free: 5.523 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 4.849e-05/0.3094, allocations: 33.16 kB / 0.9535 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.514e-05/0.3095, allocations: 25.88 kB / 0.9535 GB, free: 5.441 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.3095, allocations: 4 kB / 0.9535 GB, free: 5.438 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.3095, allocations: 30.56 kB / 0.9535 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3095, allocations: 0 / 0.9535 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001876/0.3097, allocations: 57.47 kB / 0.9536 GB, free: 5.336 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.409e-05/0.3098, allocations: 89.36 kB / 0.9537 GB, free: 5.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.3099, allocations: 164.7 kB / 0.9538 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.724e-05/0.3099, allocations: 29.7 kB / 0.9539 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.156e-05/0.31, allocations: 104 kB / 0.954 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.718e-06/0.31, allocations: 7.891 kB / 0.954 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-05/0.3101, allocations: 17.72 kB / 0.954 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.3102, allocations: 318.8 kB / 0.9543 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.756e-05/0.3102, allocations: 4 kB / 0.9543 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.407e-05/0.3102, allocations: 25.72 kB / 0.9543 GB, free: 4.535 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.292e-05/0.3103, allocations: 29.66 kB / 0.9543 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/0.3103, allocations: 0 / 0.9543 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.791e-05/0.3104, allocations: 57.59 kB / 0.9544 GB, free: 4.438 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.3104, allocations: 4 kB / 0.9544 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.3104, allocations: 7.938 kB / 0.9544 GB, free: 4.426 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.3104, allocations: 8 kB / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.948e-05/0.3105, allocations: 4 kB / 0.9544 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.3105, allocations: 0 / 0.9544 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.079e-05/0.3105, allocations: 11.84 kB / 0.9544 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.519e-06/0.3105, allocations: 0 / 0.9544 GB, free: 4.402 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 7.596e-05/0.3106, allocations: 119.8 kB / 0.9545 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.055e-05/0.3107, allocations: 11.84 kB / 0.9545 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.623e-05/0.3107, allocations: 15.81 kB / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.3107, allocations: 0 / 0.9546 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3107, allocations: 4 kB / 0.9546 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.3107, allocations: 4 kB / 0.9546 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003443/0.3111, allocations: 462.8 kB / 0.955 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3111, allocations: 4 kB / 0.955 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.798e-05/0.3111, allocations: 3.984 kB / 0.955 GB, free: 3.719 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.696e-06/0.3111, allocations: 4 kB / 0.955 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.3111, allocations: 0 / 0.955 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3111, allocations: 64 / 0.955 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.91e-07/0.3111, allocations: 4 kB / 0.955 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.244e-05/0.3112, allocations: 81.78 kB / 0.9551 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.084e-05/0.3113, allocations: 89 kB / 0.9552 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.28e-05/0.3113, allocations: 0 / 0.9552 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.033e-05/0.3113, allocations: 4 kB / 0.9552 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.654e-05/0.3113, allocations: 4.031 kB / 0.9552 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.3113, allocations: 0 / 0.9552 GB, free: 3.496 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.884e-05/0.3114, allocations: 125.3 kB / 0.9553 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3114, allocations: 0 / 0.9553 GB, free: 3.375 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0001832/0.3116, allocations: 8 kB / 0.9553 GB, free: 3.367 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.0001268/0.3118, allocations: 99.77 kB / 0.9554 GB, free: 3.262 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.172e-05/0.3119, allocations: 19.94 kB / 0.9554 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3119, allocations: 4.062 kB / 0.9554 GB, free: 3.238 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.538e-06/0.3119, allocations: 8 kB / 0.9555 GB, free: 3.23 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001595/0.312, allocations: 13.66 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.0003348/0.3124, allocations: 170.7 kB / 0.9556 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.3126, allocations: 0.6922 MB / 0.9563 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.361e-05/0.3127, allocations: 12.55 kB / 0.9563 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.3127, allocations: 11.44 kB / 0.9563 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of SimCode: time 3.7e-07/0.3127, allocations: 0 / 0.9563 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of Templates: time 0.002499/0.3152, allocations: 452.6 kB / 0.9568 GB, free: 1.832 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches