Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.001869/0.001869, allocations: 78.48 kB / 19.18 MB, free: 2.527 MB / 14.72 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.002151/0.002151, allocations: 170.4 kB / 22.46 MB, free: 5.359 MB / 14.72 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.56/1.56, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.88/2.88, allocations: 377.8 MB / 0.6221 GB, free: 12.62 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_bar,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sub.y|sub1.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.541e-05/3.721e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_bar): time 0.002274/0.002311, allocations: 0.8055 MB / 0.9822 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001414/0.002452, allocations: 39.78 kB / 0.9823 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.879e-05/0.002521, allocations: 4 kB / 0.9823 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.955e-05/0.002571, allocations: 7.875 kB / 0.9823 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001218/0.002693, allocations: 11.81 kB / 0.9823 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.866e-05/0.002761, allocations: 27.97 kB / 0.9823 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.002903, allocations: 59.84 kB / 0.9824 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001682/0.003071, allocations: 27.91 kB / 0.9824 GB, free: 11 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.003182, allocations: 43.84 kB / 0.9824 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.665e-05/0.003258, allocations: 23.84 kB / 0.9825 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.003281, allocations: 4 kB / 0.9825 GB, free: 10.93 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.546e-05/0.003296, allocations: 8 kB / 0.9825 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.787e-05/0.003324, allocations: 15.92 kB / 0.9825 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.896e-05/0.003363, allocations: 19.92 kB / 0.9825 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001468/0.00351, allocations: 67.77 kB / 0.9826 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.003513, allocations: 0 / 0.9826 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.62e-07/0.003514, allocations: 4 kB / 0.9826 GB, free: 10.82 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.00352, allocations: 0 / 0.9826 GB, free: 10.82 MB / 0.9356 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.0005494/0.004069, allocations: 310 kB / 0.9829 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.004115, allocations: 8.031 kB / 0.9829 GB, free: 10.47 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.61e-05/0.004162, allocations: 12.84 kB / 0.9829 GB, free: 10.46 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000231/0.004393, allocations: 141.6 kB / 0.983 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/0.004409, allocations: 8.375 kB / 0.983 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.004424, allocations: 4.375 kB / 0.983 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.004616, allocations: 98.39 kB / 0.9831 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.004628, allocations: 4.188 kB / 0.9831 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.004641, allocations: 384 / 0.9831 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.563e-06/0.004647, allocations: 384 / 0.9831 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.341e-05/0.004741, allocations: 43.91 kB / 0.9832 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005744/0.005315, allocations: 352.4 kB / 0.9835 GB, free: 9.754 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.293e-05/0.005388, allocations: 41.2 kB / 0.9835 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.758e-05/0.005426, allocations: 17.78 kB / 0.9836 GB, free: 9.672 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 7.404e-06/0.005433, allocations: 3.938 kB / 0.9836 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.00547, allocations: 38.59 kB / 0.9836 GB, free: 9.621 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.005471, allocations: 4 kB / 0.9836 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of matching and sorting (n=2): time 0.0001856/0.005656, allocations: 49.59 kB / 0.9837 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.773e-05/0.005724, allocations: 81.09 kB / 0.9837 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001351/0.005859, allocations: 135.7 kB / 0.9839 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.005877, allocations: 25.7 kB / 0.9839 GB, free: 9.293 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.651e-05/0.005953, allocations: 107.9 kB / 0.984 GB, free: 9.184 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.378e-05/0.005967, allocations: 7.984 kB / 0.984 GB, free: 9.176 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.395e-05/0.006011, allocations: 21.67 kB / 0.984 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.006171, allocations: 314.8 kB / 0.9843 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.773e-05/0.006189, allocations: 4.25 kB / 0.9843 GB, free: 8.828 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.912e-05/0.006218, allocations: 29.7 kB / 0.9843 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.617e-05/0.006264, allocations: 25.66 kB / 0.9844 GB, free: 8.762 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.006265, allocations: 4 kB / 0.9844 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.304e-05/0.006348, allocations: 53.69 kB / 0.9844 GB, free: 8.699 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.293e-05/0.006361, allocations: 4 kB / 0.9844 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.006366, allocations: 3.938 kB / 0.9844 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.006378, allocations: 0 / 0.9844 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.52e-05/0.006444, allocations: 12 kB / 0.9844 GB, free: 8.68 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.006455, allocations: 7.938 kB / 0.9845 GB, free: 8.672 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.782e-05/0.006483, allocations: 7.891 kB / 0.9845 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.006489, allocations: 4 kB / 0.9845 GB, free: 8.66 MB / 0.9356 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.459e-05/0.006574, allocations: 113.8 kB / 0.9846 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.746e-05/0.006611, allocations: 0 / 0.9846 GB, free: 8.539 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.321e-05/0.006634, allocations: 11.45 kB / 0.9846 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.006636, allocations: 0 / 0.9846 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.00664, allocations: 0 / 0.9846 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.006644, allocations: 3.938 kB / 0.9846 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003938/0.007038, allocations: 422.4 kB / 0.985 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.007039, allocations: 0 / 0.985 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.019e-05/0.00706, allocations: 4 kB / 0.985 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.654e-06/0.007061, allocations: 0 / 0.985 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.929e-06/0.007071, allocations: 7.938 kB / 0.985 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.007072, allocations: 0 / 0.985 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.007073, allocations: 0 / 0.985 GB, free: 8.059 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.87e-05/0.007172, allocations: 81.86 kB / 0.9851 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 2.064e-05/0.007193, allocations: 7.953 kB / 0.9851 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.349e-05/0.007206, allocations: 3.938 kB / 0.9851 GB, free: 7.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.719e-05/0.007223, allocations: 4.094 kB / 0.9851 GB, free: 7.941 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.048e-05/0.007244, allocations: 4 kB / 0.9851 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.007245, allocations: 0 / 0.9851 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.663e-05/0.007322, allocations: 102.9 kB / 0.9852 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7.1e-08/0.007322, allocations: 0 / 0.9852 GB, free: 7.84 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002103/0.007532, allocations: 11.95 kB / 0.9852 GB, free: 7.828 MB / 0.9356 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.0001509/0.007683, allocations: 99.77 kB / 0.9853 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 8.785e-05/0.007771, allocations: 15.94 kB / 0.9853 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.007774, allocations: 128 / 0.9853 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.066e-05/0.007784, allocations: 8 kB / 0.9853 GB, free: 7.695 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001528/0.007937, allocations: 8.094 kB / 0.9853 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.008301, allocations: 166.6 kB / 0.9855 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.5e-05/0.008376, allocations: 75.33 kB / 0.9856 GB, free: 7.395 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.258e-05/0.008408, allocations: 7.984 kB / 0.9856 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.068e-05/0.008439, allocations: 20.55 kB / 0.9856 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of SimCode: time 3.91e-07/0.008439, allocations: 0 / 0.9856 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of Templates: time 0.00307/0.01151, allocations: 343 kB / 0.9859 GB, free: 7.035 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.sim & ./Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_bar_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_UnitConversions_Validation_From_bar.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.UnitConversions.Validation.From_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.199994828552008]