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.001169/0.001169, allocations: 110.5 kB / 16.41 MB, free: 6.488 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.001239/0.001239, allocations: 187 kB / 17.34 MB, free: 5.762 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.357/1.357, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.547/2.547, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 64.05 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8004/0.8019, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002064/0.804, allocations: 0.8192 MB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001157/0.8041, allocations: 39.78 kB / 1.209 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.644e-05/0.8042, allocations: 0 / 1.209 GB, free: 12.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.272e-05/0.8043, allocations: 11.86 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.165e-05/0.8043, allocations: 7.938 kB / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 5.206e-05/0.8044, allocations: 15.98 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001027/0.8045, allocations: 67.78 kB / 1.209 GB, free: 12.64 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001476/0.8047, allocations: 51.89 kB / 1.209 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.241e-05/0.8047, allocations: 15.94 kB / 1.209 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.886e-05/0.8048, allocations: 31.78 kB / 1.209 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.781e-05/0.8048, allocations: 12 kB / 1.209 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.012e-05/0.8048, allocations: 4 kB / 1.209 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.004e-05/0.8049, allocations: 15.94 kB / 1.209 GB, free: 12.51 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.703e-05/0.8049, allocations: 39.8 kB / 1.21 GB, free: 12.47 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.000111/0.805, allocations: 71.64 kB / 1.21 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.805, allocations: 0 / 1.21 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.363e-06/0.805, allocations: 0 / 1.21 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.805, allocations: 0 / 1.21 GB, free: 12.4 MB / 0.9356 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.0004417/0.8055, allocations: 384.8 kB / 1.21 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.8055, allocations: 19.97 kB / 1.21 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.8056, allocations: 12.84 kB / 1.21 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002003/0.8058, allocations: 192.1 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.8058, allocations: 4.375 kB / 1.21 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.8058, allocations: 8.375 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.806, allocations: 102.1 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.806, allocations: 192 / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.236e-05/0.806, allocations: 3.938 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.806, allocations: 8 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.381e-05/0.8061, allocations: 35.92 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005224/0.8066, allocations: 436.6 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.027e-05/0.8067, allocations: 41.31 kB / 1.211 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.391e-05/0.8067, allocations: 25.7 kB / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.8067, allocations: 0 / 1.211 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.065e-05/0.8068, allocations: 34.56 kB / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.8068, allocations: 0 / 1.211 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.000164/0.807, allocations: 57.48 kB / 1.211 GB, free: 10.88 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.733e-05/0.807, allocations: 77.36 kB / 1.211 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.8071, allocations: 164.3 kB / 1.211 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.8072, allocations: 25.7 kB / 1.211 GB, free: 10.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.8072, allocations: 104 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.454e-06/0.8072, allocations: 3.906 kB / 1.211 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.214e-05/0.8073, allocations: 21.7 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.8074, allocations: 318.8 kB / 1.212 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.6e-05/0.8074, allocations: 7.938 kB / 1.212 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.368e-05/0.8075, allocations: 25.7 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.816e-05/0.8075, allocations: 25.72 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.8075, allocations: 0 / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.159e-05/0.8076, allocations: 61.53 kB / 1.212 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.8076, allocations: 4 kB / 1.212 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.8076, allocations: 3.938 kB / 1.212 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.333e-05/0.8076, allocations: 0 / 1.212 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.83e-05/0.8077, allocations: 12.06 kB / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.8077, allocations: 0 / 1.212 GB, free: 9.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.99e-05/0.8077, allocations: 3.906 kB / 1.212 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-06/0.8078, allocations: 7.938 kB / 1.212 GB, free: 9.961 MB / 0.9356 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.683e-05/0.8078, allocations: 113.8 kB / 1.212 GB, free: 9.84 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.24e-05/0.8079, allocations: 7.906 kB / 1.212 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.779e-05/0.8079, allocations: 15.8 kB / 1.212 GB, free: 9.812 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.794e-06/0.8079, allocations: 4 kB / 1.212 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.8079, allocations: 3.938 kB / 1.212 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.808, allocations: 4 kB / 1.212 GB, free: 9.801 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003596/0.8083, allocations: 470.8 kB / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.8083, allocations: 0 / 1.212 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.195e-05/0.8084, allocations: 7.938 kB / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.8084, allocations: 0 / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.7e-06/0.8084, allocations: 0 / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.8084, allocations: 4 kB / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.8084, allocations: 4.062 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.368e-05/0.8085, allocations: 81.83 kB / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.972e-05/0.8085, allocations: 92.94 kB / 1.213 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.447e-05/0.8086, allocations: 4 kB / 1.213 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.952e-05/0.8086, allocations: 0 / 1.213 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.337e-05/0.8086, allocations: 0 / 1.213 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.8086, allocations: 8.031 kB / 1.213 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.51e-05/0.8087, allocations: 121.7 kB / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.703e-06/0.8087, allocations: 0 / 1.213 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0001816/0.8089, allocations: 11.84 kB / 1.213 GB, free: 8.91 MB / 0.9356 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.000104/0.809, allocations: 99.25 kB / 1.213 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.144e-05/0.8091, allocations: 15.98 kB / 1.213 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8091, allocations: 0 / 1.213 GB, free: 8.789 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-05/0.8091, allocations: 16.06 kB / 1.213 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001515/0.8093, allocations: 15.88 kB / 1.213 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/0.8096, allocations: 180.5 kB / 1.213 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002461/0.8098, allocations: 0.6963 MB / 1.214 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/0.8099, allocations: 11.44 kB / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.8099, allocations: 128 / 1.214 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of Templates: time 0.002165/0.812, allocations: 0.8639 MB / 1.214 GB, free: 6.941 MB / 0.9356 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/jenkins1/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