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.001726/0.001726, allocations: 104.9 kB / 15.98 MB, free: 6.348 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.001986/0.001986, allocations: 193.2 kB / 16.91 MB, free: 6.188 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.389/1.389, allocations: 222.9 MB / 240.6 MB, free: 15.36 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.223/2.223, allocations: 390.2 MB / 0.665 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002284/0.002284, allocations: 66.23 kB / 0.8127 GB, free: 33.28 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3032/0.3055, allocations: 140.4 MB / 0.9498 GB, free: 9.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002413/0.308, allocations: 0.893 MB / 0.9506 GB, free: 8.34 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0001407/0.3082, allocations: 43.78 kB / 0.9507 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.222e-05/0.3082, allocations: 0 / 0.9507 GB, free: 8.297 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 5.109e-05/0.3083, allocations: 3.938 kB / 0.9507 GB, free: 8.293 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.85e-05/0.3084, allocations: 3.938 kB / 0.9507 GB, free: 8.289 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 4.429e-05/0.3084, allocations: 15.98 kB / 0.9507 GB, free: 8.273 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001075/0.3086, allocations: 71.84 kB / 0.9508 GB, free: 8.203 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.3087, allocations: 35.97 kB / 0.9508 GB, free: 8.168 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.007e-05/0.3088, allocations: 31.84 kB / 0.9508 GB, free: 8.137 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.762e-05/0.3089, allocations: 35.73 kB / 0.9509 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.904e-05/0.3089, allocations: 4 kB / 0.9509 GB, free: 8.098 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.617e-05/0.3089, allocations: 8 kB / 0.9509 GB, free: 8.09 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.023e-05/0.3089, allocations: 19.92 kB / 0.9509 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.614e-05/0.309, allocations: 23.81 kB / 0.9509 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.499e-05/0.3091, allocations: 56.17 kB / 0.951 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3091, allocations: 0 / 0.951 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3091, allocations: 0 / 0.951 GB, free: 7.992 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.3091, allocations: 0 / 0.951 GB, free: 7.992 MB / 0.7325 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.0004779/0.3096, allocations: 384.2 kB / 0.9514 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.3096, allocations: 11.97 kB / 0.9514 GB, free: 7.555 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.936e-05/0.3097, allocations: 16.83 kB / 0.9514 GB, free: 7.539 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.31, allocations: 188.2 kB / 0.9516 GB, free: 7.316 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.358e-05/0.31, allocations: 8.375 kB / 0.9516 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.817e-05/0.31, allocations: 8.375 kB / 0.9516 GB, free: 7.301 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001648/0.3102, allocations: 99.84 kB / 0.9517 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3102, allocations: 192 / 0.9517 GB, free: 7.191 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.3102, allocations: 11.94 kB / 0.9517 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3102, allocations: 0 / 0.9517 GB, free: 7.18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.302e-05/0.3103, allocations: 35.92 kB / 0.9517 GB, free: 7.145 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00055/0.3109, allocations: 432.6 kB / 0.9521 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.135e-05/0.3109, allocations: 37.41 kB / 0.9522 GB, free: 6.613 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.711e-05/0.311, allocations: 25.7 kB / 0.9522 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.311, allocations: 0 / 0.9522 GB, free: 6.582 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.311, allocations: 30.56 kB / 0.9522 GB, free: 6.543 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.311, allocations: 4 kB / 0.9522 GB, free: 6.539 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0001797/0.3112, allocations: 57.48 kB / 0.9523 GB, free: 6.477 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.3113, allocations: 77.11 kB / 0.9524 GB, free: 6.383 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.3114, allocations: 167.8 kB / 0.9525 GB, free: 6.211 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.3115, allocations: 25.7 kB / 0.9525 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.449e-05/0.3115, allocations: 108 kB / 0.9526 GB, free: 6.07 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 8.155e-06/0.3115, allocations: 3.906 kB / 0.9526 GB, free: 6.066 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.3116, allocations: 17.7 kB / 0.9527 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.3117, allocations: 323.1 kB / 0.953 GB, free: 5.719 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.488e-05/0.3117, allocations: 11.94 kB / 0.953 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.159e-05/0.3118, allocations: 17.7 kB / 0.953 GB, free: 5.684 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.186e-05/0.3118, allocations: 25.72 kB / 0.953 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.3118, allocations: 0 / 0.953 GB, free: 5.652 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001047/0.3119, allocations: 61.53 kB / 0.9531 GB, free: 5.586 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.312, allocations: 8.062 kB / 0.9531 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.312, allocations: 7.875 kB / 0.9531 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.312, allocations: 0 / 0.9531 GB, free: 5.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.466e-05/0.3121, allocations: 11.94 kB / 0.9531 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.3121, allocations: 0 / 0.9531 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.666e-05/0.3121, allocations: 15.84 kB / 0.9531 GB, free: 5.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.3121, allocations: 0 / 0.9531 GB, free: 5.543 MB / 0.7325 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 8.549e-05/0.3122, allocations: 115.8 kB / 0.9532 GB, free: 5.422 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.104e-05/0.3123, allocations: 7.906 kB / 0.9532 GB, free: 5.414 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.312e-05/0.3123, allocations: 15.8 kB / 0.9533 GB, free: 5.398 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3123, allocations: 4 kB / 0.9533 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.3123, allocations: 0 / 0.9533 GB, free: 5.395 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/0.3123, allocations: 3.938 kB / 0.9533 GB, free: 5.391 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003776/0.3127, allocations: 470.8 kB / 0.9537 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.3127, allocations: 0 / 0.9537 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.178e-05/0.3127, allocations: 7.938 kB / 0.9537 GB, free: 4.859 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3127, allocations: 4.062 kB / 0.9537 GB, free: 4.855 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.205e-06/0.3128, allocations: 4 kB / 0.9537 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/0.3128, allocations: 4 kB / 0.9537 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3128, allocations: 0 / 0.9537 GB, free: 4.848 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.762e-05/0.3129, allocations: 77.83 kB / 0.9538 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.618e-05/0.3129, allocations: 93 kB / 0.9539 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.353e-05/0.313, allocations: 0 / 0.9539 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.968e-05/0.313, allocations: 4.031 kB / 0.9539 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.125e-05/0.313, allocations: 0 / 0.9539 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.313, allocations: 4 kB / 0.9539 GB, free: 4.633 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.602e-05/0.3131, allocations: 126.2 kB / 0.954 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3131, allocations: 0 / 0.954 GB, free: 4.512 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000188/0.3133, allocations: 8 kB / 0.954 GB, free: 4.504 MB / 0.7325 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.0001076/0.3134, allocations: 99.25 kB / 0.9541 GB, free: 4.398 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 7.858e-05/0.3135, allocations: 19.98 kB / 0.9541 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3135, allocations: 0 / 0.9541 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.134e-05/0.3135, allocations: 11.94 kB / 0.9542 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.3137, allocations: 8.031 kB / 0.9542 GB, free: 4.359 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003282/0.314, allocations: 208.8 kB / 0.9544 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003274/0.3144, allocations: 0.7 MB / 0.955 GB, free: 3.391 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.891e-05/0.3144, allocations: 11.44 kB / 0.9551 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of SimCode: time 2.3e-07/0.3144, allocations: 0 / 0.9551 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of Templates: time 0.002592/0.317, allocations: 0.8637 MB / 0.9559 GB, free: 2.512 MB / 0.7325 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