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.001111/0.001111, allocations: 108.5 kB / 16.41 MB, free: 6.461 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.001159/0.001159, allocations: 187 kB / 17.34 MB, free: 5.719 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.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.277/2.277, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 67.89 kB / 0.9515 GB, free: 7.648 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.853/0.8545, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.001882/0.8564, allocations: 0.8263 MB / 1.089 GB, free: 4.992 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001101/0.8565, allocations: 40.52 kB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.625e-05/0.8566, allocations: 2.281 kB / 1.089 GB, free: 4.961 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.8566, allocations: 9.328 kB / 1.089 GB, free: 4.953 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.124e-05/0.8567, allocations: 6.922 kB / 1.089 GB, free: 4.949 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 4.679e-05/0.8568, allocations: 20.12 kB / 1.09 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.8569, allocations: 67.22 kB / 1.09 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001482/0.857, allocations: 41.56 kB / 1.09 GB, free: 4.883 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.127e-05/0.8571, allocations: 26.98 kB / 1.09 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.267e-05/0.8572, allocations: 35.56 kB / 1.09 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.077e-05/0.8572, allocations: 5.594 kB / 1.09 GB, free: 4.844 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.48e-05/0.8572, allocations: 9.938 kB / 1.09 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.049e-05/0.8572, allocations: 12.88 kB / 1.09 GB, free: 4.832 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.8573, allocations: 32.67 kB / 1.09 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001271/0.8574, allocations: 77.69 kB / 1.09 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.8574, allocations: 0 / 1.09 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.044e-06/0.8574, allocations: 5.312 kB / 1.09 GB, free: 4.77 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.688e-06/0.8575, allocations: 0 / 1.09 GB, free: 4.77 MB / 0.8575 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.0003766/0.8578, allocations: 379.3 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.8579, allocations: 8.219 kB / 1.09 GB, free: 4.387 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.704e-05/0.8579, allocations: 13.47 kB / 1.09 GB, free: 4.379 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.8581, allocations: 193.4 kB / 1.09 GB, free: 4.168 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.8581, allocations: 6.719 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.259e-05/0.8581, allocations: 5.844 kB / 1.09 GB, free: 4.164 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.8583, allocations: 92.73 kB / 1.09 GB, free: 4.098 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/0.8583, allocations: 4.125 kB / 1.09 GB, free: 4.094 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.8583, allocations: 8.906 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.8583, allocations: 2.922 kB / 1.09 GB, free: 4.086 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.758e-05/0.8584, allocations: 35.97 kB / 1.091 GB, free: 4.074 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004554/0.8589, allocations: 437.6 kB / 1.091 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 4.251e-05/0.8589, allocations: 46.27 kB / 1.091 GB, free: 3.609 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.19e-05/0.8589, allocations: 24.86 kB / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 6.783e-06/0.859, allocations: 0 / 1.091 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.731e-05/0.859, allocations: 36.38 kB / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.859, allocations: 1.406 kB / 1.091 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2): time 0.0001626/0.8592, allocations: 56.5 kB / 1.091 GB, free: 3.496 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.872e-05/0.8592, allocations: 86.91 kB / 1.091 GB, free: 3.395 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001275/0.8593, allocations: 157.8 kB / 1.091 GB, free: 3.277 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 7.504e-06/0.8593, allocations: 27.48 kB / 1.091 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.721e-05/0.8594, allocations: 103 kB / 1.091 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 8.356e-06/0.8594, allocations: 5.75 kB / 1.091 GB, free: 3.145 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.972e-05/0.8594, allocations: 17.86 kB / 1.091 GB, free: 3.125 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.883e-05/0.8595, allocations: 319.4 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.8595, allocations: 5.406 kB / 1.092 GB, free: 2.809 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.885e-05/0.8595, allocations: 23.8 kB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.631e-05/0.8596, allocations: 26.75 kB / 1.092 GB, free: 2.762 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.8596, allocations: 3.938 kB / 1.092 GB, free: 2.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.356e-05/0.8597, allocations: 53.73 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/0.8597, allocations: 6.328 kB / 1.092 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.8597, allocations: 5.031 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.404e-05/0.8597, allocations: 4.062 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.966e-05/0.8598, allocations: 6.328 kB / 1.092 GB, free: 2.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.8598, allocations: 5 kB / 1.092 GB, free: 2.707 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.875e-05/0.8598, allocations: 6.922 kB / 1.092 GB, free: 2.703 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.058e-06/0.8598, allocations: 1.125 kB / 1.092 GB, free: 2.703 MB / 0.8575 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 5.394e-05/0.8599, allocations: 114.8 kB / 1.092 GB, free: 2.586 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.331e-05/0.8599, allocations: 12.12 kB / 1.092 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.86, allocations: 20.83 kB / 1.092 GB, free: 2.559 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.452e-06/0.86, allocations: 4 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.86, allocations: 0.9062 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.86, allocations: 1.797 kB / 1.092 GB, free: 2.555 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002819/0.8603, allocations: 469.7 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/0.8603, allocations: 1.562 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.8603, allocations: 3.844 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.8603, allocations: 1.188 kB / 1.093 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.41e-06/0.8603, allocations: 4 kB / 1.093 GB, free: 2.066 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.8603, allocations: 4.906 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.8603, allocations: 2.062 kB / 1.093 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.152e-05/0.8604, allocations: 80.05 kB / 1.093 GB, free: 1.977 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.518e-05/0.8605, allocations: 95.09 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.438e-05/0.8605, allocations: 2.172 kB / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.975e-05/0.8605, allocations: 0 / 1.093 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.345e-05/0.8605, allocations: 5.922 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.8605, allocations: 0.7812 kB / 1.093 GB, free: 1.867 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.697e-05/0.8606, allocations: 122.4 kB / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8606, allocations: 0 / 1.093 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0001863/0.8608, allocations: 6.719 kB / 1.093 GB, free: 1.781 MB / 0.8575 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 9.414e-05/0.8609, allocations: 98.44 kB / 1.093 GB, free: 1.695 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 8.79e-05/0.861, allocations: 24.59 kB / 1.093 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.861, allocations: 4.125 kB / 1.093 GB, free: 1.68 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-05/0.861, allocations: 9.078 kB / 1.093 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000153/0.8612, allocations: 11.33 kB / 1.093 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002814/0.8615, allocations: 183.6 kB / 1.093 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001239/0.8616, allocations: 0.692 MB / 1.094 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.527e-05/0.8616, allocations: 15.66 kB / 1.094 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of SimCode: time 2.6e-07/0.8616, allocations: 0 / 1.094 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of Templates: time 0.002417/0.8641, allocations: 0.8703 MB / 1.095 GB, free: 0.6992 MB / 0.8575 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/jenkins1/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