Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.From_BtuPerHour,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_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_9_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.009634/0.009634, allocations: 101.5 kB / 15.73 MB, free: 6.035 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.002278/0.002278, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.505/1.505, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.547/2.547, allocations: 390.2 MB / 0.6648 GB, free: 224 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001234/0.001234, allocations: 68.73 kB / 0.9509 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3606/0.3619, allocations: 140.4 MB / 1.088 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002494/0.3644, allocations: 0.827 MB / 1.089 GB, free: 0.6953 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001468/0.3646, allocations: 43.78 kB / 1.089 GB, free: 0.6523 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.46e-05/0.3647, allocations: 4 kB / 1.089 GB, free: 0.6484 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.302e-05/0.3647, allocations: 7.875 kB / 1.089 GB, free: 0.6406 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 9.573e-05/0.3649, allocations: 3.938 kB / 1.089 GB, free: 0.6367 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.587e-05/0.3649, allocations: 23.98 kB / 1.089 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.000127/0.3651, allocations: 71.77 kB / 1.089 GB, free: 0.543 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.3652, allocations: 39.97 kB / 1.089 GB, free: 0.5039 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.357e-05/0.3653, allocations: 27.84 kB / 1.089 GB, free: 488 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.95e-05/0.3653, allocations: 27.86 kB / 1.089 GB, free: 460 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/0.3654, allocations: 4 kB / 1.089 GB, free: 456 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.144e-05/0.3654, allocations: 8 kB / 1.089 GB, free: 448 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.401e-05/0.3654, allocations: 19.92 kB / 1.089 GB, free: 428 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.79e-05/0.3655, allocations: 31.75 kB / 1.089 GB, free: 396 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001178/0.3656, allocations: 83.58 kB / 1.089 GB, free: 312 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.3656, allocations: 3.938 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of FrontEnd: time 3.406e-06/0.3656, allocations: 3.984 kB / 1.089 GB, free: 304 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.854e-06/0.3656, allocations: 0 / 1.089 GB, free: 304 kB / 0.8419 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.0004844/0.3661, allocations: 367.3 kB / 1.089 GB, free: 15.89 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.3662, allocations: 8.031 kB / 1.089 GB, free: 15.88 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.3662, allocations: 12.75 kB / 1.089 GB, free: 15.87 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.3664, allocations: 204.1 kB / 1.09 GB, free: 15.63 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.3664, allocations: 8.375 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.457e-05/0.3665, allocations: 4.375 kB / 1.09 GB, free: 15.62 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.3666, allocations: 89.2 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.3666, allocations: 192 / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.589e-05/0.3667, allocations: 7.938 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3667, allocations: 0 / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8e-05/0.3667, allocations: 43.91 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005678/0.3673, allocations: 432.6 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 5.896e-05/0.3674, allocations: 45.23 kB / 1.09 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.558e-05/0.3674, allocations: 17.78 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.527e-05/0.3675, allocations: 8 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.3675, allocations: 30.56 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3675, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001903/0.3677, allocations: 57.47 kB / 1.09 GB, free: 14.8 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.3677, allocations: 81.11 kB / 1.09 GB, free: 14.7 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.3679, allocations: 156.3 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.473e-05/0.3679, allocations: 33.7 kB / 1.091 GB, free: 14.5 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.417e-05/0.368, allocations: 96.05 kB / 1.091 GB, free: 14.4 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.213e-05/0.368, allocations: 15.88 kB / 1.091 GB, free: 14.39 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.202e-05/0.3681, allocations: 13.72 kB / 1.091 GB, free: 14.37 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3682, allocations: 314.8 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.153e-05/0.3682, allocations: 19.86 kB / 1.091 GB, free: 14.03 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.144e-05/0.3683, allocations: 13.72 kB / 1.091 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.108e-05/0.3683, allocations: 33.72 kB / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3683, allocations: 0 / 1.091 GB, free: 13.97 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.838e-05/0.3684, allocations: 57.53 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.424e-05/0.3684, allocations: 4 kB / 1.091 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.3684, allocations: 7.938 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.3684, allocations: 0 / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.151e-05/0.3685, allocations: 4 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3685, allocations: 0 / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.065e-05/0.3686, allocations: 15.91 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.827e-06/0.3686, allocations: 0 / 1.091 GB, free: 13.88 MB / 0.8575 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.396e-05/0.3687, allocations: 121.8 kB / 1.091 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.085e-05/0.3687, allocations: 7.906 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.785e-05/0.3687, allocations: 15.81 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.3687, allocations: 0 / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.3688, allocations: 0 / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.3688, allocations: 4 kB / 1.091 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004/0.3692, allocations: 474.8 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.3692, allocations: 4 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.827e-05/0.3692, allocations: 3.938 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.119e-06/0.3692, allocations: 7.984 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.3692, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.3692, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.3692, allocations: 0 / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.355e-05/0.3693, allocations: 77.91 kB / 1.092 GB, free: 13.08 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.916e-05/0.3694, allocations: 93 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.3694, allocations: 0 / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.089e-05/0.3694, allocations: 4 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.777e-05/0.3694, allocations: 0 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.684e-06/0.3695, allocations: 0 / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 9.252e-05/0.3695, allocations: 121.9 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.164e-06/0.3696, allocations: 4.031 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000183/0.3697, allocations: 11.94 kB / 1.092 GB, free: 12.83 MB / 0.8575 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.0001132/0.3699, allocations: 98.88 kB / 1.092 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.686e-05/0.37, allocations: 19.98 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.37, allocations: 3.938 kB / 1.092 GB, free: 12.71 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.292e-05/0.37, allocations: 11.94 kB / 1.092 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001648/0.3702, allocations: 14.22 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002895/0.3705, allocations: 166.8 kB / 1.092 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002672/0.3707, allocations: 0.6889 MB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.784e-05/0.3708, allocations: 8.422 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.458e-05/0.3708, allocations: 11.44 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of SimCode: time 2.4e-07/0.3708, allocations: 4 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of Templates: time 0.002616/0.3734, allocations: 477.9 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches