Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.005658/0.005658, allocations: 101.6 kB / 15.73 MB, free: 5.992 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.001128/0.001128, allocations: 195.9 kB / 16.67 MB, free: 5.922 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.451/1.451, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.667/2.667, allocations: 461.9 MB / 0.7348 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 64.12 kB / 1.054 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101/1.102, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002036/1.105, allocations: 0.8327 MB / 1.209 GB, free: 12.78 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001258/1.105, allocations: 47.78 kB / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.31e-05/1.105, allocations: 0 / 1.209 GB, free: 12.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.468e-05/1.105, allocations: 7.875 kB / 1.209 GB, free: 12.72 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.563e-05/1.105, allocations: 15.86 kB / 1.209 GB, free: 12.71 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 4.217e-05/1.105, allocations: 15.98 kB / 1.209 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.811e-05/1.105, allocations: 59.84 kB / 1.209 GB, free: 12.63 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/1.105, allocations: 43.92 kB / 1.209 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 6.769e-05/1.105, allocations: 35.78 kB / 1.209 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.63e-05/1.105, allocations: 27.86 kB / 1.209 GB, free: 12.53 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/1.105, allocations: 4 kB / 1.209 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.671e-05/1.105, allocations: 8 kB / 1.209 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.168e-05/1.105, allocations: 15.92 kB / 1.209 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.047e-05/1.105, allocations: 39.8 kB / 1.209 GB, free: 12.46 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/1.106, allocations: 71.7 kB / 1.209 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/1.106, allocations: 0 / 1.209 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.226e-06/1.106, allocations: 0 / 1.209 GB, free: 12.39 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.021e-06/1.106, allocations: 3.938 kB / 1.209 GB, free: 12.39 MB / 0.9356 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.0004202/1.106, allocations: 384.8 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/1.106, allocations: 12.02 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.065e-05/1.106, allocations: 8.844 kB / 1.209 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/1.106, allocations: 192.2 kB / 1.209 GB, free: 11.72 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/1.106, allocations: 8.375 kB / 1.21 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.386e-05/1.106, allocations: 8.375 kB / 1.21 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/1.106, allocations: 87.89 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/1.106, allocations: 192 / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/1.107, allocations: 11.94 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.332e-06/1.107, allocations: 3.984 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.63e-05/1.107, allocations: 35.98 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005224/1.107, allocations: 440.5 kB / 1.21 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 5.263e-05/1.107, allocations: 37.22 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.324e-05/1.107, allocations: 21.81 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.935e-06/1.107, allocations: 4 kB / 1.21 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/1.107, allocations: 38.55 kB / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/1.107, allocations: 0 / 1.21 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001683/1.107, allocations: 61.47 kB / 1.21 GB, free: 10.87 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.449e-05/1.108, allocations: 81.11 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000138/1.108, allocations: 150.2 kB / 1.21 GB, free: 10.62 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.547e-05/1.108, allocations: 29.7 kB / 1.21 GB, free: 10.58 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/1.108, allocations: 112.2 kB / 1.211 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 7.715e-06/1.108, allocations: 7.906 kB / 1.211 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.098e-05/1.108, allocations: 17.72 kB / 1.211 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.108, allocations: 318.8 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.628e-05/1.108, allocations: 4 kB / 1.211 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.953e-05/1.108, allocations: 17.72 kB / 1.211 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.215e-05/1.108, allocations: 37.64 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.108, allocations: 0 / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.663e-05/1.108, allocations: 53.61 kB / 1.211 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/1.108, allocations: 4 kB / 1.211 GB, free: 9.984 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/1.108, allocations: 7.938 kB / 1.211 GB, free: 9.977 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.198e-05/1.108, allocations: 7.875 kB / 1.211 GB, free: 9.969 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.933e-05/1.108, allocations: 7.984 kB / 1.211 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/1.108, allocations: 0 / 1.211 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.028e-05/1.108, allocations: 7.906 kB / 1.211 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-06/1.108, allocations: 64 / 1.211 GB, free: 9.953 MB / 0.9356 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 7.45e-05/1.108, allocations: 117.8 kB / 1.211 GB, free: 9.828 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.116e-05/1.108, allocations: 7.906 kB / 1.211 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.017e-05/1.108, allocations: 23.8 kB / 1.211 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/1.108, allocations: 0 / 1.211 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/1.108, allocations: 0 / 1.211 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/1.108, allocations: 4 kB / 1.211 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004123/1.109, allocations: 466.8 kB / 1.212 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/1.109, allocations: 4 kB / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.678e-05/1.109, allocations: 0 / 1.212 GB, free: 9.266 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.447e-06/1.109, allocations: 4 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.781e-06/1.109, allocations: 0 / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/1.109, allocations: 0 / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/1.109, allocations: 0 / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001528/1.109, allocations: 89.83 kB / 1.212 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.631e-05/1.109, allocations: 88.95 kB / 1.212 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.203e-05/1.109, allocations: 0 / 1.212 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.221e-05/1.109, allocations: 11.92 kB / 1.212 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.524e-05/1.109, allocations: 0 / 1.212 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/1.109, allocations: 0 / 1.212 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001523/1.109, allocations: 125.5 kB / 1.212 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/1.109, allocations: 0 / 1.212 GB, free: 8.914 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000182/1.11, allocations: 11.91 kB / 1.212 GB, free: 8.902 MB / 0.9356 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.0001127/1.11, allocations: 99.28 kB / 1.212 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.057e-05/1.11, allocations: 19.94 kB / 1.212 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/1.11, allocations: 0 / 1.212 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.908e-06/1.11, allocations: 4 kB / 1.212 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001475/1.11, allocations: 13.81 kB / 1.212 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002944/1.11, allocations: 171 kB / 1.212 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002275/1.11, allocations: 0.6924 MB / 1.213 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.902e-05/1.111, allocations: 8.422 kB / 1.213 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.342e-05/1.111, allocations: 11.44 kB / 1.213 GB, free: 7.82 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/1.111, allocations: 3.938 kB / 1.213 GB, free: 7.816 MB / 0.9356 GB Notification: Performance of Templates: time 0.002476/1.113, allocations: 468.5 kB / 1.213 GB, free: 7.359 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_UnitConversions_Validation_To_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches