Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_Btu,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_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_10_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.001898/0.001898, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002357/0.002357, allocations: 192.3 kB / 16.25 MB, free: 6.621 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.537/1.537, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.806/2.806, allocations: 437 MB / 0.7101 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 75.88 kB / 0.8687 GB, free: 5.066 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8518/0.8537, allocations: 151.6 MB / 1.017 GB, free: 2.715 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu): time 0.002215/0.856, allocations: 0.8857 MB / 1.018 GB, free: 1.832 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001122/0.8561, allocations: 43.84 kB / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.911e-05/0.8562, allocations: 0 / 1.018 GB, free: 1.789 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.177e-05/0.8562, allocations: 7.922 kB / 1.018 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.162e-05/0.8563, allocations: 3.938 kB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.436e-05/0.8564, allocations: 16 kB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001023/0.8565, allocations: 63.78 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.8566, allocations: 43.97 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 5.463e-05/0.8567, allocations: 23.86 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.791e-05/0.8567, allocations: 27.86 kB / 1.018 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.818e-05/0.8568, allocations: 11.98 kB / 1.018 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.363e-05/0.8568, allocations: 8 kB / 1.018 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.992e-05/0.8568, allocations: 11.92 kB / 1.018 GB, free: 1.574 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.696e-05/0.8569, allocations: 31.81 kB / 1.018 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001062/0.857, allocations: 77.67 kB / 1.018 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.857, allocations: 0 / 1.018 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.393e-06/0.857, allocations: 0 / 1.018 GB, free: 1.469 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.817e-06/0.857, allocations: 0 / 1.018 GB, free: 1.469 MB / 0.7637 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.0004749/0.8575, allocations: 379.2 kB / 1.018 GB, free: 1.047 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.8575, allocations: 8.031 kB / 1.018 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.242e-05/0.8576, allocations: 16.78 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.8578, allocations: 192.2 kB / 1.019 GB, free: 0.7969 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.111e-05/0.8578, allocations: 8.375 kB / 1.019 GB, free: 0.7891 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.617e-05/0.8578, allocations: 8.375 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001681/0.858, allocations: 101.4 kB / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.858, allocations: 192 / 1.019 GB, free: 0.6719 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.858, allocations: 3.938 kB / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.858, allocations: 0 / 1.019 GB, free: 0.668 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.511e-05/0.8581, allocations: 35.98 kB / 1.019 GB, free: 0.6328 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005794/0.8587, allocations: 436.6 kB / 1.019 GB, free: 156 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.466e-05/0.8588, allocations: 41.09 kB / 1.019 GB, free: 96 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.03e-05/0.8588, allocations: 25.78 kB / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.8589, allocations: 96 / 1.019 GB, free: 64 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.8589, allocations: 38.5 kB / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.8589, allocations: 0 / 1.019 GB, free: 16 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0002152/0.8591, allocations: 61.64 kB / 1.019 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.63e-05/0.8592, allocations: 77.11 kB / 1.019 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.8594, allocations: 168.4 kB / 1.02 GB, free: 15.68 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.807e-05/0.8594, allocations: 25.7 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.66e-05/0.8595, allocations: 108.2 kB / 1.02 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.125e-05/0.8595, allocations: 7.906 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.289e-05/0.8595, allocations: 13.72 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.8597, allocations: 322.8 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.976e-05/0.8597, allocations: 8 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.657e-05/0.8598, allocations: 17.7 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.145e-05/0.8598, allocations: 37.64 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.8598, allocations: 4 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.584e-05/0.8599, allocations: 53.61 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.478e-05/0.8599, allocations: 4 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.86, allocations: 3.938 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.86, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.798e-05/0.86, allocations: 15.92 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.8601, allocations: 0 / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.722e-05/0.8601, allocations: 3.906 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.8601, allocations: 8.062 kB / 1.02 GB, free: 15.01 MB / 0.7794 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.92e-05/0.8602, allocations: 114.6 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.022e-05/0.8602, allocations: 7.906 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.358e-05/0.8603, allocations: 11.81 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.8603, allocations: 4 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.8603, allocations: 0 / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.8603, allocations: 3.984 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004471/0.8608, allocations: 478.8 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.8608, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.957e-05/0.8608, allocations: 4 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.8608, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.913e-06/0.8608, allocations: 3.938 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.8608, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.8608, allocations: 4 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.8609, allocations: 85.83 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.745e-05/0.861, allocations: 92.95 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.389e-05/0.861, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.901e-05/0.8611, allocations: 0 / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.874e-05/0.8611, allocations: 3.984 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.8611, allocations: 7.938 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001027/0.8612, allocations: 116.7 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8612, allocations: 4 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000185/0.8614, allocations: 8.031 kB / 1.021 GB, free: 13.97 MB / 0.7794 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.0001273/0.8615, allocations: 99.25 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001/0.8616, allocations: 15.94 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.8616, allocations: 0 / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.036e-05/0.8617, allocations: 8 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001623/0.8618, allocations: 14.47 kB / 1.021 GB, free: 13.82 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.8622, allocations: 179.1 kB / 1.021 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003733/0.8626, allocations: 0.6924 MB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.358e-05/0.8626, allocations: 16.36 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.865e-05/0.8626, allocations: 11.44 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8626, allocations: 0 / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of Templates: time 0.00289/0.8655, allocations: 456.5 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_Btu.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches