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.001425/0.001425, allocations: 107.2 kB / 16.27 MB, free: 6.355 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.001546/0.001546, allocations: 194.9 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.397/1.397, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.621/2.621, allocations: 469.4 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001505, allocations: 66.95 kB / 0.9088 GB, free: 14.16 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3605/0.362, allocations: 159.1 MB / 1.064 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_cfm): time 0.002418/0.3645, allocations: 0.8194 MB / 1.065 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001428/0.3647, allocations: 43.78 kB / 1.065 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.099e-05/0.3647, allocations: 0 / 1.065 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.188e-05/0.3648, allocations: 7.875 kB / 1.065 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.64e-05/0.3649, allocations: 7.875 kB / 1.065 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.651e-05/0.365, allocations: 23.97 kB / 1.065 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.988e-05/0.3651, allocations: 55.86 kB / 1.065 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.3653, allocations: 43.95 kB / 1.065 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.187e-05/0.3653, allocations: 27.86 kB / 1.065 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 6.367e-05/0.3654, allocations: 35.78 kB / 1.065 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.3654, allocations: 4 kB / 1.065 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.3654, allocations: 8 kB / 1.065 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.118e-05/0.3655, allocations: 15.94 kB / 1.065 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.502e-05/0.3655, allocations: 39.73 kB / 1.065 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.3656, allocations: 64.05 kB / 1.065 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.69e-06/0.3656, allocations: 4 kB / 1.065 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3656, allocations: 0 / 1.065 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.3657, allocations: 0 / 1.065 GB, free: 13.85 MB / 0.8419 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.0004504/0.3661, allocations: 379.2 kB / 1.066 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3662, allocations: 8.625 kB / 1.066 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.776e-05/0.3662, allocations: 16.75 kB / 1.066 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002013/0.3664, allocations: 192.2 kB / 1.066 GB, free: 13.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.3664, allocations: 4.375 kB / 1.066 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.3665, allocations: 8.375 kB / 1.066 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.3666, allocations: 105.9 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.3666, allocations: 192 / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.3666, allocations: 3.938 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.718e-06/0.3667, allocations: 0 / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.357e-05/0.3667, allocations: 43.86 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005285/0.3673, allocations: 436.6 kB / 1.067 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.461e-05/0.3673, allocations: 37.31 kB / 1.067 GB, free: 12.47 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.699e-05/0.3674, allocations: 25.7 kB / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 7.604e-06/0.3674, allocations: 0 / 1.067 GB, free: 12.44 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.3674, allocations: 34.56 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 7.92e-07/0.3674, allocations: 0 / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001779/0.3676, allocations: 57.48 kB / 1.067 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.343e-05/0.3677, allocations: 77.11 kB / 1.067 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.3678, allocations: 168.5 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.154e-05/0.3678, allocations: 25.7 kB / 1.067 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.022e-05/0.3679, allocations: 104 kB / 1.067 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.082e-05/0.3679, allocations: 7.891 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.78e-05/0.368, allocations: 17.72 kB / 1.067 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.3681, allocations: 322.8 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.94e-05/0.3681, allocations: 7.938 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.217e-05/0.3681, allocations: 21.7 kB / 1.067 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.844e-05/0.3682, allocations: 25.72 kB / 1.067 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3682, allocations: 0 / 1.067 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.359e-05/0.3683, allocations: 61.55 kB / 1.067 GB, free: 11.44 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.042e-05/0.3683, allocations: 7.984 kB / 1.067 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.3683, allocations: 3.938 kB / 1.067 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.3683, allocations: 0 / 1.067 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.711e-05/0.3684, allocations: 8 kB / 1.068 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3684, allocations: 8.047 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.202e-05/0.3684, allocations: 7.844 kB / 1.068 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.561e-06/0.3685, allocations: 8 kB / 1.068 GB, free: 11.4 MB / 0.8419 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 6.985e-05/0.3685, allocations: 114.4 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.355e-05/0.3686, allocations: 7.906 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.746e-05/0.3686, allocations: 15.8 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.3686, allocations: 4 kB / 1.068 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.3686, allocations: 3.938 kB / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3686, allocations: 0 / 1.068 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003741/0.369, allocations: 470.8 kB / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.369, allocations: 0 / 1.068 GB, free: 10.72 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.295e-05/0.3691, allocations: 11.94 kB / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3691, allocations: 0 / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.3691, allocations: 0 / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3691, allocations: 0 / 1.068 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3691, allocations: 4 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.707e-05/0.3692, allocations: 81.89 kB / 1.068 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 4.763e-05/0.3692, allocations: 92.94 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.3692, allocations: 0 / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.584e-05/0.3693, allocations: 4 kB / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.142e-05/0.3693, allocations: 0 / 1.068 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.3693, allocations: 4 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.022e-05/0.3694, allocations: 125.3 kB / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.314e-06/0.3694, allocations: 0 / 1.068 GB, free: 10.36 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001851/0.3696, allocations: 7.938 kB / 1.068 GB, free: 10.36 MB / 0.8419 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.0001209/0.3697, allocations: 99.25 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.891e-05/0.3698, allocations: 12 kB / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.3698, allocations: 0 / 1.069 GB, free: 10.24 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.619e-05/0.3698, allocations: 16.11 kB / 1.069 GB, free: 10.22 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001506/0.37, allocations: 13.89 kB / 1.069 GB, free: 10.21 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003303/0.3703, allocations: 184.5 kB / 1.069 GB, free: 9.992 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002379/0.3706, allocations: 0.7009 MB / 1.069 GB, free: 9.266 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.731e-05/0.3706, allocations: 11.44 kB / 1.069 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3706, allocations: 0 / 1.069 GB, free: 9.254 MB / 0.8419 GB Notification: Performance of Templates: time 0.002185/0.3728, allocations: 0.8561 MB / 1.07 GB, free: 8.398 MB / 0.8419 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/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