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.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.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.001055/0.001055, allocations: 90.28 kB / 15.36 MB, free: 0.7383 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.008927/0.008927, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.525/1.525, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.893/2.893, allocations: 462.7 MB / 0.7364 GB, free: 304 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004164/0.0004163, allocations: 9.094 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3945, allocations: 159.6 MB / 1.059 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001341/0.396, allocations: 0.5414 MB / 1.059 GB, free: 4.965 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001686/0.3962, allocations: 43.78 kB / 1.059 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.204e-05/0.3963, allocations: 4 kB / 1.059 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.137e-05/0.3963, allocations: 3.938 kB / 1.059 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001095/0.3964, allocations: 4 kB / 1.059 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.751e-05/0.3965, allocations: 15.98 kB / 1.059 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.3966, allocations: 67.69 kB / 1.059 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002094/0.3968, allocations: 43.95 kB / 1.059 GB, free: 4.785 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.638e-05/0.3969, allocations: 15.88 kB / 1.059 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.753e-05/0.397, allocations: 19.86 kB / 1.059 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.181e-05/0.397, allocations: 0 / 1.059 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.422e-05/0.397, allocations: 4 kB / 1.059 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.704e-05/0.3971, allocations: 7.922 kB / 1.059 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.77e-05/0.3971, allocations: 61.45 kB / 1.059 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.3973, allocations: 67.97 kB / 1.06 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3973, allocations: 0 / 1.06 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.405e-06/0.3973, allocations: 0 / 1.06 GB, free: 4.605 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.764e-06/0.3974, allocations: 3.938 kB / 1.06 GB, free: 4.602 MB / 0.8106 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.0005409/0.3979, allocations: 367.3 kB / 1.06 GB, free: 4.191 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.354e-05/0.398, allocations: 8.031 kB / 1.06 GB, free: 4.184 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.008e-05/0.398, allocations: 12.84 kB / 1.06 GB, free: 4.172 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.3983, allocations: 188.2 kB / 1.06 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.716e-05/0.3983, allocations: 8.375 kB / 1.06 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.84e-05/0.3984, allocations: 8.375 kB / 1.06 GB, free: 3.934 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002061/0.3986, allocations: 95.88 kB / 1.06 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.3986, allocations: 192 / 1.06 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.911e-05/0.3986, allocations: 7.938 kB / 1.06 GB, free: 3.82 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.406e-06/0.3986, allocations: 7.938 kB / 1.06 GB, free: 3.812 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.06e-05/0.3987, allocations: 35.92 kB / 1.06 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000736/0.3995, allocations: 440.6 kB / 1.061 GB, free: 3.293 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.922e-05/0.3996, allocations: 41.14 kB / 1.061 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.286e-05/0.3996, allocations: 33.86 kB / 1.061 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.3996, allocations: 0 / 1.061 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.032e-05/0.3997, allocations: 30.56 kB / 1.061 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.633e-06/0.3997, allocations: 0 / 1.061 GB, free: 3.156 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002219/0.3999, allocations: 53.48 kB / 1.061 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.165e-05/0.4, allocations: 81.11 kB / 1.061 GB, free: 3 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001739/0.4002, allocations: 165.1 kB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.4002, allocations: 25.7 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 9.26e-05/0.4003, allocations: 107.9 kB / 1.061 GB, free: 2.691 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.043e-05/0.4003, allocations: 4 kB / 1.061 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.55e-05/0.4003, allocations: 9.719 kB / 1.061 GB, free: 2.672 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.4005, allocations: 322.8 kB / 1.062 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.678e-05/0.4005, allocations: 4 kB / 1.062 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.06e-05/0.4006, allocations: 21.7 kB / 1.062 GB, free: 2.316 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.746e-05/0.4006, allocations: 29.66 kB / 1.062 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4006, allocations: 0 / 1.062 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001055/0.4007, allocations: 61.55 kB / 1.062 GB, free: 2.215 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.452e-05/0.4008, allocations: 9.859 kB / 1.062 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/0.4008, allocations: 3.938 kB / 1.062 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.567e-05/0.4008, allocations: 0 / 1.062 GB, free: 2.203 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.019e-05/0.4009, allocations: 8 kB / 1.062 GB, free: 2.195 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.4009, allocations: 4.062 kB / 1.062 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.266e-05/0.4009, allocations: 7.844 kB / 1.062 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.939e-06/0.4009, allocations: 4 kB / 1.062 GB, free: 2.18 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.382e-05/0.401, allocations: 113.8 kB / 1.062 GB, free: 2.059 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.067e-05/0.4011, allocations: 7.906 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.641e-05/0.4011, allocations: 19.73 kB / 1.062 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4011, allocations: 4 kB / 1.062 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.4011, allocations: 0 / 1.062 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.4011, allocations: 0 / 1.062 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004451/0.4016, allocations: 470.8 kB / 1.062 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-06/0.4016, allocations: 3.938 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.92e-05/0.4016, allocations: 4 kB / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.4016, allocations: 0 / 1.062 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.4017, allocations: 4 kB / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.4017, allocations: 0 / 1.062 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4017, allocations: 4 kB / 1.062 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001062/0.4018, allocations: 85.83 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.4019, allocations: 89 kB / 1.062 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.4019, allocations: 0 / 1.062 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.171e-05/0.402, allocations: 4 kB / 1.062 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.081e-05/0.402, allocations: 4 kB / 1.062 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.917e-06/0.402, allocations: 4 kB / 1.062 GB, free: 1.266 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001156/0.4021, allocations: 125.9 kB / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4021, allocations: 0 / 1.063 GB, free: 1.145 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001827/0.4023, allocations: 7.906 kB / 1.063 GB, free: 1.137 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.0001489/0.4025, allocations: 99.25 kB / 1.063 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.987e-05/0.4026, allocations: 15.94 kB / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.4026, allocations: 0 / 1.063 GB, free: 1.016 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.546e-05/0.4026, allocations: 4 kB / 1.063 GB, free: 1.012 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.4028, allocations: 23.94 kB / 1.063 GB, free: 0.9922 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000363/0.4032, allocations: 176.5 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003136/0.4035, allocations: 0.6965 MB / 1.064 GB, free: 60 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.485e-05/0.4035, allocations: 8.422 kB / 1.064 GB, free: 52 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.4035, allocations: 11.44 kB / 1.064 GB, free: 40 kB / 0.8106 GB Notification: Performance of SimCode: time 3.21e-07/0.4036, allocations: 0 / 1.064 GB, free: 40 kB / 0.8106 GB Notification: Performance of Templates: time 0.002808/0.4064, allocations: 424.6 kB / 1.064 GB, free: 15.62 MB / 0.8262 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 -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/jenkins/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