Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001317/0.001317, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001376/0.001376, allocations: 191.7 kB / 16.13 MB, free: 6.691 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.386/1.386, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.721/2.721, allocations: 461.9 MB / 0.7342 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 70.5 kB / 0.8984 GB, free: 37.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3363, allocations: 157.4 MB / 1.052 GB, free: 8.918 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002878/0.3392, allocations: 0.8941 MB / 1.053 GB, free: 8.023 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001687/0.3394, allocations: 43.78 kB / 1.053 GB, free: 7.98 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.205e-05/0.3395, allocations: 0 / 1.053 GB, free: 7.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.834e-05/0.3396, allocations: 3.938 kB / 1.053 GB, free: 7.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.421e-05/0.3397, allocations: 7.875 kB / 1.053 GB, free: 7.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.278e-05/0.3397, allocations: 23.98 kB / 1.053 GB, free: 7.945 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.3398, allocations: 59.77 kB / 1.053 GB, free: 7.887 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001596/0.34, allocations: 43.94 kB / 1.053 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.974e-05/0.3402, allocations: 23.81 kB / 1.053 GB, free: 7.82 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.924e-05/0.3403, allocations: 31.84 kB / 1.053 GB, free: 7.789 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.214e-05/0.3403, allocations: 4 kB / 1.053 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.337e-05/0.3403, allocations: 4 kB / 1.053 GB, free: 7.781 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.408e-05/0.3404, allocations: 11.94 kB / 1.053 GB, free: 7.77 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.377e-05/0.3404, allocations: 39.72 kB / 1.053 GB, free: 7.73 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001322/0.3406, allocations: 64.06 kB / 1.053 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3406, allocations: 0 / 1.053 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.153e-06/0.3406, allocations: 0 / 1.053 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.3406, allocations: 0 / 1.053 GB, free: 7.668 MB / 0.8106 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.0006494/0.3412, allocations: 379.3 kB / 1.054 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.672e-05/0.3413, allocations: 8.031 kB / 1.054 GB, free: 7.238 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.95e-05/0.3414, allocations: 8.844 kB / 1.054 GB, free: 7.23 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000247/0.3416, allocations: 200.1 kB / 1.054 GB, free: 6.996 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.3416, allocations: 8.375 kB / 1.054 GB, free: 6.988 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.3417, allocations: 4.375 kB / 1.054 GB, free: 6.984 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001852/0.3419, allocations: 95.84 kB / 1.054 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.27e-05/0.3419, allocations: 192 / 1.054 GB, free: 6.879 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.85e-05/0.3419, allocations: 15.88 kB / 1.054 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/0.3419, allocations: 3.938 kB / 1.054 GB, free: 6.859 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.597e-05/0.342, allocations: 31.98 kB / 1.054 GB, free: 6.828 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006237/0.3426, allocations: 432.5 kB / 1.054 GB, free: 6.352 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.007e-05/0.3427, allocations: 45.28 kB / 1.054 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.859e-05/0.3428, allocations: 29.83 kB / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.895e-06/0.3428, allocations: 0 / 1.055 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.044e-05/0.3428, allocations: 34.5 kB / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 1.343e-06/0.3428, allocations: 0 / 1.055 GB, free: 6.211 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0002403/0.3431, allocations: 53.55 kB / 1.055 GB, free: 6.152 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.412e-05/0.3431, allocations: 81.05 kB / 1.055 GB, free: 6.055 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.3434, allocations: 165.3 kB / 1.055 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.3434, allocations: 25.7 kB / 1.055 GB, free: 5.855 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.903e-05/0.3435, allocations: 104 kB / 1.055 GB, free: 5.75 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.309e-05/0.3435, allocations: 7.906 kB / 1.055 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.593e-05/0.3435, allocations: 17.7 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002807/0.3438, allocations: 318.8 kB / 1.055 GB, free: 5.398 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.132e-05/0.3439, allocations: 7.938 kB / 1.055 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.04e-05/0.3439, allocations: 21.7 kB / 1.055 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.535e-05/0.344, allocations: 29.72 kB / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.344, allocations: 0 / 1.055 GB, free: 5.328 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.857e-05/0.3441, allocations: 57.53 kB / 1.055 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.255e-05/0.3441, allocations: 8 kB / 1.055 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/0.3441, allocations: 3.938 kB / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.3442, allocations: 0 / 1.055 GB, free: 5.254 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.194e-05/0.3443, allocations: 8 kB / 1.055 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.3443, allocations: 8.062 kB / 1.055 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.754e-05/0.3443, allocations: 11.84 kB / 1.055 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.457e-06/0.3443, allocations: 4 kB / 1.055 GB, free: 5.223 MB / 0.8106 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.0001009/0.3444, allocations: 113.8 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.015e-05/0.3445, allocations: 7.906 kB / 1.056 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.114e-05/0.3445, allocations: 15.8 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3445, allocations: 0 / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.167e-06/0.3446, allocations: 4 kB / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3446, allocations: 0 / 1.056 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004936/0.3451, allocations: 474.9 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.3451, allocations: 3.938 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001394/0.3452, allocations: 7.984 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.3452, allocations: 0 / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.3452, allocations: 0 / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.3452, allocations: 0 / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/0.3453, allocations: 3.984 kB / 1.056 GB, free: 4.531 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.364e-05/0.3454, allocations: 81.84 kB / 1.056 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.43e-05/0.3454, allocations: 93 kB / 1.056 GB, free: 4.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.718e-05/0.3454, allocations: 4 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.2e-05/0.3455, allocations: 0 / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.211e-05/0.3455, allocations: 0 / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.334e-06/0.3455, allocations: 0 / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 9.624e-05/0.3456, allocations: 123.3 kB / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3456, allocations: 0 / 1.056 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002234/0.3458, allocations: 8 kB / 1.056 GB, free: 4.188 MB / 0.8106 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.0001281/0.346, allocations: 99.25 kB / 1.056 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.679e-05/0.3461, allocations: 19.98 kB / 1.056 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3461, allocations: 3.938 kB / 1.056 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.149e-05/0.3461, allocations: 4 kB / 1.056 GB, free: 4.055 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001768/0.3463, allocations: 18.06 kB / 1.056 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003159/0.3466, allocations: 172.5 kB / 1.057 GB, free: 3.836 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.3469, allocations: 0.7043 MB / 1.057 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.066e-05/0.3469, allocations: 8.375 kB / 1.057 GB, free: 3.098 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.3469, allocations: 11.44 kB / 1.057 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of SimCode: time 3.71e-07/0.3469, allocations: 0 / 1.057 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of Templates: time 0.002798/0.3498, allocations: 440.5 kB / 1.058 GB, free: 2.656 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches