Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.008035/0.008035, allocations: 101.1 kB / 15.88 MB, free: 5.867 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.001811/0.001811, allocations: 191.2 kB / 16.79 MB, free: 5.809 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.453/1.453, allocations: 222.9 MB / 240.5 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.658/2.658, allocations: 437 MB / 0.7106 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001511/0.001511, allocations: 75.89 kB / 0.8692 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6767/0.6782, allocations: 151.6 MB / 1.017 GB, free: 2.766 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_cfm): time 0.002243/0.6805, allocations: 0.8976 MB / 1.018 GB, free: 1.871 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001261/0.6807, allocations: 35.8 kB / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.473e-05/0.6807, allocations: 0 / 1.018 GB, free: 1.836 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.668e-05/0.6808, allocations: 7.938 kB / 1.018 GB, free: 1.828 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 7.79e-05/0.6809, allocations: 11.91 kB / 1.018 GB, free: 1.816 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.503e-05/0.6809, allocations: 16 kB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 8.562e-05/0.681, allocations: 51.84 kB / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001374/0.6812, allocations: 43.97 kB / 1.018 GB, free: 1.707 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.066e-05/0.6812, allocations: 23.86 kB / 1.018 GB, free: 1.684 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.969e-05/0.6813, allocations: 27.8 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.074e-05/0.6813, allocations: 8 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.27e-05/0.6813, allocations: 7.938 kB / 1.018 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.089e-05/0.6814, allocations: 11.98 kB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.553e-05/0.6814, allocations: 27.75 kB / 1.018 GB, free: 1.602 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 8.163e-05/0.6815, allocations: 57.86 kB / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6815, allocations: 0 / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6815, allocations: 0 / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.6815, allocations: 0 / 1.018 GB, free: 1.547 MB / 0.7637 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.0004375/0.682, allocations: 383.2 kB / 1.019 GB, free: 1.121 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.682, allocations: 12.03 kB / 1.019 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4e-05/0.6821, allocations: 12.84 kB / 1.019 GB, free: 1.098 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.6823, allocations: 192.1 kB / 1.019 GB, free: 0.8711 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.6823, allocations: 8.375 kB / 1.019 GB, free: 0.8633 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.6823, allocations: 4.375 kB / 1.019 GB, free: 0.8594 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.6825, allocations: 95.86 kB / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.779e-06/0.6825, allocations: 192 / 1.019 GB, free: 0.7539 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.6825, allocations: 3.938 kB / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.6825, allocations: 0 / 1.019 GB, free: 0.75 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.979e-05/0.6826, allocations: 43.92 kB / 1.019 GB, free: 0.707 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005756/0.6832, allocations: 428.7 kB / 1.02 GB, free: 240 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.547e-05/0.6833, allocations: 53.11 kB / 1.02 GB, free: 168 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.165e-05/0.6833, allocations: 21.84 kB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 8.055e-06/0.6834, allocations: 0 / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.104e-05/0.6834, allocations: 30.56 kB / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.6834, allocations: 0 / 1.02 GB, free: 100 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001816/0.6836, allocations: 61.39 kB / 1.02 GB, free: 32 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/0.6837, allocations: 85.34 kB / 1.02 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.6838, allocations: 160.3 kB / 1.02 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/0.6838, allocations: 29.64 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.524e-05/0.6839, allocations: 104 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.046e-05/0.6839, allocations: 7.906 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.704e-05/0.684, allocations: 17.7 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.6841, allocations: 318.8 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.094e-05/0.6841, allocations: 15.92 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.159e-05/0.6842, allocations: 17.72 kB / 1.02 GB, free: 15.23 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.094e-05/0.6842, allocations: 25.72 kB / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.6842, allocations: 0 / 1.021 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.857e-05/0.6843, allocations: 61.53 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.6843, allocations: 4 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.563e-06/0.6843, allocations: 3.938 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.6844, allocations: 4.062 kB / 1.021 GB, free: 15.12 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.25e-05/0.6844, allocations: 8 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.6844, allocations: 0 / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.945e-05/0.6845, allocations: 3.906 kB / 1.021 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/0.6845, allocations: 4 kB / 1.021 GB, free: 15.11 MB / 0.7794 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.949e-05/0.6846, allocations: 113.8 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/0.6846, allocations: 11.89 kB / 1.021 GB, free: 14.97 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.355e-05/0.6846, allocations: 11.81 kB / 1.021 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.6847, allocations: 8 kB / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.6847, allocations: 0 / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.864e-06/0.6847, allocations: 0 / 1.021 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003799/0.685, allocations: 474.8 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.6851, allocations: 0 / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.261e-05/0.6851, allocations: 7.938 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.6851, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.6851, allocations: 96 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.6851, allocations: 8.047 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.6851, allocations: 4 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.747e-05/0.6852, allocations: 77.83 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.465e-05/0.6853, allocations: 96.94 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.331e-05/0.6853, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.113e-05/0.6853, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.472e-05/0.6853, allocations: 7.969 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.167e-06/0.6854, allocations: 7.938 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.184e-05/0.6854, allocations: 121.5 kB / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.522e-06/0.6855, allocations: 0 / 1.021 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001876/0.6856, allocations: 7.938 kB / 1.022 GB, free: 14.05 MB / 0.7794 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.0001074/0.6858, allocations: 103.2 kB / 1.022 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.652e-05/0.6858, allocations: 15.98 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.6859, allocations: 4.125 kB / 1.022 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.366e-05/0.6859, allocations: 11.94 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.686, allocations: 15.88 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003339/0.6864, allocations: 202.3 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002498/0.6866, allocations: 0.6965 MB / 1.023 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.508e-05/0.6867, allocations: 11.44 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of SimCode: time 3.2e-07/0.6867, allocations: 0 / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of Templates: time 0.002137/0.6888, allocations: 0.8521 MB / 1.023 GB, free: 12.07 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_cfm.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_cfm.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches