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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.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.005876/0.005877, allocations: 101.1 kB / 15.88 MB, free: 6.328 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.001335/0.001336, allocations: 192 kB / 16.79 MB, free: 6.254 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.54/1.54, allocations: 222.9 MB / 240.5 MB, free: 4.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.956/2.956, allocations: 461.8 MB / 0.7348 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 70.75 kB / 0.899 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3428/0.3441, allocations: 157.4 MB / 1.053 GB, free: 8.305 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.003031/0.3472, allocations: 0.8803 MB / 1.054 GB, free: 7.422 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0001707/0.3474, allocations: 39.78 kB / 1.054 GB, free: 7.383 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.005e-05/0.3475, allocations: 8 kB / 1.054 GB, free: 7.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.674e-05/0.3476, allocations: 3.938 kB / 1.054 GB, free: 7.371 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.528e-05/0.3477, allocations: 3.938 kB / 1.054 GB, free: 7.367 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 5.453e-05/0.3478, allocations: 19.98 kB / 1.054 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000111/0.3479, allocations: 63.75 kB / 1.054 GB, free: 7.285 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.348, allocations: 35.95 kB / 1.054 GB, free: 7.25 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.662e-05/0.3481, allocations: 23.81 kB / 1.054 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.584e-05/0.3482, allocations: 35.78 kB / 1.054 GB, free: 7.191 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.3482, allocations: 4 kB / 1.054 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.061e-05/0.3482, allocations: 4 kB / 1.054 GB, free: 7.184 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.3482, allocations: 8 kB / 1.054 GB, free: 7.176 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.244e-05/0.3483, allocations: 39.72 kB / 1.054 GB, free: 7.137 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.789e-05/0.3484, allocations: 48.19 kB / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.3484, allocations: 0 / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.21e-07/0.3484, allocations: 0 / 1.054 GB, free: 7.09 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.3484, allocations: 0 / 1.054 GB, free: 7.09 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.000469/0.3489, allocations: 388.8 kB / 1.054 GB, free: 6.66 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.109e-05/0.3489, allocations: 12.03 kB / 1.054 GB, free: 6.648 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.14e-05/0.349, allocations: 8.844 kB / 1.054 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.3492, allocations: 188.2 kB / 1.055 GB, free: 6.418 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.3493, allocations: 8.375 kB / 1.055 GB, free: 6.41 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.842e-05/0.3493, allocations: 8.375 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.3495, allocations: 97.56 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3495, allocations: 192 / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.3495, allocations: 11.94 kB / 1.055 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.3495, allocations: 4 kB / 1.055 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.734e-05/0.3496, allocations: 31.92 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006013/0.3502, allocations: 440.5 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 6.353e-05/0.3503, allocations: 41.34 kB / 1.055 GB, free: 5.707 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.638e-05/0.3504, allocations: 21.77 kB / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.074e-05/0.3504, allocations: 0 / 1.055 GB, free: 5.68 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.505e-05/0.3504, allocations: 34.56 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.3504, allocations: 7.875 kB / 1.055 GB, free: 5.629 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0001832/0.3506, allocations: 61.69 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.159e-05/0.3507, allocations: 77.11 kB / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.3508, allocations: 166.2 kB / 1.055 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.201e-05/0.3508, allocations: 25.7 kB / 1.055 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.3509, allocations: 108 kB / 1.056 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.796e-06/0.3509, allocations: 7.906 kB / 1.056 GB, free: 5.148 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.351, allocations: 13.72 kB / 1.056 GB, free: 5.129 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.3511, allocations: 318.8 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.838e-05/0.3511, allocations: 12.03 kB / 1.056 GB, free: 4.797 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.51e-05/0.3511, allocations: 21.7 kB / 1.056 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.692e-05/0.3512, allocations: 21.72 kB / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3512, allocations: 0 / 1.056 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.871e-05/0.3513, allocations: 61.55 kB / 1.056 GB, free: 4.676 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.707e-05/0.3513, allocations: 7.984 kB / 1.056 GB, free: 4.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3513, allocations: 8 kB / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.3513, allocations: 0 / 1.056 GB, free: 4.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.191e-05/0.3514, allocations: 8 kB / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.3514, allocations: 0 / 1.056 GB, free: 4.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.99e-05/0.3514, allocations: 11.84 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.967e-06/0.3514, allocations: 0 / 1.056 GB, free: 4.641 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 8.548e-05/0.3515, allocations: 117.8 kB / 1.056 GB, free: 4.516 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.368e-05/0.3516, allocations: 7.906 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.069e-05/0.3516, allocations: 15.8 kB / 1.056 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.3516, allocations: 4 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3516, allocations: 0 / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.3516, allocations: 0 / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004064/0.3521, allocations: 470.8 kB / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.3521, allocations: 0 / 1.057 GB, free: 3.965 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.17e-05/0.3521, allocations: 8 kB / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.3521, allocations: 0 / 1.057 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/0.3521, allocations: 4.062 kB / 1.057 GB, free: 3.953 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.3521, allocations: 4 kB / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3521, allocations: 0 / 1.057 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.344e-05/0.3522, allocations: 81.83 kB / 1.057 GB, free: 3.848 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.584e-05/0.3523, allocations: 92.94 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.457e-05/0.3523, allocations: 0 / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.275e-05/0.3523, allocations: 0 / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.453e-05/0.3523, allocations: 7.969 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.3524, allocations: 4 kB / 1.057 GB, free: 3.727 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 8.739e-05/0.3524, allocations: 122.3 kB / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3525, allocations: 0 / 1.057 GB, free: 3.609 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0001901/0.3526, allocations: 11.94 kB / 1.057 GB, free: 3.598 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.0001235/0.3528, allocations: 99.25 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 7.283e-05/0.3529, allocations: 12 kB / 1.057 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3529, allocations: 8.125 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.351e-05/0.3529, allocations: 11.92 kB / 1.057 GB, free: 3.461 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001629/0.3531, allocations: 7.938 kB / 1.057 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.3534, allocations: 213.3 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002875/0.3537, allocations: 0.6926 MB / 1.058 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.567e-05/0.3537, allocations: 11.44 kB / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of SimCode: time 4.31e-07/0.3537, allocations: 0 / 1.058 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of Templates: time 0.002232/0.356, allocations: 0.856 MB / 1.059 GB, free: 1.617 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/jenkins1/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