Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.0008227/0.0008228, allocations: 91.84 kB / 15.36 MB, free: 0.7344 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.006622/0.006622, allocations: 170.3 kB / 16.26 MB, free: 6.617 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.479/1.479, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.456/2.456, allocations: 390.9 MB / 0.6663 GB, free: 2.359 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0005559/0.000556, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9329/0.9335, allocations: 142.4 MB / 0.955 GB, free: 7.703 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.0009414/0.9345, allocations: 0.5424 MB / 0.9556 GB, free: 7.281 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0001191/0.9346, allocations: 41.66 kB / 0.9556 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.911e-05/0.9347, allocations: 5.406 kB / 0.9556 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.502e-05/0.9347, allocations: 7.938 kB / 0.9556 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.573e-05/0.9348, allocations: 9.391 kB / 0.9556 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.157e-05/0.9349, allocations: 14.94 kB / 0.9556 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.789e-05/0.935, allocations: 55.31 kB / 0.9557 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001459/0.9351, allocations: 42.2 kB / 0.9557 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.449e-05/0.9352, allocations: 22.27 kB / 0.9558 GB, free: 7.141 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.317e-05/0.9352, allocations: 20.44 kB / 0.9558 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.507e-05/0.9353, allocations: 2.125 kB / 0.9558 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.067e-05/0.9353, allocations: 1.188 kB / 0.9558 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.914e-05/0.9353, allocations: 10.11 kB / 0.9558 GB, free: 7.117 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.476e-05/0.9354, allocations: 50.89 kB / 0.9558 GB, free: 7.066 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 8.77e-05/0.9354, allocations: 70.75 kB / 0.9559 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.9355, allocations: 0 / 0.9559 GB, free: 7.012 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.754e-06/0.9355, allocations: 4.906 kB / 0.9559 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.9355, allocations: 0 / 0.9559 GB, free: 7.008 MB / 0.7169 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.000359/0.9358, allocations: 366.2 kB / 0.9563 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.9359, allocations: 8.312 kB / 0.9563 GB, free: 6.617 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.755e-05/0.9359, allocations: 13.88 kB / 0.9563 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.9361, allocations: 185.9 kB / 0.9565 GB, free: 6.398 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.586e-05/0.9361, allocations: 8.469 kB / 0.9565 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.364e-05/0.9362, allocations: 8.734 kB / 0.9565 GB, free: 6.391 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.9363, allocations: 106.3 kB / 0.9566 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.9364, allocations: 192 / 0.9566 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.9364, allocations: 3.938 kB / 0.9566 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.9364, allocations: 2.281 kB / 0.9566 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.307e-05/0.9365, allocations: 39.45 kB / 0.9566 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/0.9369, allocations: 438.4 kB / 0.957 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.271e-05/0.937, allocations: 37.47 kB / 0.9571 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.505e-05/0.937, allocations: 27.39 kB / 0.9571 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.478e-06/0.9371, allocations: 0.9375 kB / 0.9571 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.9371, allocations: 35.66 kB / 0.9571 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.9371, allocations: 0 / 0.9571 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001869/0.9373, allocations: 54.52 kB / 0.9572 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.9373, allocations: 78.23 kB / 0.9573 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.9375, allocations: 164.3 kB / 0.9574 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.999e-06/0.9375, allocations: 25.7 kB / 0.9574 GB, free: 5.414 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.022e-05/0.9376, allocations: 108.4 kB / 0.9575 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.885e-06/0.9376, allocations: 9.25 kB / 0.9575 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.133e-05/0.9376, allocations: 14.97 kB / 0.9576 GB, free: 5.281 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.407e-05/0.9377, allocations: 321.4 kB / 0.9579 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.924e-05/0.9377, allocations: 2.656 kB / 0.9579 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.135e-05/0.9377, allocations: 22.83 kB / 0.9579 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.052e-05/0.9377, allocations: 26.69 kB / 0.9579 GB, free: 4.914 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.9378, allocations: 4 kB / 0.9579 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.102e-05/0.9379, allocations: 58.8 kB / 0.958 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/0.9379, allocations: 11.98 kB / 0.958 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.9379, allocations: 3.938 kB / 0.958 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.9379, allocations: 1 kB / 0.958 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.897e-05/0.938, allocations: 6.188 kB / 0.958 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.938, allocations: 0 / 0.958 GB, free: 4.855 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.85e-05/0.9381, allocations: 7.219 kB / 0.958 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.9381, allocations: 1.438 kB / 0.958 GB, free: 4.852 MB / 0.7169 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 6.263e-05/0.9381, allocations: 116.7 kB / 0.9581 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.374e-05/0.9382, allocations: 7.875 kB / 0.9581 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.758e-05/0.9382, allocations: 18.55 kB / 0.9581 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.9382, allocations: 1.406 kB / 0.9581 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/0.9382, allocations: 0 / 0.9581 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.9382, allocations: 0.9688 kB / 0.9581 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003084/0.9386, allocations: 470.1 kB / 0.9586 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.9386, allocations: 0.9375 kB / 0.9586 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.065e-05/0.9386, allocations: 3.25 kB / 0.9586 GB, free: 4.211 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.9386, allocations: 5.125 kB / 0.9586 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.9386, allocations: 0 / 0.9586 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.9386, allocations: 1.312 kB / 0.9586 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.9386, allocations: 1.031 kB / 0.9586 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.423e-05/0.9387, allocations: 89.39 kB / 0.9587 GB, free: 4.109 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.9388, allocations: 92.38 kB / 0.9588 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.659e-05/0.9388, allocations: 5.312 kB / 0.9588 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.127e-05/0.9388, allocations: 1.188 kB / 0.9588 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.307e-05/0.9388, allocations: 1 kB / 0.9588 GB, free: 4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.128e-06/0.9388, allocations: 1.062 kB / 0.9588 GB, free: 4 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.243e-05/0.9389, allocations: 127.6 kB / 0.9589 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9389, allocations: 0 / 0.9589 GB, free: 3.898 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001908/0.9391, allocations: 7.625 kB / 0.9589 GB, free: 3.898 MB / 0.7169 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.0001053/0.9392, allocations: 102.1 kB / 0.959 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.862e-05/0.9393, allocations: 18.69 kB / 0.959 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.9393, allocations: 0 / 0.959 GB, free: 3.801 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.171e-05/0.9394, allocations: 9.328 kB / 0.959 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.9395, allocations: 10.92 kB / 0.9591 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002949/0.9398, allocations: 184.5 kB / 0.9592 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.94, allocations: 0.6911 MB / 0.9599 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.349e-05/0.94, allocations: 12.98 kB / 0.9599 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.579e-05/0.94, allocations: 12.25 kB / 0.9599 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of SimCode: time 3.71e-07/0.94, allocations: 0 / 0.9599 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of Templates: time 0.002635/0.9427, allocations: 431.7 kB / 0.9603 GB, free: 2.664 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches