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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001474/0.001475, allocations: 108.9 kB / 16.27 MB, free: 6.414 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.001438/0.001438, allocations: 189.7 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.348/1.348, allocations: 222.9 MB / 240.9 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.623/2.623, allocations: 482.4 MB / 0.7553 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 63.53 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6881/0.69, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.001868/0.6919, allocations: 0.8239 MB / 1.084 GB, free: 1.105 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 9.66e-05/0.692, allocations: 45.33 kB / 1.084 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.891e-05/0.6921, allocations: 1.062 kB / 1.084 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.176e-05/0.6921, allocations: 6.703 kB / 1.084 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.195e-05/0.6922, allocations: 9.234 kB / 1.084 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.507e-05/0.6922, allocations: 17.02 kB / 1.084 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.337e-05/0.6923, allocations: 70.41 kB / 1.084 GB, free: 1.012 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001352/0.6925, allocations: 41.44 kB / 1.084 GB, free: 0.9922 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.038e-05/0.6925, allocations: 26.3 kB / 1.084 GB, free: 0.9766 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.431e-05/0.6926, allocations: 30.8 kB / 1.084 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.621e-05/0.6926, allocations: 6.688 kB / 1.084 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.078e-05/0.6926, allocations: 5.344 kB / 1.084 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.729e-05/0.6926, allocations: 16.66 kB / 1.084 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.238e-05/0.6927, allocations: 28.72 kB / 1.084 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.939e-05/0.6928, allocations: 76.44 kB / 1.084 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.6928, allocations: 0 / 1.084 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.623e-06/0.6928, allocations: 1.375 kB / 1.084 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.6928, allocations: 0 / 1.084 GB, free: 0.8906 MB / 0.8262 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.0003139/0.6931, allocations: 384.1 kB / 1.084 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.6932, allocations: 9.625 kB / 1.084 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.902e-05/0.6932, allocations: 12.91 kB / 1.084 GB, free: 500 kB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.6933, allocations: 193.1 kB / 1.085 GB, free: 284 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.6934, allocations: 3.906 kB / 1.085 GB, free: 284 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.6934, allocations: 9.062 kB / 1.085 GB, free: 280 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001297/0.6935, allocations: 90.59 kB / 1.085 GB, free: 212 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.6935, allocations: 4.781 kB / 1.085 GB, free: 208 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.6935, allocations: 9.156 kB / 1.085 GB, free: 200 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.6936, allocations: 6.688 kB / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.395e-05/0.6936, allocations: 40.02 kB / 1.085 GB, free: 180 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005018/0.6941, allocations: 437.4 kB / 1.085 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.534e-05/0.6942, allocations: 41.69 kB / 1.085 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.502e-05/0.6942, allocations: 21.33 kB / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.6943, allocations: 0.6875 kB / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.685e-05/0.6943, allocations: 36.88 kB / 1.085 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.6943, allocations: 0 / 1.085 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001576/0.6945, allocations: 60.17 kB / 1.085 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.815e-05/0.6945, allocations: 82.45 kB / 1.085 GB, free: 15.5 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.6947, allocations: 156.4 kB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.389e-05/0.6947, allocations: 25.7 kB / 1.086 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.799e-05/0.6948, allocations: 107.5 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.175e-06/0.6948, allocations: 5.844 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.353e-05/0.6948, allocations: 17.73 kB / 1.086 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.695, allocations: 321.2 kB / 1.086 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.695, allocations: 12 kB / 1.086 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.359e-05/0.695, allocations: 19.41 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.29e-05/0.6951, allocations: 27.56 kB / 1.086 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.6951, allocations: 0 / 1.086 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.489e-05/0.6952, allocations: 56.84 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.6952, allocations: 9.078 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.6952, allocations: 7.938 kB / 1.086 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.168e-05/0.6952, allocations: 1.094 kB / 1.086 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.647e-05/0.6953, allocations: 10.7 kB / 1.086 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.6953, allocations: 0.5 kB / 1.086 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.983e-05/0.6953, allocations: 5.938 kB / 1.086 GB, free: 14.8 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.6953, allocations: 3.062 kB / 1.086 GB, free: 14.8 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 7.87e-05/0.6954, allocations: 113.9 kB / 1.086 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.349e-05/0.6955, allocations: 8.547 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.201e-05/0.6955, allocations: 16.66 kB / 1.086 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.6955, allocations: 5.078 kB / 1.086 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.6955, allocations: 0 / 1.086 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.6955, allocations: 1.375 kB / 1.086 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004104/0.6959, allocations: 470.9 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.696, allocations: 0.6562 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.758e-05/0.696, allocations: 4.125 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.678e-06/0.696, allocations: 0.6719 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.696, allocations: 8.75 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.834e-06/0.696, allocations: 1.719 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.696, allocations: 0.6094 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.362e-05/0.6961, allocations: 83.98 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.6962, allocations: 91.3 kB / 1.087 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.253e-05/0.6962, allocations: 5.062 kB / 1.087 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.218e-05/0.6962, allocations: 9.797 kB / 1.087 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.053e-05/0.6962, allocations: 1.844 kB / 1.087 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.144e-06/0.6962, allocations: 1.188 kB / 1.087 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.961e-05/0.6964, allocations: 120 kB / 1.087 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6964, allocations: 0 / 1.087 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001819/0.6965, allocations: 15.12 kB / 1.087 GB, free: 13.88 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.000103/0.6967, allocations: 96.78 kB / 1.087 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.377e-05/0.6967, allocations: 24.2 kB / 1.087 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.6968, allocations: 0 / 1.087 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 9.437e-06/0.6968, allocations: 5.562 kB / 1.087 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.6969, allocations: 11.62 kB / 1.087 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.6972, allocations: 189.6 kB / 1.087 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003239/0.6976, allocations: 0.6966 MB / 1.088 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.6976, allocations: 15.27 kB / 1.088 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.6976, allocations: 0.7188 kB / 1.088 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of Templates: time 0.002351/0.7, allocations: 0.8584 MB / 1.089 GB, free: 12.81 MB / 0.8419 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=400 -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