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.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.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.001638/0.001638, allocations: 103.3 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.001928/0.001928, 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.39/1.39, 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 11.0.0-master/package.mo): time 2.561/2.561, allocations: 442.6 MB / 0.7165 GB, free: 14.65 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00194/0.00194, allocations: 66.72 kB / 0.8773 GB, free: 10.97 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.375/0.377, allocations: 153 MB / 1.027 GB, free: 2.059 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.00253/0.3795, allocations: 0.8486 MB / 1.028 GB, free: 1.215 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0001093/0.3797, allocations: 43.78 kB / 1.028 GB, free: 1.172 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.3797, allocations: 4 kB / 1.028 GB, free: 1.168 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.318e-05/0.3798, allocations: 11.86 kB / 1.028 GB, free: 1.156 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 7.518e-05/0.3799, allocations: 3.938 kB / 1.028 GB, free: 1.152 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 4.118e-05/0.3799, allocations: 15.98 kB / 1.028 GB, free: 1.137 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001093/0.38, allocations: 67.78 kB / 1.028 GB, free: 1.07 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.3802, allocations: 43.95 kB / 1.028 GB, free: 1.027 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 5.327e-05/0.3803, allocations: 23.88 kB / 1.028 GB, free: 1.004 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.194e-05/0.3803, allocations: 27.84 kB / 1.028 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.414e-05/0.3804, allocations: 4 kB / 1.028 GB, free: 0.9727 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.428e-05/0.3804, allocations: 12 kB / 1.028 GB, free: 0.9609 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.295e-05/0.3804, allocations: 15.92 kB / 1.028 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 6.048e-05/0.3805, allocations: 35.73 kB / 1.028 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/0.3806, allocations: 71.66 kB / 1.028 GB, free: 0.8398 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.3806, allocations: 4 kB / 1.028 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.495e-06/0.3806, allocations: 0 / 1.028 GB, free: 0.8359 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.222e-06/0.3806, allocations: 0 / 1.028 GB, free: 0.8359 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.0004492/0.3811, allocations: 375.2 kB / 1.028 GB, free: 428 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.3811, allocations: 8.031 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.043e-05/0.3812, allocations: 12.84 kB / 1.028 GB, free: 408 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002714/0.3814, allocations: 196.1 kB / 1.028 GB, free: 172 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.3815, allocations: 8.281 kB / 1.028 GB, free: 164 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.166e-05/0.3815, allocations: 8.375 kB / 1.028 GB, free: 156 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002009/0.3817, allocations: 91.94 kB / 1.029 GB, free: 52 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.3817, allocations: 192 / 1.029 GB, free: 52 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.853e-05/0.3817, allocations: 7.938 kB / 1.029 GB, free: 44 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/0.3818, allocations: 4 kB / 1.029 GB, free: 40 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.002e-05/0.3819, allocations: 39.92 kB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006807/0.3826, allocations: 432.6 kB / 1.029 GB, free: 15.52 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.754e-05/0.3827, allocations: 41.28 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.354e-05/0.3827, allocations: 25.77 kB / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 8.296e-06/0.3827, allocations: 0 / 1.029 GB, free: 15.43 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.3828, allocations: 34.56 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.3828, allocations: 0 / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002026/0.383, allocations: 53.48 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.3831, allocations: 77.11 kB / 1.029 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.3832, allocations: 168.7 kB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/0.3833, allocations: 25.7 kB / 1.029 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.689e-05/0.3834, allocations: 108 kB / 1.03 GB, free: 14.92 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.234e-05/0.3834, allocations: 7.906 kB / 1.03 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.691e-05/0.3834, allocations: 21.66 kB / 1.03 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001583/0.3836, allocations: 314.8 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.278e-05/0.3836, allocations: 11.94 kB / 1.03 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.45e-05/0.3836, allocations: 21.7 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.18e-05/0.3837, allocations: 25.72 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.3837, allocations: 4 kB / 1.03 GB, free: 14.5 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.944e-05/0.3838, allocations: 57.62 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.3838, allocations: 6.656 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.3838, allocations: 3.938 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.3838, allocations: 7.984 kB / 1.03 GB, free: 14.42 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.253e-05/0.3839, allocations: 8.062 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.713e-06/0.3839, allocations: 4 kB / 1.03 GB, free: 14.41 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.041e-05/0.3839, allocations: 11.84 kB / 1.03 GB, free: 14.39 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.384, allocations: 0 / 1.03 GB, free: 14.39 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 9.25e-05/0.3841, allocations: 117.8 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.3841, allocations: 7.906 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.637e-05/0.3841, allocations: 15.8 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.3841, allocations: 0 / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.3841, allocations: 0 / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.3842, allocations: 3.938 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003969/0.3846, allocations: 474.8 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.747e-06/0.3846, allocations: 4 kB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.165e-05/0.3846, allocations: 7.938 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.3846, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.3846, allocations: 4 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.474e-06/0.3846, allocations: 3.984 kB / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3846, allocations: 0 / 1.031 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.039e-05/0.3847, allocations: 85.89 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.3848, allocations: 89 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.371e-05/0.3848, allocations: 0 / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.932e-05/0.3848, allocations: 0 / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.643e-05/0.3848, allocations: 7.938 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.843e-06/0.3849, allocations: 0 / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.566e-05/0.385, allocations: 130.5 kB / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.385, allocations: 0 / 1.031 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001981/0.3852, allocations: 12 kB / 1.031 GB, free: 13.34 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.0001264/0.3853, allocations: 99.19 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.575e-05/0.3854, allocations: 19.98 kB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3854, allocations: 0 / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.303e-05/0.3854, allocations: 8.125 kB / 1.031 GB, free: 13.2 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001584/0.3856, allocations: 16 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.3859, allocations: 154.8 kB / 1.031 GB, free: 13 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.3862, allocations: 0.6963 MB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.339e-05/0.3863, allocations: 8.438 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.355e-05/0.3863, allocations: 11.44 kB / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of SimCode: time 2.01e-07/0.3863, allocations: 0 / 1.032 GB, free: 12.25 MB / 0.8106 GB Notification: Performance of Templates: time 0.00238/0.3887, allocations: 446.9 kB / 1.032 GB, free: 11.82 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 -s gbode -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/jenkins1/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