Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 107 kB / 16.37 MB, free: 6.477 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.001567/0.001567, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.54/1.54, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.541/2.541, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001563/0.001563, allocations: 62.62 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.35, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.00392/0.354, allocations: 0.8471 MB / 1.028 GB, free: 1.25 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0002407/0.3543, allocations: 39.8 kB / 1.028 GB, free: 1.211 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.189e-05/0.3544, allocations: 0 / 1.028 GB, free: 1.211 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 6.592e-05/0.3545, allocations: 7.875 kB / 1.028 GB, free: 1.203 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001184/0.3546, allocations: 15.84 kB / 1.028 GB, free: 1.188 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 7.12e-05/0.3547, allocations: 15.98 kB / 1.028 GB, free: 1.172 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001506/0.3549, allocations: 67.84 kB / 1.028 GB, free: 1.105 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002038/0.3551, allocations: 35.97 kB / 1.028 GB, free: 1.07 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 7.998e-05/0.3552, allocations: 27.86 kB / 1.028 GB, free: 1.043 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 9.074e-05/0.3553, allocations: 39.72 kB / 1.028 GB, free: 1.004 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.3553, allocations: 8 kB / 1.028 GB, free: 0.9961 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 1.551e-05/0.3554, allocations: 4 kB / 1.028 GB, free: 0.9922 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.748e-05/0.3554, allocations: 15.94 kB / 1.028 GB, free: 0.9766 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.399e-05/0.3555, allocations: 31.8 kB / 1.028 GB, free: 0.9453 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001478/0.3556, allocations: 71.7 kB / 1.028 GB, free: 0.875 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3557, allocations: 0 / 1.028 GB, free: 0.875 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.415e-06/0.3557, allocations: 0 / 1.028 GB, free: 0.875 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.031e-06/0.3557, allocations: 0 / 1.028 GB, free: 0.875 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.0005828/0.3563, allocations: 379.2 kB / 1.028 GB, free: 464 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.3563, allocations: 12.03 kB / 1.028 GB, free: 452 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.349e-05/0.3564, allocations: 12.78 kB / 1.028 GB, free: 440 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002816/0.3567, allocations: 192.1 kB / 1.028 GB, free: 208 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.3567, allocations: 12.28 kB / 1.028 GB, free: 196 kB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.904e-05/0.3568, allocations: 8.375 kB / 1.029 GB, free: 188 kB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003012/0.3571, allocations: 97.91 kB / 1.029 GB, free: 80 kB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.367e-05/0.3571, allocations: 192 / 1.029 GB, free: 80 kB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.3571, allocations: 11.94 kB / 1.029 GB, free: 68 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.212e-05/0.3572, allocations: 4 kB / 1.029 GB, free: 64 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001357/0.3573, allocations: 35.92 kB / 1.029 GB, free: 28 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009655/0.3583, allocations: 440.5 kB / 1.029 GB, free: 15.54 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 8.115e-05/0.3584, allocations: 37.28 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.742e-05/0.3585, allocations: 17.72 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.3585, allocations: 0 / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.072e-05/0.3586, allocations: 38.58 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.983e-06/0.3586, allocations: 4 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002858/0.3589, allocations: 53.73 kB / 1.029 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.006e-05/0.359, allocations: 81.11 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002422/0.3592, allocations: 163.3 kB / 1.029 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.3593, allocations: 25.7 kB / 1.029 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.16e-05/0.3594, allocations: 108 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.446e-05/0.3594, allocations: 7.906 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.3594, allocations: 9.719 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001649/0.3596, allocations: 322.8 kB / 1.03 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.896e-05/0.3597, allocations: 8 kB / 1.03 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.549e-05/0.3597, allocations: 21.7 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.56e-05/0.3598, allocations: 29.66 kB / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.3598, allocations: 0 / 1.03 GB, free: 14.53 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001455/0.36, allocations: 53.61 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.36, allocations: 4 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.828e-06/0.36, allocations: 4 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.06e-05/0.3601, allocations: 7.984 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.87e-05/0.3602, allocations: 8 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.3602, allocations: 3.938 kB / 1.03 GB, free: 14.45 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001295/0.3603, allocations: 19.84 kB / 1.03 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.353e-06/0.3604, allocations: 0 / 1.03 GB, free: 14.43 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 0.000123/0.3605, allocations: 117.8 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.762e-05/0.3606, allocations: 7.906 kB / 1.03 GB, free: 14.29 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.234e-05/0.3606, allocations: 15.8 kB / 1.03 GB, free: 14.28 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.3607, allocations: 4 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.3607, allocations: 0 / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3607, allocations: 4.031 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006932/0.3614, allocations: 470.8 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.3614, allocations: 3.984 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.219e-05/0.3615, allocations: 7.938 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.3615, allocations: 0 / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-06/0.3615, allocations: 0 / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.3615, allocations: 8.062 kB / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.3615, allocations: 0 / 1.031 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.3617, allocations: 81.77 kB / 1.031 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.172e-05/0.3618, allocations: 89.02 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.56e-05/0.3619, allocations: 3.984 kB / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.77e-05/0.3619, allocations: 0 / 1.031 GB, free: 13.52 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.101e-05/0.362, allocations: 4.031 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.765e-06/0.362, allocations: 4 kB / 1.031 GB, free: 13.51 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001709/0.3622, allocations: 121.5 kB / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of sort global known variables: time 3.21e-07/0.3622, allocations: 0 / 1.031 GB, free: 13.39 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003435/0.3625, allocations: 8 kB / 1.031 GB, free: 13.38 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.0001592/0.3627, allocations: 99.25 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001247/0.3628, allocations: 15.94 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3629, allocations: 4.125 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.049e-05/0.3629, allocations: 4 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002437/0.3632, allocations: 15.92 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004725/0.3636, allocations: 158.8 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004927/0.3642, allocations: 0.6924 MB / 1.032 GB, free: 12.32 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 5.617e-05/0.3642, allocations: 12.55 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.029e-05/0.3643, allocations: 11.44 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of SimCode: time 5.41e-07/0.3643, allocations: 0 / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of Templates: time 0.004509/0.3688, allocations: 448.6 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches