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.0009129/0.000913, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005838/0.005838, allocations: 171.7 kB / 16.27 MB, free: 6.648 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.549/1.549, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.129/3.129, allocations: 483.2 MB / 0.7564 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.0003884/0.0003885, allocations: 10.19 kB / 0.9276 GB, free: 29.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4116/0.412, allocations: 164.5 MB / 1.088 GB, free: 10.32 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_BtuPerHour): time 0.001109/0.4132, allocations: 0.5407 MB / 1.089 GB, free: 9.781 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.000113/0.4133, allocations: 39.78 kB / 1.089 GB, free: 9.742 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.542e-05/0.4134, allocations: 4 kB / 1.089 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.932e-05/0.4134, allocations: 3.938 kB / 1.089 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.966e-05/0.4135, allocations: 7.922 kB / 1.089 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 5.446e-05/0.4136, allocations: 19.98 kB / 1.089 GB, free: 9.707 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 9.504e-05/0.4137, allocations: 51.84 kB / 1.089 GB, free: 9.656 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001422/0.4138, allocations: 47.89 kB / 1.089 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 6.04e-05/0.4139, allocations: 19.88 kB / 1.089 GB, free: 9.59 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.462e-05/0.4139, allocations: 19.86 kB / 1.089 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.414, allocations: 0 / 1.089 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.528e-06/0.414, allocations: 4 kB / 1.089 GB, free: 9.566 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.414, allocations: 3.938 kB / 1.089 GB, free: 9.562 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 7.864e-05/0.4141, allocations: 61.44 kB / 1.089 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.4142, allocations: 64.03 kB / 1.089 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.4142, allocations: 0 / 1.089 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.663e-06/0.4142, allocations: 0 / 1.089 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.4142, allocations: 0 / 1.089 GB, free: 9.434 MB / 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.0004603/0.4147, allocations: 363.3 kB / 1.089 GB, free: 9.027 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/0.4148, allocations: 16.02 kB / 1.089 GB, free: 9.012 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.504e-05/0.4148, allocations: 12.78 kB / 1.089 GB, free: 9 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002465/0.415, allocations: 192.2 kB / 1.09 GB, free: 8.773 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.4151, allocations: 4.375 kB / 1.09 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.4151, allocations: 8.375 kB / 1.09 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.4153, allocations: 99.8 kB / 1.09 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.4153, allocations: 192 / 1.09 GB, free: 8.652 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.332e-05/0.4153, allocations: 7.875 kB / 1.09 GB, free: 8.645 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.307e-05/0.4153, allocations: 7.984 kB / 1.09 GB, free: 8.637 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.129e-05/0.4154, allocations: 35.98 kB / 1.09 GB, free: 8.602 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006253/0.4161, allocations: 444.5 kB / 1.09 GB, free: 8.113 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.822e-05/0.4162, allocations: 37.22 kB / 1.09 GB, free: 8.059 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.765e-05/0.4162, allocations: 17.78 kB / 1.09 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.449e-05/0.4162, allocations: 4.094 kB / 1.09 GB, free: 8.031 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.4163, allocations: 46.42 kB / 1.09 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.4163, allocations: 0 / 1.09 GB, free: 7.977 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2): time 0.0001781/0.4165, allocations: 53.48 kB / 1.09 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.651e-05/0.4165, allocations: 81.11 kB / 1.09 GB, free: 7.82 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001624/0.4167, allocations: 164.7 kB / 1.091 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.4167, allocations: 29.7 kB / 1.091 GB, free: 7.613 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.878e-05/0.4168, allocations: 104 kB / 1.091 GB, free: 7.508 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.265e-06/0.4168, allocations: 3.906 kB / 1.091 GB, free: 7.504 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.43e-05/0.4169, allocations: 13.72 kB / 1.091 GB, free: 7.484 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001473/0.417, allocations: 318.8 kB / 1.091 GB, free: 7.164 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.93e-05/0.417, allocations: 8 kB / 1.091 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.419e-05/0.4171, allocations: 17.72 kB / 1.091 GB, free: 7.133 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.422e-05/0.4171, allocations: 33.64 kB / 1.091 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.4171, allocations: 0 / 1.091 GB, free: 7.094 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.696e-05/0.4172, allocations: 53.61 kB / 1.091 GB, free: 7.035 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.4172, allocations: 8 kB / 1.091 GB, free: 7.027 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.4172, allocations: 3.938 kB / 1.091 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.4173, allocations: 0 / 1.091 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.264e-05/0.4173, allocations: 15.92 kB / 1.091 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.4173, allocations: 64 / 1.091 GB, free: 7.008 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.01e-05/0.4174, allocations: 7.938 kB / 1.091 GB, free: 7 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.223e-06/0.4174, allocations: 4 kB / 1.091 GB, free: 6.996 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 9.761e-05/0.4175, allocations: 113.8 kB / 1.091 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.481e-05/0.4175, allocations: 11.81 kB / 1.091 GB, free: 6.863 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.314e-05/0.4176, allocations: 7.812 kB / 1.091 GB, free: 6.855 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.4176, allocations: 4 kB / 1.091 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4176, allocations: 3.984 kB / 1.091 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.4176, allocations: 0 / 1.091 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004365/0.418, allocations: 482.7 kB / 1.092 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.4181, allocations: 0 / 1.092 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.744e-05/0.4181, allocations: 4 kB / 1.092 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.4181, allocations: 96 / 1.092 GB, free: 6.309 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.4181, allocations: 3.984 kB / 1.092 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.4181, allocations: 0 / 1.092 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.4181, allocations: 0 / 1.092 GB, free: 6.305 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.4182, allocations: 93.83 kB / 1.092 GB, free: 6.191 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.733e-05/0.4183, allocations: 81.02 kB / 1.092 GB, free: 6.094 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.4183, allocations: 4 kB / 1.092 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.038e-05/0.4184, allocations: 0 / 1.092 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.219e-05/0.4184, allocations: 3.984 kB / 1.092 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.763e-06/0.4184, allocations: 0 / 1.092 GB, free: 6.086 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 9.891e-05/0.4185, allocations: 125.9 kB / 1.092 GB, free: 5.965 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4185, allocations: 3.938 kB / 1.092 GB, free: 5.961 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0001894/0.4187, allocations: 12 kB / 1.092 GB, free: 5.949 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 0.0001303/0.4188, allocations: 99.25 kB / 1.092 GB, free: 5.844 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.216e-05/0.4189, allocations: 15.94 kB / 1.092 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.4189, allocations: 0 / 1.092 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.209e-05/0.4189, allocations: 4 kB / 1.092 GB, free: 5.824 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001636/0.4191, allocations: 13.75 kB / 1.092 GB, free: 5.812 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003365/0.4195, allocations: 180.6 kB / 1.092 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000328/0.4198, allocations: 0.7004 MB / 1.093 GB, free: 4.871 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.128e-05/0.4198, allocations: 8.422 kB / 1.093 GB, free: 4.863 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.866e-05/0.4199, allocations: 11.44 kB / 1.093 GB, free: 4.852 MB / 0.8419 GB Notification: Performance of SimCode: time 2.134e-06/0.4199, allocations: 3.938 kB / 1.093 GB, free: 4.848 MB / 0.8419 GB Notification: Performance of Templates: time 0.00288/0.4228, allocations: 428.4 kB / 1.094 GB, free: 4.43 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/jenkins/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