Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 108 kB / 15.6 MB, free: 132 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.001172/0.001172, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.605/1.605, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.537/2.537, allocations: 390.2 MB / 0.6647 GB, free: 240 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001834/0.001834, allocations: 75.89 kB / 0.8125 GB, free: 14.24 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9156/0.9174, allocations: 140.4 MB / 0.9496 GB, free: 9.176 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.003169/0.9206, allocations: 0.8252 MB / 0.9504 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000192/0.9209, allocations: 41.28 kB / 0.9504 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.916e-05/0.9209, allocations: 1.375 kB / 0.9504 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.377e-05/0.921, allocations: 11.86 kB / 0.9504 GB, free: 8.488 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.9211, allocations: 17.19 kB / 0.9505 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 5.902e-05/0.9212, allocations: 14.73 kB / 0.9505 GB, free: 8.461 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.9213, allocations: 60.66 kB / 0.9505 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001869/0.9215, allocations: 40.47 kB / 0.9506 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.121e-05/0.9216, allocations: 32.09 kB / 0.9506 GB, free: 8.379 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.162e-05/0.9217, allocations: 33.36 kB / 0.9506 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.401e-05/0.9217, allocations: 5.062 kB / 0.9506 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 1.66e-05/0.9217, allocations: 6.094 kB / 0.9506 GB, free: 8.352 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.344e-05/0.9218, allocations: 23.36 kB / 0.9507 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.648e-05/0.9218, allocations: 25.44 kB / 0.9507 GB, free: 8.312 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000149/0.922, allocations: 79.56 kB / 0.9508 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.922, allocations: 0 / 0.9508 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.974e-06/0.922, allocations: 0 / 0.9508 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.922, allocations: 1.281 kB / 0.9508 GB, free: 8.25 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.000524/0.9225, allocations: 374 kB / 0.9511 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.979e-05/0.9226, allocations: 9.25 kB / 0.9511 GB, free: 7.855 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.264e-05/0.9227, allocations: 10.22 kB / 0.9511 GB, free: 7.852 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.9229, allocations: 197.3 kB / 0.9513 GB, free: 7.629 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.364e-05/0.923, allocations: 8.312 kB / 0.9513 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.923, allocations: 5.5 kB / 0.9513 GB, free: 7.625 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001856/0.9232, allocations: 88.39 kB / 0.9514 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.9232, allocations: 1.531 kB / 0.9514 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.9232, allocations: 7.938 kB / 0.9514 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.9232, allocations: 2.5 kB / 0.9514 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.772e-05/0.9233, allocations: 39.73 kB / 0.9515 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005521/0.9239, allocations: 441.8 kB / 0.9519 GB, free: 7.082 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.053e-05/0.924, allocations: 35.97 kB / 0.9519 GB, free: 7.031 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.516e-05/0.924, allocations: 24.56 kB / 0.952 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.497e-05/0.924, allocations: 0 / 0.952 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.054e-05/0.9241, allocations: 31.69 kB / 0.952 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.9241, allocations: 0 / 0.952 GB, free: 6.969 MB / 0.7169 GB Notification: Performance of matching and sorting (n=2): time 0.0001939/0.9243, allocations: 58.91 kB / 0.952 GB, free: 6.918 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.23e-05/0.9243, allocations: 78.52 kB / 0.9521 GB, free: 6.824 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000139/0.9244, allocations: 167.5 kB / 0.9523 GB, free: 6.688 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/0.9245, allocations: 27.05 kB / 0.9523 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.363e-05/0.9245, allocations: 115.3 kB / 0.9524 GB, free: 6.543 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 8.957e-06/0.9245, allocations: 5.219 kB / 0.9524 GB, free: 6.539 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.9246, allocations: 14.09 kB / 0.9524 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.99e-05/0.9246, allocations: 328 kB / 0.9527 GB, free: 6.195 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.043e-05/0.9247, allocations: 11.81 kB / 0.9528 GB, free: 6.188 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.146e-05/0.9247, allocations: 18.84 kB / 0.9528 GB, free: 6.168 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.754e-05/0.9247, allocations: 26.62 kB / 0.9528 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.9247, allocations: 4 kB / 0.9528 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.141e-05/0.9248, allocations: 58.28 kB / 0.9529 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.9249, allocations: 6.062 kB / 0.9529 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.9249, allocations: 3.938 kB / 0.9529 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.817e-05/0.9249, allocations: 1.375 kB / 0.9529 GB, free: 6.09 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.046e-05/0.925, allocations: 9.406 kB / 0.9529 GB, free: 6.086 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/0.925, allocations: 5.438 kB / 0.9529 GB, free: 6.082 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.097e-05/0.925, allocations: 5.328 kB / 0.9529 GB, free: 6.078 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.799e-06/0.925, allocations: 5.328 kB / 0.9529 GB, free: 6.074 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 7.14e-05/0.9251, allocations: 113.6 kB / 0.953 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.56e-05/0.9252, allocations: 7.781 kB / 0.953 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.34e-05/0.9252, allocations: 11.69 kB / 0.953 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.9252, allocations: 0 / 0.953 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.9252, allocations: 1.562 kB / 0.953 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.9252, allocations: 4 kB / 0.953 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002915/0.9255, allocations: 475 kB / 0.9535 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.9255, allocations: 3.984 kB / 0.9535 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.886e-05/0.9255, allocations: 6.656 kB / 0.9535 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.9255, allocations: 1.312 kB / 0.9535 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.565e-06/0.9256, allocations: 1.094 kB / 0.9535 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.9256, allocations: 0 / 0.9535 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.9256, allocations: 1.031 kB / 0.9535 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.009e-05/0.9256, allocations: 82.16 kB / 0.9536 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.553e-05/0.9257, allocations: 97 kB / 0.9537 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.633e-05/0.9257, allocations: 1.688 kB / 0.9537 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.022e-05/0.9257, allocations: 0 / 0.9537 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.1e-05/0.9258, allocations: 1.531 kB / 0.9537 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.9258, allocations: 4.031 kB / 0.9537 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.124e-05/0.9258, allocations: 121.1 kB / 0.9538 GB, free: 5.133 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9259, allocations: 3.938 kB / 0.9538 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002139/0.9261, allocations: 11.53 kB / 0.9538 GB, free: 5.125 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.0001184/0.9262, allocations: 101.2 kB / 0.9539 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001167/0.9263, allocations: 22.81 kB / 0.9539 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.9263, allocations: 0 / 0.9539 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 1.401e-05/0.9263, allocations: 12.38 kB / 0.9539 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001685/0.9265, allocations: 12.25 kB / 0.9539 GB, free: 5.008 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003112/0.9268, allocations: 154.2 kB / 0.9541 GB, free: 4.859 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000133/0.927, allocations: 0.6992 MB / 0.9548 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.978e-05/0.927, allocations: 8.297 kB / 0.9548 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/0.927, allocations: 11.56 kB / 0.9548 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of SimCode: time 2.21e-07/0.9271, allocations: 0 / 0.9548 GB, free: 4.137 MB / 0.7169 GB Notification: Performance of Templates: time 0.002772/0.9298, allocations: 450 kB / 0.9552 GB, free: 3.914 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile (rm -f Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches