Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005924/0.005924, allocations: 101.2 kB / 15.73 MB, free: 6.051 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.001293/0.001293, allocations: 190.5 kB / 16.67 MB, free: 5.977 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.514/1.514, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.859/2.859, allocations: 461.9 MB / 0.7348 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 63.89 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3903, allocations: 157.4 MB / 1.208 GB, free: 9.648 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002328/0.3927, allocations: 0.8277 MB / 1.209 GB, free: 8.82 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001552/0.3929, allocations: 39.78 kB / 1.209 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.697e-05/0.3929, allocations: 0 / 1.209 GB, free: 8.781 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 5.688e-05/0.393, allocations: 7.875 kB / 1.209 GB, free: 8.773 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.904e-05/0.3931, allocations: 11.88 kB / 1.209 GB, free: 8.762 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 5.233e-05/0.3932, allocations: 19.97 kB / 1.209 GB, free: 8.742 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001134/0.3933, allocations: 59.84 kB / 1.209 GB, free: 8.684 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001609/0.3935, allocations: 47.92 kB / 1.209 GB, free: 8.637 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.414e-05/0.3935, allocations: 23.86 kB / 1.209 GB, free: 8.613 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.463e-05/0.3936, allocations: 27.84 kB / 1.209 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.814e-05/0.3936, allocations: 8 kB / 1.209 GB, free: 8.578 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.106e-05/0.3936, allocations: 4 kB / 1.209 GB, free: 8.574 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.3937, allocations: 27.86 kB / 1.209 GB, free: 8.547 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.928e-05/0.3937, allocations: 31.81 kB / 1.209 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.3939, allocations: 75.69 kB / 1.209 GB, free: 8.441 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.3939, allocations: 3.938 kB / 1.209 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3939, allocations: 0 / 1.209 GB, free: 8.438 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.762e-06/0.3939, allocations: 0 / 1.209 GB, free: 8.438 MB / 0.9669 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.0004546/0.3943, allocations: 379.2 kB / 1.209 GB, free: 8.016 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.544e-05/0.3944, allocations: 8.625 kB / 1.209 GB, free: 8.008 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.051e-05/0.3945, allocations: 12.84 kB / 1.209 GB, free: 7.996 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.3947, allocations: 200.1 kB / 1.209 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.296e-05/0.3947, allocations: 8.375 kB / 1.21 GB, free: 7.754 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.883e-05/0.3948, allocations: 4.375 kB / 1.21 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.3949, allocations: 93.52 kB / 1.21 GB, free: 7.648 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.395, allocations: 4.125 kB / 1.21 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.395, allocations: 3.938 kB / 1.21 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.395, allocations: 0 / 1.21 GB, free: 7.641 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.65e-05/0.3951, allocations: 35.98 kB / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005859/0.3957, allocations: 440.6 kB / 1.21 GB, free: 7.121 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 5.651e-05/0.3957, allocations: 41.09 kB / 1.21 GB, free: 7.062 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.66e-05/0.3958, allocations: 17.84 kB / 1.21 GB, free: 7.039 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.3958, allocations: 8 kB / 1.21 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.597e-05/0.3958, allocations: 34.5 kB / 1.21 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.373e-06/0.3958, allocations: 0 / 1.21 GB, free: 6.988 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0001963/0.396, allocations: 57.53 kB / 1.21 GB, free: 6.926 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.3961, allocations: 81.05 kB / 1.21 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.3962, allocations: 158.9 kB / 1.21 GB, free: 6.664 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.316e-05/0.3963, allocations: 25.95 kB / 1.21 GB, free: 6.633 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.902e-05/0.3963, allocations: 108 kB / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 8.265e-06/0.3964, allocations: 3.906 kB / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.82e-05/0.3964, allocations: 21.62 kB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001067/0.3965, allocations: 322.8 kB / 1.211 GB, free: 6.168 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.677e-05/0.3965, allocations: 4 kB / 1.211 GB, free: 6.164 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.238e-05/0.3966, allocations: 21.7 kB / 1.211 GB, free: 6.137 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.448e-05/0.3966, allocations: 33.72 kB / 1.211 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/0.3966, allocations: 0 / 1.211 GB, free: 6.098 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.732e-05/0.3967, allocations: 61.56 kB / 1.211 GB, free: 6.031 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.3967, allocations: 4 kB / 1.211 GB, free: 6.027 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.3968, allocations: 3.938 kB / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/0.3968, allocations: 0 / 1.211 GB, free: 6.023 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.186e-05/0.3969, allocations: 8 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.3969, allocations: 3.984 kB / 1.211 GB, free: 6.012 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.183e-05/0.3969, allocations: 15.84 kB / 1.211 GB, free: 5.996 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.3969, allocations: 4 kB / 1.211 GB, free: 5.992 MB / 0.9669 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.232e-05/0.397, allocations: 113.8 kB / 1.211 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.428e-05/0.3971, allocations: 7.906 kB / 1.211 GB, free: 5.863 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.024e-05/0.3971, allocations: 11.81 kB / 1.211 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.3971, allocations: 4 kB / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.299e-06/0.3971, allocations: 0 / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.3971, allocations: 0 / 1.211 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003692/0.3975, allocations: 482.7 kB / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.3975, allocations: 0 / 1.212 GB, free: 5.312 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.177e-05/0.3975, allocations: 4 kB / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.3975, allocations: 0 / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.663e-06/0.3975, allocations: 0 / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3976, allocations: 0 / 1.212 GB, free: 5.309 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.3976, allocations: 4 kB / 1.212 GB, free: 5.305 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.233e-05/0.3977, allocations: 89.73 kB / 1.212 GB, free: 5.195 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.848e-05/0.3977, allocations: 85.02 kB / 1.212 GB, free: 5.094 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.293e-05/0.3977, allocations: 4 kB / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.91e-05/0.3978, allocations: 3.938 kB / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.538e-05/0.3978, allocations: 0 / 1.212 GB, free: 5.086 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.142e-06/0.3978, allocations: 7.984 kB / 1.212 GB, free: 5.078 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.241e-05/0.3979, allocations: 113.1 kB / 1.212 GB, free: 4.969 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3979, allocations: 8.031 kB / 1.212 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0001857/0.3981, allocations: 4 kB / 1.212 GB, free: 4.957 MB / 0.9669 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.0001296/0.3982, allocations: 103.2 kB / 1.212 GB, free: 4.848 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 9.052e-05/0.3983, allocations: 15.94 kB / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3983, allocations: 0 / 1.212 GB, free: 4.832 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.266e-05/0.3983, allocations: 8 kB / 1.212 GB, free: 4.824 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001635/0.3985, allocations: 18.88 kB / 1.212 GB, free: 4.809 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003793/0.3989, allocations: 159 kB / 1.212 GB, free: 4.617 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000286/0.3992, allocations: 0.6928 MB / 1.213 GB, free: 3.898 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.48e-05/0.3992, allocations: 12.42 kB / 1.213 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.46e-05/0.3993, allocations: 7.438 kB / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of SimCode: time 3.4e-07/0.3993, allocations: 8 kB / 1.213 GB, free: 3.871 MB / 0.9669 GB Notification: Performance of Templates: time 0.002847/0.4021, allocations: 473 kB / 1.213 GB, free: 3.41 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches