Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002172/0.002172, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.002007/0.002007, allocations: 192.4 kB / 16.25 MB, free: 6.637 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.668/1.668, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 3.062/3.062, allocations: 437 MB / 0.7101 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002234/0.002234, allocations: 67.89 kB / 0.8687 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.874/0.8763, allocations: 151.6 MB / 1.017 GB, free: 2.738 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.003875/0.8802, allocations: 0.8935 MB / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001954/0.8805, allocations: 39.78 kB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.259e-05/0.8806, allocations: 4 kB / 1.018 GB, free: 1.805 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.507e-05/0.8806, allocations: 3.938 kB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.8808, allocations: 0 / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 7.909e-05/0.8809, allocations: 19.98 kB / 1.018 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001603/0.881, allocations: 63.78 kB / 1.018 GB, free: 1.719 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002146/0.8813, allocations: 43.95 kB / 1.018 GB, free: 1.676 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.608e-05/0.8814, allocations: 27.86 kB / 1.018 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.512e-05/0.8815, allocations: 27.84 kB / 1.018 GB, free: 1.621 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.998e-05/0.8815, allocations: 8 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.476e-05/0.8815, allocations: 4 kB / 1.018 GB, free: 1.609 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.283e-05/0.8816, allocations: 19.92 kB / 1.018 GB, free: 1.59 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 7.333e-05/0.8816, allocations: 35.75 kB / 1.018 GB, free: 1.555 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.8818, allocations: 77.66 kB / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.062e-06/0.8818, allocations: 0 / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.994e-06/0.8819, allocations: 0 / 1.018 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.502e-06/0.8819, allocations: 0 / 1.018 GB, free: 1.48 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.0006592/0.8825, allocations: 379.2 kB / 1.018 GB, free: 1.059 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.8826, allocations: 8.031 kB / 1.018 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.448e-05/0.8826, allocations: 8.844 kB / 1.018 GB, free: 1.043 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003131/0.883, allocations: 196.2 kB / 1.019 GB, free: 0.8125 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.883, allocations: 8.375 kB / 1.019 GB, free: 0.8047 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.291e-05/0.883, allocations: 8.375 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002407/0.8833, allocations: 91.8 kB / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.11e-05/0.8833, allocations: 192 / 1.019 GB, free: 0.6953 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.082e-05/0.8833, allocations: 11.94 kB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.898e-06/0.8833, allocations: 0 / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001217/0.8835, allocations: 43.86 kB / 1.019 GB, free: 0.6406 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008141/0.8843, allocations: 436.6 kB / 1.019 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.767e-05/0.8844, allocations: 37.16 kB / 1.019 GB, free: 108 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.501e-05/0.8845, allocations: 21.88 kB / 1.019 GB, free: 80 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.8845, allocations: 4 kB / 1.019 GB, free: 76 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.012e-05/0.8845, allocations: 30.56 kB / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 1.523e-06/0.8845, allocations: 0 / 1.019 GB, free: 36 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0002901/0.8848, allocations: 61.47 kB / 1.019 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.117e-05/0.8849, allocations: 81.11 kB / 1.019 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002425/0.8852, allocations: 158.2 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.911e-05/0.8852, allocations: 33.95 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001173/0.8854, allocations: 103.9 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.8854, allocations: 7.891 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.689e-05/0.8855, allocations: 17.72 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002089/0.8857, allocations: 318.8 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.386e-05/0.8857, allocations: 4 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.262e-05/0.8858, allocations: 25.72 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.272e-05/0.8858, allocations: 29.66 kB / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.8859, allocations: 0 / 1.02 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001613/0.886, allocations: 61.53 kB / 1.02 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.8861, allocations: 9.406 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.198e-05/0.8861, allocations: 3.938 kB / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.756e-05/0.8861, allocations: 0 / 1.02 GB, free: 15.06 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.443e-05/0.8862, allocations: 4 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.8862, allocations: 0 / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.771e-05/0.8863, allocations: 8.062 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.8863, allocations: 0 / 1.02 GB, free: 15.05 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 0.0001347/0.8864, allocations: 118.6 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001141/0.8866, allocations: 11.81 kB / 1.02 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.024e-05/0.8866, allocations: 15.81 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.8867, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.8867, allocations: 0 / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.843e-06/0.8867, allocations: 4 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006709/0.8874, allocations: 470.8 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.8874, allocations: 4 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.263e-05/0.8874, allocations: 7.922 kB / 1.021 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.8874, allocations: 4 kB / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.762e-06/0.8874, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.8874, allocations: 0 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.8874, allocations: 96 / 1.021 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001078/0.8875, allocations: 89.83 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.993e-05/0.8876, allocations: 92.94 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.8876, allocations: 0 / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.459e-05/0.8877, allocations: 7.938 kB / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.732e-05/0.8877, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-06/0.8877, allocations: 0 / 1.021 GB, free: 14.12 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001053/0.8878, allocations: 126.5 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8878, allocations: 4.031 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002267/0.8881, allocations: 8 kB / 1.021 GB, free: 13.99 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.0002119/0.8883, allocations: 101.2 kB / 1.021 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001132/0.8884, allocations: 19.94 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.8884, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.159e-05/0.8884, allocations: 4 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.8886, allocations: 11.94 kB / 1.021 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004407/0.8891, allocations: 187 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004967/0.8896, allocations: 0.6963 MB / 1.022 GB, free: 12.91 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.096e-05/0.8896, allocations: 8.422 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.363e-05/0.8897, allocations: 11.44 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.8897, allocations: 0 / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of Templates: time 0.003372/0.8931, allocations: 460.4 kB / 1.023 GB, free: 12.44 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches