Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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_9_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_9_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.002117/0.002117, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002359/0.00236, allocations: 199.9 kB / 16.79 MB, free: 6.828 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.5 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.483/2.483, allocations: 390.2 MB / 0.6649 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001549/0.001549, allocations: 67.89 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.699/0.7005, allocations: 140.4 MB / 0.9496 GB, free: 9.156 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002219/0.7028, allocations: 0.8771 MB / 0.9504 GB, free: 8.48 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.765e-05/0.7029, allocations: 41.61 kB / 0.9505 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.016e-05/0.703, allocations: 1.125 kB / 0.9505 GB, free: 8.445 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.418e-05/0.703, allocations: 7.922 kB / 0.9505 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.493e-05/0.7031, allocations: 5.391 kB / 0.9505 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.482e-05/0.7032, allocations: 23.73 kB / 0.9505 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.7033, allocations: 54.7 kB / 0.9506 GB, free: 8.383 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001569/0.7035, allocations: 38.62 kB / 0.9506 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.248e-05/0.7035, allocations: 23.92 kB / 0.9506 GB, free: 8.344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.833e-05/0.7036, allocations: 27.88 kB / 0.9507 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.99e-05/0.7036, allocations: 4.062 kB / 0.9507 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.107e-05/0.7036, allocations: 4.406 kB / 0.9507 GB, free: 8.32 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.107e-05/0.7036, allocations: 14.91 kB / 0.9507 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.53e-05/0.7037, allocations: 29.7 kB / 0.9507 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.45e-05/0.7038, allocations: 55.98 kB / 0.9508 GB, free: 8.242 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.7038, allocations: 4 kB / 0.9508 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7038, allocations: 1.312 kB / 0.9508 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.7038, allocations: 3.938 kB / 0.9508 GB, free: 8.234 MB / 0.7169 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.0003616/0.7042, allocations: 374 kB / 0.9511 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.7042, allocations: 9.531 kB / 0.9511 GB, free: 7.84 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.798e-05/0.7042, allocations: 13 kB / 0.9511 GB, free: 7.832 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001661/0.7044, allocations: 195 kB / 0.9513 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.7044, allocations: 7.125 kB / 0.9513 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.7045, allocations: 13.81 kB / 0.9514 GB, free: 7.602 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001483/0.7046, allocations: 88.7 kB / 0.9514 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.7046, allocations: 1.562 kB / 0.9514 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.7046, allocations: 7.938 kB / 0.9514 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.631e-06/0.7047, allocations: 2.75 kB / 0.9515 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.537e-05/0.7047, allocations: 35.17 kB / 0.9515 GB, free: 7.504 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004602/0.7052, allocations: 450 kB / 0.9519 GB, free: 7.055 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.102e-05/0.7053, allocations: 37.31 kB / 0.9519 GB, free: 7.004 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.246e-05/0.7053, allocations: 19.22 kB / 0.952 GB, free: 6.984 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.7053, allocations: 4 kB / 0.952 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.372e-05/0.7053, allocations: 31.94 kB / 0.952 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.7053, allocations: 0 / 0.952 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001988/0.7055, allocations: 59.22 kB / 0.9521 GB, free: 6.891 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.7056, allocations: 78.48 kB / 0.9521 GB, free: 6.797 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.7057, allocations: 163.4 kB / 0.9523 GB, free: 6.664 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.105e-06/0.7057, allocations: 25.95 kB / 0.9523 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.553e-05/0.7058, allocations: 112 kB / 0.9524 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.019e-05/0.7058, allocations: 9.281 kB / 0.9524 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.094e-05/0.7058, allocations: 13.84 kB / 0.9524 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.942e-05/0.7059, allocations: 320.2 kB / 0.9527 GB, free: 6.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.731e-05/0.7059, allocations: 8.125 kB / 0.9528 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.771e-05/0.7059, allocations: 17.78 kB / 0.9528 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.864e-05/0.706, allocations: 31.34 kB / 0.9528 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.706, allocations: 0 / 0.9528 GB, free: 6.129 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.248e-05/0.706, allocations: 59.41 kB / 0.9529 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.7061, allocations: 6.312 kB / 0.9529 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.7061, allocations: 9.25 kB / 0.9529 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.7061, allocations: 1.375 kB / 0.9529 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.961e-05/0.7062, allocations: 5.5 kB / 0.9529 GB, free: 6.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.7062, allocations: 3.984 kB / 0.9529 GB, free: 6.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.025e-05/0.7062, allocations: 10.81 kB / 0.9529 GB, free: 6.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.27e-06/0.7062, allocations: 1.375 kB / 0.9529 GB, free: 6.062 MB / 0.7169 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 5.837e-05/0.7063, allocations: 113 kB / 0.953 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.171e-05/0.7063, allocations: 8.562 kB / 0.953 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.217e-05/0.7064, allocations: 10.25 kB / 0.953 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.7064, allocations: 1.156 kB / 0.953 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.7064, allocations: 3.984 kB / 0.953 GB, free: 5.93 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.7064, allocations: 5.031 kB / 0.953 GB, free: 5.926 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002774/0.7067, allocations: 482.5 kB / 0.9535 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.7067, allocations: 0 / 0.9535 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.873e-05/0.7067, allocations: 3.844 kB / 0.9535 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.7067, allocations: 0 / 0.9535 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.683e-06/0.7067, allocations: 1.406 kB / 0.9535 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.7067, allocations: 5.312 kB / 0.9535 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.7067, allocations: 0 / 0.9535 GB, free: 5.41 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.55e-05/0.7068, allocations: 82.58 kB / 0.9536 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.7068, allocations: 92.3 kB / 0.9537 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.7069, allocations: 1.375 kB / 0.9537 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.057e-05/0.7069, allocations: 0 / 0.9537 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.581e-05/0.7069, allocations: 1.781 kB / 0.9537 GB, free: 5.215 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.7069, allocations: 5.062 kB / 0.9537 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.174e-05/0.707, allocations: 120.7 kB / 0.9538 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.707, allocations: 4.031 kB / 0.9538 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001887/0.7072, allocations: 7.75 kB / 0.9538 GB, free: 5.113 MB / 0.7169 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 9.877e-05/0.7073, allocations: 108.2 kB / 0.9539 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 7.458e-05/0.7074, allocations: 13.84 kB / 0.9539 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.7074, allocations: 1.406 kB / 0.9539 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.035e-05/0.7074, allocations: 3.594 kB / 0.9539 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001632/0.7076, allocations: 12.19 kB / 0.9539 GB, free: 5.004 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002828/0.7079, allocations: 215.8 kB / 0.9541 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.708, allocations: 0.695 MB / 0.9548 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.708, allocations: 11.53 kB / 0.9548 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.708, allocations: 0 / 0.9548 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of Templates: time 0.002479/0.7105, allocations: 0.8432 MB / 0.9557 GB, free: 3.645 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches