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.002121/0.002121, allocations: 111.4 kB / 16.37 MB, free: 5.539 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.002003/0.002003, allocations: 193 kB / 17.31 MB, free: 5.18 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 / 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.302/2.302, allocations: 390.3 MB / 0.6655 GB, free: 0.5938 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002349/0.002349, allocations: 67.12 kB / 0.814 GB, free: 32.57 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3766, allocations: 140.4 MB / 0.9511 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002565/0.3792, allocations: 0.8248 MB / 0.9519 GB, free: 7.234 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001542/0.3794, allocations: 43.8 kB / 0.952 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.648e-05/0.3795, allocations: 4 kB / 0.952 GB, free: 7.188 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.914e-05/0.3796, allocations: 7.922 kB / 0.952 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.87e-05/0.3797, allocations: 7.875 kB / 0.952 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.673e-05/0.3797, allocations: 15.98 kB / 0.952 GB, free: 7.156 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.3799, allocations: 67.77 kB / 0.9521 GB, free: 7.09 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000201/0.3801, allocations: 39.97 kB / 0.9521 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.896e-05/0.3801, allocations: 23.88 kB / 0.9521 GB, free: 7.027 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 8.066e-05/0.3802, allocations: 31.84 kB / 0.9522 GB, free: 6.996 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.091e-05/0.3803, allocations: 4 kB / 0.9522 GB, free: 6.992 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.777e-05/0.3803, allocations: 8 kB / 0.9522 GB, free: 6.984 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.3804, allocations: 11.94 kB / 0.9522 GB, free: 6.973 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.922e-05/0.3804, allocations: 35.73 kB / 0.9522 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001499/0.3806, allocations: 75.64 kB / 0.9523 GB, free: 6.863 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.528e-06/0.3806, allocations: 4 kB / 0.9523 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.667e-06/0.3806, allocations: 0 / 0.9523 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.3806, allocations: 7.938 kB / 0.9523 GB, free: 6.852 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.0005722/0.3812, allocations: 379.1 kB / 0.9527 GB, free: 6.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.784e-05/0.3813, allocations: 12.03 kB / 0.9527 GB, free: 6.418 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.3813, allocations: 8.844 kB / 0.9527 GB, free: 6.41 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.3816, allocations: 188.2 kB / 0.9529 GB, free: 6.188 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.3816, allocations: 12.31 kB / 0.9529 GB, free: 6.176 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.3816, allocations: 8.375 kB / 0.9529 GB, free: 6.168 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.3818, allocations: 98.05 kB / 0.953 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3818, allocations: 192 / 0.953 GB, free: 6.062 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.537e-05/0.3819, allocations: 7.938 kB / 0.953 GB, free: 6.055 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.604e-06/0.3819, allocations: 4 kB / 0.953 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.94e-05/0.382, allocations: 35.92 kB / 0.953 GB, free: 6.016 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006042/0.3826, allocations: 436.7 kB / 0.9534 GB, free: 5.535 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.178e-05/0.3827, allocations: 41.23 kB / 0.9535 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.736e-05/0.3827, allocations: 17.78 kB / 0.9535 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.3827, allocations: 0 / 0.9535 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.704e-05/0.3827, allocations: 38.56 kB / 0.9535 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.3828, allocations: 0 / 0.9535 GB, free: 5.406 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0002246/0.383, allocations: 57.47 kB / 0.9536 GB, free: 5.344 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.679e-05/0.383, allocations: 77.11 kB / 0.9537 GB, free: 5.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001713/0.3832, allocations: 168 kB / 0.9538 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.3832, allocations: 25.7 kB / 0.9539 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.192e-05/0.3833, allocations: 104 kB / 0.9539 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.175e-05/0.3833, allocations: 12.14 kB / 0.954 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-05/0.3834, allocations: 21.72 kB / 0.954 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.3835, allocations: 310.8 kB / 0.9543 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.144e-05/0.3835, allocations: 15.92 kB / 0.9543 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.626e-05/0.3836, allocations: 21.66 kB / 0.9543 GB, free: 4.547 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.226e-05/0.3836, allocations: 21.72 kB / 0.9543 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3836, allocations: 4 kB / 0.9543 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.466e-05/0.3837, allocations: 61.53 kB / 0.9544 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.3837, allocations: 4 kB / 0.9544 GB, free: 4.445 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3838, allocations: 3.938 kB / 0.9544 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.3838, allocations: 0 / 0.9544 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.706e-05/0.3839, allocations: 12 kB / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.3839, allocations: 0 / 0.9544 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.084e-05/0.3839, allocations: 11.84 kB / 0.9544 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.072e-06/0.3839, allocations: 4 kB / 0.9544 GB, free: 4.414 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 0.0001654/0.3841, allocations: 121.4 kB / 0.9545 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.417e-05/0.3841, allocations: 11.89 kB / 0.9546 GB, free: 4.277 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.865e-05/0.3842, allocations: 15.75 kB / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3842, allocations: 0 / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.3842, allocations: 0 / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.925e-06/0.3842, allocations: 0 / 0.9546 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004067/0.3846, allocations: 470.9 kB / 0.955 GB, free: 3.738 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3846, allocations: 4.062 kB / 0.955 GB, free: 3.734 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.45e-05/0.3846, allocations: 7.984 kB / 0.955 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.3847, allocations: 0 / 0.955 GB, free: 3.727 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.3847, allocations: 3.984 kB / 0.955 GB, free: 3.723 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.3847, allocations: 7.938 kB / 0.955 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3847, allocations: 0 / 0.955 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.303e-05/0.3848, allocations: 81.84 kB / 0.9551 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.398e-05/0.3848, allocations: 89 kB / 0.9552 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.3849, allocations: 0 / 0.9552 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.888e-05/0.3849, allocations: 0 / 0.9552 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.3849, allocations: 0 / 0.9552 GB, free: 3.508 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-06/0.3849, allocations: 4 kB / 0.9552 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001015/0.385, allocations: 122.3 kB / 0.9553 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.385, allocations: 0 / 0.9553 GB, free: 3.387 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000185/0.3852, allocations: 12 kB / 0.9553 GB, free: 3.375 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.0001427/0.3854, allocations: 107 kB / 0.9554 GB, free: 3.266 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.214e-05/0.3855, allocations: 19.98 kB / 0.9555 GB, free: 3.246 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3855, allocations: 3.938 kB / 0.9555 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.237e-05/0.3855, allocations: 7.938 kB / 0.9555 GB, free: 3.234 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001677/0.3857, allocations: 7.938 kB / 0.9555 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003742/0.386, allocations: 163.1 kB / 0.9556 GB, free: 3.031 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.3864, allocations: 0.7039 MB / 0.9563 GB, free: 2.301 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 3.557e-05/0.3864, allocations: 4.438 kB / 0.9563 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.694e-05/0.3864, allocations: 11.44 kB / 0.9563 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.3864, allocations: 0 / 0.9563 GB, free: 2.285 MB / 0.7325 GB Notification: Performance of Templates: time 0.002732/0.3892, allocations: 452.4 kB / 0.9568 GB, free: 1.844 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 cvode -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