Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001757, 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.002047/0.002047, allocations: 194.5 kB / 16.25 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.544/1.544, allocations: 222.9 MB / 239.9 MB, free: 4.512 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.851/2.851, allocations: 437 MB / 0.7101 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001891/0.001891, allocations: 63.91 kB / 0.8687 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7724/0.7743, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.00246/0.7768, allocations: 0.8974 MB / 1.018 GB, free: 1.824 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0001429/0.777, allocations: 39.78 kB / 1.018 GB, free: 1.785 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.335e-05/0.777, allocations: 4 kB / 1.018 GB, free: 1.781 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.29e-05/0.7771, allocations: 7.922 kB / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.492e-05/0.7772, allocations: 0 / 1.018 GB, free: 1.773 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 5.67e-05/0.7773, allocations: 12 kB / 1.018 GB, free: 1.762 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.000124/0.7774, allocations: 71.78 kB / 1.018 GB, free: 1.691 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001939/0.7776, allocations: 35.97 kB / 1.018 GB, free: 1.656 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 6.921e-05/0.7777, allocations: 31.84 kB / 1.018 GB, free: 1.625 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.237e-05/0.7777, allocations: 27.8 kB / 1.018 GB, free: 1.598 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 4.443e-05/0.7778, allocations: 12 kB / 1.018 GB, free: 1.586 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.357e-05/0.7778, allocations: 7.938 kB / 1.018 GB, free: 1.578 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.836e-05/0.7779, allocations: 19.92 kB / 1.018 GB, free: 1.559 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 5.334e-05/0.7779, allocations: 31.8 kB / 1.018 GB, free: 1.527 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.7781, allocations: 73.67 kB / 1.018 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.7781, allocations: 0 / 1.018 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.865e-06/0.7781, allocations: 0 / 1.018 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.7781, allocations: 0 / 1.018 GB, free: 1.457 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.0006224/0.7787, allocations: 383.1 kB / 1.018 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.7788, allocations: 12.03 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.7788, allocations: 12.84 kB / 1.018 GB, free: 1.008 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002541/0.7791, allocations: 192.2 kB / 1.019 GB, free: 0.7812 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.753e-05/0.7791, allocations: 4.375 kB / 1.019 GB, free: 0.7773 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.7791, allocations: 8.375 kB / 1.019 GB, free: 0.7695 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.7793, allocations: 95.84 kB / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.092e-05/0.7794, allocations: 192 / 1.019 GB, free: 0.6641 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.001e-05/0.7794, allocations: 7.938 kB / 1.019 GB, free: 0.6562 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.7794, allocations: 7.984 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.934e-05/0.7795, allocations: 39.92 kB / 1.019 GB, free: 0.6094 MB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000634/0.7801, allocations: 424.7 kB / 1.019 GB, free: 144 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 7.32e-05/0.7802, allocations: 41.19 kB / 1.019 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.164e-05/0.7803, allocations: 25.78 kB / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 1.358e-05/0.7803, allocations: 0 / 1.019 GB, free: 52 kB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.226e-05/0.7803, allocations: 34.55 kB / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.7803, allocations: 0 / 1.019 GB, free: 8 kB / 0.7637 GB Notification: Performance of matching and sorting (n=2): time 0.000236/0.7806, allocations: 57.81 kB / 1.019 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7e-05/0.7807, allocations: 85.14 kB / 1.019 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001872/0.7808, allocations: 160.3 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.753e-05/0.7809, allocations: 25.7 kB / 1.02 GB, free: 15.64 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.412e-05/0.781, allocations: 111.9 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.17e-05/0.781, allocations: 7.891 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.781, allocations: 17.72 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001768/0.7812, allocations: 322.8 kB / 1.02 GB, free: 15.17 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.928e-05/0.7812, allocations: 8 kB / 1.02 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.02e-05/0.7813, allocations: 25.64 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.548e-05/0.7813, allocations: 21.72 kB / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.7813, allocations: 0 / 1.02 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001004/0.7814, allocations: 61.55 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.7814, allocations: 4 kB / 1.02 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.7815, allocations: 11.94 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.667e-05/0.7815, allocations: 3.984 kB / 1.02 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.087e-05/0.7816, allocations: 8 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.7816, allocations: 0 / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.834e-05/0.7816, allocations: 4 kB / 1.02 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.538e-05/0.7816, allocations: 4 kB / 1.02 GB, free: 15 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.516e-05/0.7817, allocations: 114.6 kB / 1.02 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.731e-05/0.7818, allocations: 11.81 kB / 1.02 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.072e-05/0.7818, allocations: 15.8 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.626e-06/0.7818, allocations: 8 kB / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.7818, allocations: 0 / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.7819, allocations: 0 / 1.02 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004603/0.7823, allocations: 466.8 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.7823, allocations: 0 / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.978e-05/0.7824, allocations: 4 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.7824, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.773e-06/0.7824, allocations: 3.938 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7824, allocations: 7.891 kB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.7824, allocations: 4 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.965e-05/0.7825, allocations: 81.83 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.879e-05/0.7826, allocations: 84.95 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.7826, allocations: 7.984 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.965e-05/0.7826, allocations: 0 / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.141e-05/0.7826, allocations: 4.031 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.697e-06/0.7826, allocations: 4 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001035/0.7827, allocations: 120.9 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7828, allocations: 0 / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0001858/0.7829, allocations: 8 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.0001357/0.7831, allocations: 103.2 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.696e-05/0.7832, allocations: 12 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.7832, allocations: 4.125 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.266e-05/0.7832, allocations: 7.938 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.7834, allocations: 18.31 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.0003263/0.7837, allocations: 179 kB / 1.021 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003344/0.7841, allocations: 0.6924 MB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.431e-05/0.7841, allocations: 8.422 kB / 1.022 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/0.7842, allocations: 11.44 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of SimCode: time 2.8e-07/0.7842, allocations: 0 / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of Templates: time 0.003008/0.7872, allocations: 456.6 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches