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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002105/0.002105, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00232/0.00232, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.611/1.611, allocations: 177.1 MB / 203.1 MB, free: 5.629 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.486/3.486, allocations: 429.5 MB / 0.6729 GB, free: 4.012 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.875e-06/2.875e-06, allocations: 0 / 0.8774 GB, free: 6.5 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.571e-05/3.858e-05, allocations: 5.688 kB / 0.8775 GB, free: 6.496 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_bar): time 0.002647/0.002685, allocations: 0.8125 MB / 0.8782 GB, free: 5.711 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0001639/0.002849, allocations: 40.94 kB / 0.8783 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.225e-05/0.002912, allocations: 0 / 0.8783 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 4.119e-05/0.002953, allocations: 8.969 kB / 0.8783 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001083/0.003061, allocations: 15.92 kB / 0.8783 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 6.432e-05/0.003125, allocations: 19.97 kB / 0.8783 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001521/0.003277, allocations: 60.78 kB / 0.8784 GB, free: 5.57 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001444/0.003422, allocations: 35.91 kB / 0.8784 GB, free: 5.535 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.003554, allocations: 40.5 kB / 0.8785 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.274e-05/0.003607, allocations: 16.55 kB / 0.8785 GB, free: 5.48 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.003636, allocations: 8 kB / 0.8785 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 1.12e-05/0.003647, allocations: 5.344 kB / 0.8785 GB, free: 5.469 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.763e-05/0.003674, allocations: 19.91 kB / 0.8785 GB, free: 5.449 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.961e-05/0.003714, allocations: 19.94 kB / 0.8785 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001589/0.003873, allocations: 75.69 kB / 0.8786 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.003876, allocations: 0.7812 kB / 0.8786 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of FrontEnd: time 8.32e-07/0.003877, allocations: 0 / 0.8786 GB, free: 5.355 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.003882, allocations: 0.5625 kB / 0.8786 GB, free: 5.355 MB / 0.8386 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.0006208/0.004503, allocations: 413 kB / 0.879 GB, free: 4.914 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.004547, allocations: 8.031 kB / 0.879 GB, free: 4.906 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.243e-05/0.004609, allocations: 16.89 kB / 0.879 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002481/0.004857, allocations: 137.1 kB / 0.8791 GB, free: 4.73 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.004874, allocations: 5.938 kB / 0.8792 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.004891, allocations: 8.375 kB / 0.8792 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.005078, allocations: 93.61 kB / 0.8793 GB, free: 4.613 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.005092, allocations: 4.125 kB / 0.8793 GB, free: 4.609 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.005109, allocations: 12.16 kB / 0.8793 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.005115, allocations: 384 / 0.8793 GB, free: 4.602 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.757e-05/0.005212, allocations: 35.92 kB / 0.8793 GB, free: 4.566 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007115/0.005924, allocations: 474.5 kB / 0.8798 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000103/0.006027, allocations: 66.05 kB / 0.8798 GB, free: 3.973 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.296e-05/0.00608, allocations: 27.5 kB / 0.8798 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.373e-05/0.006094, allocations: 0 / 0.8798 GB, free: 3.938 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.137e-05/0.006135, allocations: 41.33 kB / 0.8799 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.006136, allocations: 0.9375 kB / 0.8799 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002138/0.00635, allocations: 42.73 kB / 0.8799 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/0.006417, allocations: 85.03 kB / 0.88 GB, free: 3.738 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00019/0.006607, allocations: 196.4 kB / 0.8802 GB, free: 3.531 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.012e-05/0.006627, allocations: 26.83 kB / 0.8802 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001179/0.006745, allocations: 158.7 kB / 0.8804 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.35e-05/0.006759, allocations: 7.938 kB / 0.8804 GB, free: 3.332 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.188e-05/0.00681, allocations: 24.06 kB / 0.8804 GB, free: 3.301 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0002861/0.007097, allocations: 0.4894 MB / 0.8809 GB, free: 2.801 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.403e-05/0.007121, allocations: 7.984 kB / 0.8809 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.916e-05/0.00716, allocations: 27.36 kB / 0.8809 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.748e-05/0.007217, allocations: 34.94 kB / 0.8809 GB, free: 2.719 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.007219, allocations: 7.875 kB / 0.881 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001105/0.00733, allocations: 57.64 kB / 0.881 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.007345, allocations: 4 kB / 0.881 GB, free: 2.645 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.007354, allocations: 4 kB / 0.881 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/0.007371, allocations: 0 / 0.881 GB, free: 2.641 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.493e-05/0.007435, allocations: 4 kB / 0.881 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.007443, allocations: 8.625 kB / 0.881 GB, free: 2.629 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.02e-05/0.007474, allocations: 7.938 kB / 0.881 GB, free: 2.621 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.727e-06/0.007477, allocations: 0.5938 kB / 0.881 GB, free: 2.621 MB / 0.8386 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 0.0001321/0.007609, allocations: 161.8 kB / 0.8812 GB, free: 2.453 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.32e-05/0.007653, allocations: 7.953 kB / 0.8812 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.241e-05/0.007685, allocations: 11.45 kB / 0.8812 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.00769, allocations: 5.469 kB / 0.8812 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.007693, allocations: 0 / 0.8812 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.007699, allocations: 3.938 kB / 0.8812 GB, free: 2.426 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005559/0.008255, allocations: 0.5581 MB / 0.8818 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.008258, allocations: 4.062 kB / 0.8818 GB, free: 1.812 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.375e-05/0.008281, allocations: 4 kB / 0.8818 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.008284, allocations: 0 / 0.8818 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.008293, allocations: 3.938 kB / 0.8818 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.008294, allocations: 0 / 0.8818 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.008298, allocations: 4 kB / 0.8818 GB, free: 1.801 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.008423, allocations: 92.02 kB / 0.8819 GB, free: 1.684 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 2.482e-05/0.008448, allocations: 7.953 kB / 0.8819 GB, free: 1.676 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.636e-05/0.008465, allocations: 7.938 kB / 0.8819 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.726e-05/0.008482, allocations: 0 / 0.8819 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.106e-05/0.008503, allocations: 4.031 kB / 0.8819 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.008507, allocations: 4 kB / 0.8819 GB, free: 1.66 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001146/0.008622, allocations: 147.2 kB / 0.882 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.008622, allocations: 0 / 0.882 GB, free: 1.516 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001881/0.00881, allocations: 12 kB / 0.882 GB, free: 1.504 MB / 0.8386 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.0001377/0.008948, allocations: 95.25 kB / 0.8821 GB, free: 1.398 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001069/0.009055, allocations: 23.62 kB / 0.8822 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.009056, allocations: 0 / 0.8822 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.644e-05/0.009083, allocations: 19.8 kB / 0.8822 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001523/0.009235, allocations: 8 kB / 0.8822 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000402/0.009637, allocations: 174.5 kB / 0.8823 GB, free: 1.129 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.415e-05/0.009731, allocations: 79.7 kB / 0.8824 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 3.349e-05/0.009765, allocations: 11.92 kB / 0.8824 GB, free: 1.02 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/0.009795, allocations: 12.62 kB / 0.8824 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of SimCode: time 8.21e-07/0.009796, allocations: 0 / 0.8824 GB, free: 1.008 MB / 0.8386 GB Notification: Performance of Templates: time 0.003146/0.01294, allocations: 360.1 kB / 0.8828 GB, free: 0.6602 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.makefile [Timeout 300] (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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_bar.pipe 2>&1) [Timeout 240] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.568968645995483]