Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_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_latest_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.001204/0.001204, allocations: 100.4 kB / 16.27 MB, free: 5.969 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.001213/0.001213, allocations: 191.3 kB / 17.2 MB, free: 5.598 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.341/1.341, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.628/2.628, allocations: 482.4 MB / 0.7553 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 68.75 kB / 0.9245 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6761/0.678, allocations: 162.2 MB / 1.083 GB, free: 1.645 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001955/0.6799, allocations: 0.819 MB / 1.084 GB, free: 1.109 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 9.011e-05/0.68, allocations: 49.38 kB / 1.084 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.751e-05/0.6801, allocations: 1.312 kB / 1.084 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.251e-05/0.6801, allocations: 9.844 kB / 1.084 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 7.605e-05/0.6802, allocations: 9.766 kB / 1.084 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.534e-05/0.6803, allocations: 20.48 kB / 1.084 GB, free: 1.043 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 8.96e-05/0.6804, allocations: 59.03 kB / 1.084 GB, free: 1.016 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.6805, allocations: 41.61 kB / 1.084 GB, free: 0.9961 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.688e-05/0.6806, allocations: 25.89 kB / 1.084 GB, free: 0.9805 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.113e-05/0.6806, allocations: 26.73 kB / 1.084 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.662e-05/0.6806, allocations: 5.906 kB / 1.084 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.958e-06/0.6807, allocations: 6.469 kB / 1.084 GB, free: 0.9648 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.838e-05/0.6807, allocations: 24.66 kB / 1.084 GB, free: 0.9453 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.118e-05/0.6807, allocations: 37.11 kB / 1.084 GB, free: 0.918 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.189e-05/0.6808, allocations: 63.64 kB / 1.084 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6808, allocations: 1.406 kB / 1.084 GB, free: 0.8945 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.122e-06/0.6808, allocations: 4 kB / 1.084 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.6808, 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.0003129/0.6811, allocations: 380.2 kB / 1.084 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.6812, allocations: 9.906 kB / 1.084 GB, free: 0.5 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.6812, allocations: 12.75 kB / 1.084 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.6814, allocations: 197.7 kB / 1.085 GB, free: 284 kB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.6814, allocations: 7.031 kB / 1.085 GB, free: 280 kB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/0.6814, allocations: 13.91 kB / 1.085 GB, free: 272 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001258/0.6815, allocations: 92.42 kB / 1.085 GB, free: 204 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.6816, allocations: 1.25 kB / 1.085 GB, free: 204 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.6816, allocations: 9.031 kB / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.6816, allocations: 1.125 kB / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.913e-05/0.6817, allocations: 41.03 kB / 1.085 GB, free: 180 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005019/0.6822, allocations: 435 kB / 1.085 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 5.291e-05/0.6822, allocations: 41.47 kB / 1.085 GB, free: 15.72 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.498e-05/0.6823, allocations: 15.97 kB / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-06/0.6823, allocations: 4.734 kB / 1.085 GB, free: 15.7 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.6823, allocations: 44.03 kB / 1.085 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.6823, allocations: 0 / 1.085 GB, free: 15.65 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001651/0.6825, allocations: 57.41 kB / 1.085 GB, free: 15.6 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.747e-05/0.6825, allocations: 79.33 kB / 1.085 GB, free: 15.51 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.6827, allocations: 155.2 kB / 1.086 GB, free: 15.39 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.413e-05/0.6827, allocations: 29.7 kB / 1.086 GB, free: 15.36 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.582e-05/0.6828, allocations: 105.3 kB / 1.086 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.526e-06/0.6828, allocations: 8.812 kB / 1.086 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.404e-05/0.6829, allocations: 17.59 kB / 1.086 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.683, allocations: 324.2 kB / 1.086 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.561e-05/0.683, allocations: 3.766 kB / 1.086 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.982e-05/0.6831, allocations: 23.95 kB / 1.086 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.954e-05/0.6831, allocations: 23.34 kB / 1.086 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.6831, allocations: 4 kB / 1.086 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.028e-05/0.6832, allocations: 62.19 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.173e-05/0.6832, allocations: 5.156 kB / 1.086 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.6832, allocations: 4.875 kB / 1.086 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.6833, allocations: 1.922 kB / 1.086 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.162e-05/0.6833, allocations: 5.812 kB / 1.086 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.6833, allocations: 1.406 kB / 1.086 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.041e-05/0.6834, allocations: 5.125 kB / 1.086 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.6834, allocations: 3.219 kB / 1.086 GB, free: 14.81 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.801e-05/0.6834, allocations: 117.4 kB / 1.086 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.222e-05/0.6835, allocations: 7.875 kB / 1.086 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.893e-05/0.6835, allocations: 17.28 kB / 1.086 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.6835, allocations: 4.5 kB / 1.086 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6835, allocations: 1.875 kB / 1.086 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-06/0.6836, allocations: 0 / 1.086 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000412/0.684, allocations: 471.1 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.684, allocations: 1.094 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.783e-05/0.684, allocations: 3.25 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.876e-06/0.684, allocations: 1.844 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.684, allocations: 0 / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.684, allocations: 5 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.684, allocations: 1.828 kB / 1.087 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.598e-05/0.6841, allocations: 84.75 kB / 1.087 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.794e-05/0.6842, allocations: 89.62 kB / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.315e-05/0.6842, allocations: 2.188 kB / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.953e-05/0.6842, allocations: 0 / 1.087 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.781e-05/0.6843, allocations: 6.391 kB / 1.087 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-06/0.6843, allocations: 0.9375 kB / 1.087 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001003/0.6844, allocations: 129.1 kB / 1.087 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6844, allocations: 0 / 1.087 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001802/0.6846, allocations: 10.25 kB / 1.087 GB, free: 13.89 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 9.848e-05/0.6847, allocations: 106.9 kB / 1.087 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.931e-05/0.6848, allocations: 15.62 kB / 1.087 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.6848, allocations: 1.125 kB / 1.087 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.199e-05/0.6848, allocations: 8.016 kB / 1.087 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000143/0.6849, allocations: 11.72 kB / 1.087 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003053/0.6852, allocations: 189.9 kB / 1.087 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003134/0.6856, allocations: 0.6961 MB / 1.088 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.6856, allocations: 11.5 kB / 1.088 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.6856, allocations: 4.719 kB / 1.088 GB, free: 12.88 MB / 0.8419 GB Notification: Performance of Templates: time 0.002236/0.6878, allocations: 0.8701 MB / 1.089 GB, free: 12.8 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches