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.001826/0.001826, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002393/0.002393, allocations: 189.9 kB / 16.14 MB, free: 6.629 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.515/1.515, allocations: 222.9 MB / 239.8 MB, free: 4.586 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.863/2.863, allocations: 437 MB / 0.71 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 59.91 kB / 0.8686 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7571/0.7591, allocations: 151.6 MB / 1.017 GB, free: 2.859 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002284/0.7614, allocations: 0.874 MB / 1.018 GB, free: 1.988 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001199/0.7616, allocations: 47.78 kB / 1.018 GB, free: 1.941 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.879e-05/0.7616, allocations: 7.938 kB / 1.018 GB, free: 1.934 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 4.998e-05/0.7617, allocations: 3.938 kB / 1.018 GB, free: 1.93 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.05e-05/0.7618, allocations: 7.922 kB / 1.018 GB, free: 1.922 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 4.355e-05/0.7619, allocations: 12 kB / 1.018 GB, free: 1.91 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.762, allocations: 59.84 kB / 1.018 GB, free: 1.852 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001455/0.7621, allocations: 43.95 kB / 1.018 GB, free: 1.809 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.537e-05/0.7622, allocations: 31.8 kB / 1.018 GB, free: 1.777 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 5.536e-05/0.7623, allocations: 19.86 kB / 1.018 GB, free: 1.758 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.805e-05/0.7623, allocations: 4 kB / 1.018 GB, free: 1.754 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.108e-05/0.7623, allocations: 4 kB / 1.018 GB, free: 1.75 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.7623, allocations: 19.92 kB / 1.018 GB, free: 1.73 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.012e-05/0.7624, allocations: 31.75 kB / 1.018 GB, free: 1.699 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001139/0.7625, allocations: 69.72 kB / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.7625, allocations: 0 / 1.018 GB, free: 1.633 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7625, allocations: 4 kB / 1.018 GB, free: 1.629 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.7625, allocations: 0 / 1.018 GB, free: 1.629 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.0005273/0.7631, allocations: 379.2 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.7631, allocations: 8.031 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.945e-05/0.7631, allocations: 8.844 kB / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.7634, allocations: 200.1 kB / 1.018 GB, free: 0.957 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-06/0.7634, allocations: 4.375 kB / 1.018 GB, free: 0.9531 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.7634, allocations: 8.375 kB / 1.018 GB, free: 0.9453 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000165/0.7636, allocations: 91.86 kB / 1.019 GB, free: 0.8438 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.7636, allocations: 4.125 kB / 1.019 GB, free: 0.8398 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.7636, allocations: 7.938 kB / 1.019 GB, free: 0.832 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/0.7636, allocations: 4 kB / 1.019 GB, free: 0.8281 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.749e-05/0.7637, allocations: 43.91 kB / 1.019 GB, free: 0.7852 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000593/0.7643, allocations: 436.8 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 6.42e-05/0.7644, allocations: 37.09 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.887e-05/0.7644, allocations: 17.84 kB / 1.019 GB, free: 232 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.7645, allocations: 4 kB / 1.019 GB, free: 228 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.766e-05/0.7645, allocations: 38.5 kB / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 9.91e-07/0.7645, allocations: 0 / 1.019 GB, free: 180 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.0001896/0.7647, allocations: 61.44 kB / 1.019 GB, free: 112 kB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.678e-05/0.7648, allocations: 85.05 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.765, allocations: 155.5 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.765, allocations: 29.7 kB / 1.019 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.665e-05/0.7651, allocations: 108.2 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 9.788e-06/0.7651, allocations: 7.906 kB / 1.02 GB, free: 15.69 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.7651, allocations: 21.66 kB / 1.02 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.7653, allocations: 318.8 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.169e-05/0.7653, allocations: 8 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.619e-05/0.7654, allocations: 21.72 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.664e-05/0.7654, allocations: 29.7 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.7654, allocations: 0 / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.485e-05/0.7655, allocations: 57.55 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.7655, allocations: 6.5 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.7655, allocations: 7.938 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.7656, allocations: 0 / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.614e-05/0.7656, allocations: 7.984 kB / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.7656, allocations: 0 / 1.02 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.027e-05/0.7657, allocations: 11.84 kB / 1.02 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-06/0.7657, allocations: 0 / 1.02 GB, free: 15.18 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.0001/0.7658, allocations: 118.4 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/0.7658, allocations: 7.906 kB / 1.02 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.568e-05/0.7659, allocations: 11.81 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.7659, allocations: 0 / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.7659, allocations: 3.984 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.7659, allocations: 4 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004505/0.7664, allocations: 470.8 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.065e-06/0.7664, allocations: 4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.669e-05/0.7664, allocations: 3.938 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.917e-06/0.7664, allocations: 4 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.05e-06/0.7664, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.7664, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.7664, allocations: 3.984 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001105/0.7665, allocations: 89.83 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.056e-05/0.7666, allocations: 88.95 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.7666, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.18e-05/0.7667, allocations: 4 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.75e-05/0.7667, allocations: 3.984 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.7667, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.000107/0.7668, allocations: 125.5 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7668, allocations: 0 / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001981/0.767, allocations: 8 kB / 1.021 GB, free: 14.14 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.0001335/0.7671, allocations: 99.28 kB / 1.021 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.591e-05/0.7672, allocations: 19.94 kB / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7672, allocations: 0 / 1.021 GB, free: 14.01 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.153e-05/0.7673, allocations: 4 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.7674, allocations: 11.94 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003494/0.7678, allocations: 188.7 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003428/0.7682, allocations: 0.6887 MB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.425e-05/0.7682, allocations: 20.36 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.37e-05/0.7682, allocations: 7.438 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.7682, allocations: 4 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of Templates: time 0.002851/0.7711, allocations: 428.5 kB / 1.022 GB, free: 12.61 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=400 -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