Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.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.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001894/0.001894, allocations: 198.4 kB / 16.53 MB, free: 6.668 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.473/1.473, allocations: 222.9 MB / 240.2 MB, free: 4.379 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.749/2.749, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 67.89 kB / 0.8692 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8547/0.8561, allocations: 151.6 MB / 1.017 GB, free: 2.484 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.003482/0.8597, allocations: 0.8308 MB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0002229/0.8599, allocations: 43.78 kB / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001004/0.8601, allocations: 0 / 1.018 GB, free: 1.613 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.728e-05/0.8601, allocations: 7.875 kB / 1.018 GB, free: 1.605 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.0001275/0.8603, allocations: 7.875 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 7.64e-05/0.8604, allocations: 27.97 kB / 1.018 GB, free: 1.57 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001655/0.8606, allocations: 59.8 kB / 1.018 GB, free: 1.512 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002198/0.8608, allocations: 39.95 kB / 1.018 GB, free: 1.473 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.8609, allocations: 31.86 kB / 1.018 GB, free: 1.441 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.037e-05/0.861, allocations: 31.84 kB / 1.018 GB, free: 1.41 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.885e-05/0.861, allocations: 4 kB / 1.018 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.593e-05/0.861, allocations: 8 kB / 1.018 GB, free: 1.398 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.8611, allocations: 11.94 kB / 1.018 GB, free: 1.387 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.897e-05/0.8611, allocations: 39.73 kB / 1.018 GB, free: 1.348 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001777/0.8613, allocations: 65.73 kB / 1.018 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.8613, allocations: 0 / 1.018 GB, free: 1.285 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8613, allocations: 4 kB / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.8613, allocations: 0 / 1.018 GB, free: 1.281 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.0004773/0.8618, allocations: 387.1 kB / 1.019 GB, free: 0.8516 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.8619, allocations: 12.03 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.579e-05/0.8619, allocations: 12.78 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002235/0.8622, allocations: 188.2 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.8622, allocations: 384 / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.838e-05/0.8622, allocations: 12.38 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.8624, allocations: 99.78 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.8624, allocations: 8.172 kB / 1.019 GB, free: 488 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.8624, allocations: 3.938 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.8625, allocations: 7.938 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.731e-05/0.8625, allocations: 39.92 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005884/0.8631, allocations: 428.6 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.41e-05/0.8632, allocations: 41.22 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.707e-05/0.8633, allocations: 21.77 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.064e-05/0.8633, allocations: 96 / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.8633, allocations: 42.5 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.8633, allocations: 0 / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=2): time 0.0001868/0.8635, allocations: 57.48 kB / 1.02 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.362e-05/0.8636, allocations: 77.11 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000181/0.8638, allocations: 163.7 kB / 1.02 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.8638, allocations: 25.7 kB / 1.02 GB, free: 15.46 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.515e-05/0.8639, allocations: 107.9 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.21e-05/0.8639, allocations: 11.89 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.513e-05/0.864, allocations: 17.72 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.8641, allocations: 327.1 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.13e-05/0.8642, allocations: 4 kB / 1.02 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.178e-05/0.8642, allocations: 21.7 kB / 1.02 GB, free: 14.95 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.186e-05/0.8643, allocations: 25.66 kB / 1.02 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.8643, allocations: 4 kB / 1.021 GB, free: 14.92 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001091/0.8644, allocations: 61.62 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.8644, allocations: 5.406 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.8644, allocations: 3.938 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.214e-05/0.8645, allocations: 4 kB / 1.021 GB, free: 14.84 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.641e-05/0.8646, allocations: 7.938 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.8646, allocations: 0 / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.559e-05/0.8646, allocations: 4 kB / 1.021 GB, free: 14.83 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.028e-06/0.8646, allocations: 0 / 1.021 GB, free: 14.83 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 0.0001234/0.8647, allocations: 113.8 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.423e-05/0.8648, allocations: 11.84 kB / 1.021 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.781e-05/0.8649, allocations: 23.8 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.8649, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.8649, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.8649, allocations: 0 / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004783/0.8654, allocations: 466.8 kB / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.8654, allocations: 0 / 1.021 GB, free: 14.15 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.147e-05/0.8654, allocations: 7.938 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.8654, allocations: 4.062 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.848e-06/0.8654, allocations: 4 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.8654, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.8654, allocations: 3.938 kB / 1.021 GB, free: 14.13 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001052/0.8656, allocations: 85.77 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.826e-05/0.8657, allocations: 92.94 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.795e-05/0.8657, allocations: 4.031 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.054e-05/0.8657, allocations: 0 / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.116e-05/0.8657, allocations: 4 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.288e-06/0.8657, allocations: 4 kB / 1.021 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 9.072e-05/0.8658, allocations: 121.3 kB / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8658, allocations: 0 / 1.021 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002072/0.8661, allocations: 8 kB / 1.021 GB, free: 13.78 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.0001192/0.8662, allocations: 95.25 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.629e-05/0.8663, allocations: 27.92 kB / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.8663, allocations: 0 / 1.022 GB, free: 13.65 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.2e-05/0.8663, allocations: 4 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001695/0.8665, allocations: 11.94 kB / 1.022 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003448/0.8668, allocations: 155.1 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002851/0.8671, allocations: 0.6963 MB / 1.022 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.087e-05/0.8672, allocations: 8.375 kB / 1.022 GB, free: 12.72 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.384e-05/0.8672, allocations: 11.44 kB / 1.022 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of SimCode: time 2.81e-07/0.8672, allocations: 4 kB / 1.022 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of Templates: time 0.002656/0.8699, allocations: 452.6 kB / 1.023 GB, free: 12.26 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches