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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001616/0.001616, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001887/0.001886, allocations: 200 kB / 16.79 MB, free: 6.828 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.359/1.359, allocations: 222.9 MB / 240.5 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.389/2.389, allocations: 390.2 MB / 0.6649 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 67.91 kB / 0.8125 GB, free: 14.86 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7064/0.708, allocations: 140.3 MB / 0.9496 GB, free: 9.086 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002145/0.7102, allocations: 0.8807 MB / 0.9504 GB, free: 8.406 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 9.964e-05/0.7103, allocations: 41.28 kB / 0.9505 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.809e-05/0.7104, allocations: 1.375 kB / 0.9505 GB, free: 8.371 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.611e-05/0.7104, allocations: 13.23 kB / 0.9505 GB, free: 8.359 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.098e-05/0.7105, allocations: 3.938 kB / 0.9505 GB, free: 8.355 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.523e-05/0.7106, allocations: 20.11 kB / 0.9505 GB, free: 8.34 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.453e-05/0.7107, allocations: 55.23 kB / 0.9506 GB, free: 8.309 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001587/0.7108, allocations: 42.98 kB / 0.9506 GB, free: 8.281 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.155e-05/0.7109, allocations: 23.09 kB / 0.9506 GB, free: 8.266 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.24e-05/0.711, allocations: 33.31 kB / 0.9507 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.773e-05/0.711, allocations: 3.375 kB / 0.9507 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.181e-05/0.711, allocations: 4.625 kB / 0.9507 GB, free: 8.238 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.108e-05/0.711, allocations: 10.19 kB / 0.9507 GB, free: 8.23 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.777e-05/0.7111, allocations: 34.16 kB / 0.9507 GB, free: 8.203 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 7.689e-05/0.7111, allocations: 53.09 kB / 0.9508 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.7112, allocations: 3.938 kB / 0.9508 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.182e-06/0.7112, allocations: 0 / 0.9508 GB, free: 8.16 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.7112, allocations: 0 / 0.9508 GB, free: 8.16 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.0004065/0.7116, allocations: 378.4 kB / 0.9511 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.7116, allocations: 10.03 kB / 0.9511 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.969e-05/0.7117, allocations: 13.3 kB / 0.9512 GB, free: 7.754 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001733/0.7119, allocations: 186.3 kB / 0.9513 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.7119, allocations: 11.62 kB / 0.9513 GB, free: 7.535 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.7119, allocations: 9.531 kB / 0.9514 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.7121, allocations: 92.83 kB / 0.9514 GB, free: 7.453 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.7121, allocations: 5.25 kB / 0.9515 GB, free: 7.449 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/0.7121, allocations: 9.328 kB / 0.9515 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.7121, allocations: 1.281 kB / 0.9515 GB, free: 7.441 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.253e-05/0.7122, allocations: 40.22 kB / 0.9515 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005058/0.7127, allocations: 440.2 kB / 0.9519 GB, free: 6.98 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.628e-05/0.7128, allocations: 40.97 kB / 0.952 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.51e-05/0.7128, allocations: 20.81 kB / 0.952 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.7128, allocations: 0 / 0.952 GB, free: 6.906 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.7129, allocations: 36.03 kB / 0.952 GB, free: 6.863 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.7129, allocations: 4 kB / 0.952 GB, free: 6.859 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.000166/0.713, allocations: 59.03 kB / 0.9521 GB, free: 6.809 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.7131, allocations: 78.14 kB / 0.9521 GB, free: 6.715 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001239/0.7132, allocations: 163.4 kB / 0.9523 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.645e-06/0.7132, allocations: 25.7 kB / 0.9523 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.627e-05/0.7133, allocations: 107 kB / 0.9524 GB, free: 6.445 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.244e-06/0.7133, allocations: 5.75 kB / 0.9524 GB, free: 6.441 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.7133, allocations: 17.19 kB / 0.9525 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.283e-05/0.7134, allocations: 325.1 kB / 0.9528 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.684e-05/0.7134, allocations: 3.625 kB / 0.9528 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.873e-05/0.7134, allocations: 18.66 kB / 0.9528 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.467e-05/0.7135, allocations: 30.42 kB / 0.9528 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7135, allocations: 0 / 0.9528 GB, free: 6.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.911e-05/0.7136, allocations: 59.64 kB / 0.9529 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.7136, allocations: 8.656 kB / 0.9529 GB, free: 6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.7136, allocations: 5.156 kB / 0.9529 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.7136, allocations: 0 / 0.9529 GB, free: 5.996 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.619e-05/0.7137, allocations: 9.578 kB / 0.9529 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.7137, allocations: 1.531 kB / 0.9529 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.745e-05/0.7137, allocations: 1.531 kB / 0.9529 GB, free: 5.992 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.7137, allocations: 1.562 kB / 0.9529 GB, free: 5.992 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.044e-05/0.7138, allocations: 115.1 kB / 0.953 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.12e-05/0.7138, allocations: 9.969 kB / 0.953 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.27e-05/0.7139, allocations: 19.44 kB / 0.953 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.7139, allocations: 1.312 kB / 0.953 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.7139, allocations: 3.984 kB / 0.953 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.7139, allocations: 1.312 kB / 0.953 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002762/0.7142, allocations: 469.9 kB / 0.9535 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.7142, allocations: 3.938 kB / 0.9535 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.763e-05/0.7142, allocations: 8.594 kB / 0.9535 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.7142, allocations: 0 / 0.9535 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.753e-06/0.7142, allocations: 1.094 kB / 0.9535 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7142, allocations: 0 / 0.9535 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.7142, allocations: 1.094 kB / 0.9535 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.031e-05/0.7143, allocations: 86.2 kB / 0.9536 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.338e-05/0.7143, allocations: 87.77 kB / 0.9537 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.7144, allocations: 5.438 kB / 0.9537 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.108e-05/0.7144, allocations: 1.375 kB / 0.9537 GB, free: 5.141 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.51e-05/0.7144, allocations: 9.391 kB / 0.9537 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.7144, allocations: 4 kB / 0.9537 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.151e-05/0.7145, allocations: 122.3 kB / 0.9538 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7145, allocations: 0 / 0.9538 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001881/0.7147, allocations: 7.469 kB / 0.9538 GB, free: 5.035 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.0001058/0.7148, allocations: 100.9 kB / 0.9539 GB, free: 4.945 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 8.696e-05/0.7149, allocations: 18.41 kB / 0.9539 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7149, allocations: 0 / 0.9539 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.045e-05/0.7149, allocations: 3.5 kB / 0.9539 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00017/0.7151, allocations: 12.77 kB / 0.9539 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003456/0.7154, allocations: 216.5 kB / 0.9541 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001894/0.7156, allocations: 0.69 MB / 0.9548 GB, free: 4.008 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/0.7157, allocations: 11.84 kB / 0.9548 GB, free: 4 MB / 0.7169 GB Notification: Performance of SimCode: time 3.31e-07/0.7157, allocations: 0 / 0.9548 GB, free: 4 MB / 0.7169 GB Notification: Performance of Templates: time 0.00248/0.7182, allocations: 0.8559 MB / 0.9557 GB, free: 3.562 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/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