Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Examples.Performance.Example8.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.001917/0.001917, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.002709/0.002709, allocations: 161.6 kB / 23.55 MB, free: 0.8906 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.568/1.568, allocations: 177.1 MB / 203.9 MB, free: 5.582 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.795/2.795, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example8") translateModel(Buildings.Fluid.Examples.Performance.Example8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|a|b",fileNamePrefix="Buildings_11_Buildings.Fluid.Examples.Performance.Example8") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.974e-05/4.191e-05, allocations: 2.312 kB / 0.7864 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example8): time 0.001743/0.001785, allocations: 0.5445 MB / 0.7869 GB, free: 12.3 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001476/0.001932, allocations: 15.92 kB / 0.7869 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.001961, allocations: 1 kB / 0.7869 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 1.382e-05/0.001975, allocations: 0 / 0.7869 GB, free: 12.29 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001831/0.002158, allocations: 3.938 kB / 0.7869 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 3.607e-06/0.002162, allocations: 1.406 kB / 0.7869 GB, free: 12.28 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 5.953e-05/0.002221, allocations: 11.92 kB / 0.7869 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.339e-05/0.002265, allocations: 0 / 0.7869 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 6.776e-05/0.002332, allocations: 11.98 kB / 0.7869 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 3.701e-05/0.002369, allocations: 1.062 kB / 0.7869 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.313e-05/0.002383, allocations: 0 / 0.7869 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.021e-06/0.002389, allocations: 0 / 0.7869 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.0024, allocations: 1.562 kB / 0.7869 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.483e-05/0.002425, allocations: 7.938 kB / 0.7869 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 5.682e-05/0.002481, allocations: 3.938 kB / 0.7869 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.002484, allocations: 0 / 0.7869 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.52e-07/0.002485, allocations: 0.7812 kB / 0.7869 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.207e-06/0.002489, allocations: 0 / 0.7869 GB, free: 12.25 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003532/0.002843, allocations: 235.3 kB / 0.7872 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.002884, allocations: 12.03 kB / 0.7872 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.021e-05/0.002934, allocations: 3.062 kB / 0.7872 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.003057, allocations: 105.8 kB / 0.7873 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.003069, allocations: 4.375 kB / 0.7873 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.915e-06/0.003077, allocations: 384 / 0.7873 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001223/0.003199, allocations: 47.91 kB / 0.7873 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.128e-06/0.003209, allocations: 1.594 kB / 0.7873 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.003217, allocations: 384 / 0.7873 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.003221, allocations: 384 / 0.7873 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.683e-05/0.003248, allocations: 7.938 kB / 0.7873 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001664/0.003415, allocations: 108.1 kB / 0.7874 GB, free: 11.64 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.646e-05/0.003491, allocations: 41.2 kB / 0.7875 GB, free: 11.58 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.652e-05/0.003528, allocations: 13.72 kB / 0.7875 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/0.003556, allocations: 4.062 kB / 0.7875 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.003594, allocations: 32.84 kB / 0.7875 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.003594, allocations: 0 / 0.7875 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001764/0.003771, allocations: 49.62 kB / 0.7876 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.763e-05/0.003839, allocations: 77.11 kB / 0.7877 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.003945, allocations: 98.33 kB / 0.7877 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.162e-05/0.003966, allocations: 25.7 kB / 0.7878 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.836e-05/0.004015, allocations: 85.8 kB / 0.7879 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.004043, allocations: 7.891 kB / 0.7879 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.711e-05/0.00408, allocations: 13.72 kB / 0.7879 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.00018/0.00426, allocations: 318.8 kB / 0.7882 GB, free: 10.8 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.061e-05/0.004271, allocations: 5.312 kB / 0.7882 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.105e-05/0.004292, allocations: 13.72 kB / 0.7882 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.147e-05/0.004333, allocations: 19.47 kB / 0.7882 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.004335, allocations: 0 / 0.7882 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.67e-05/0.004412, allocations: 45.62 kB / 0.7883 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.004427, allocations: 4.844 kB / 0.7883 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.004432, allocations: 0 / 0.7883 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.004452, allocations: 0.6875 kB / 0.7883 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.723e-05/0.004529, allocations: 8 kB / 0.7883 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.004534, allocations: 1.938 kB / 0.7883 GB, free: 10.69 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.617e-05/0.004561, allocations: 11.94 kB / 0.7883 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-06/0.004567, allocations: 0 / 0.7883 GB, free: 10.68 MB / 0.7448 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 (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 prepare postOptimizeDAE: time 8.937e-05/0.004656, allocations: 105.8 kB / 0.7884 GB, free: 10.56 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.836e-05/0.004675, allocations: 11.89 kB / 0.7884 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.004804, allocations: 47.06 kB / 0.7884 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.004806, allocations: 0 / 0.7884 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/0.004815, allocations: 4 kB / 0.7884 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.00482, allocations: 3.938 kB / 0.7885 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001088/0.004929, allocations: 98.03 kB / 0.7885 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.00493, allocations: 0 / 0.7885 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.442e-05/0.004954, allocations: 8.469 kB / 0.7886 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.004956, allocations: 0 / 0.7886 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.691e-06/0.004962, allocations: 5.656 kB / 0.7886 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.004963, allocations: 0 / 0.7886 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.004964, allocations: 0 / 0.7886 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.005075, allocations: 74.58 kB / 0.7886 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.098e-05/0.005106, allocations: 0 / 0.7886 GB, free: 10.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.005123, allocations: 9.281 kB / 0.7886 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.531e-05/0.005138, allocations: 0 / 0.7886 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.082e-05/0.005159, allocations: 3.984 kB / 0.7886 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.244e-06/0.005161, allocations: 0 / 0.7886 GB, free: 10.25 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 5.282e-05/0.005214, allocations: 88.31 kB / 0.7887 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.005214, allocations: 0 / 0.7887 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001887/0.005403, allocations: 0.9062 kB / 0.7887 GB, free: 10.16 MB / 0.7448 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.0001407/0.005544, allocations: 100.1 kB / 0.7888 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.73e-05/0.005621, allocations: 9.281 kB / 0.7888 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.005623, allocations: 3.938 kB / 0.7888 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.349e-05/0.005646, allocations: 11.92 kB / 0.7888 GB, free: 10.04 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001537/0.0058, allocations: 7.672 kB / 0.7889 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.006073, allocations: 94.5 kB / 0.7889 GB, free: 9.91 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.682e-05/0.00614, allocations: 59.34 kB / 0.789 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.856e-05/0.006158, allocations: 1.562 kB / 0.789 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.765e-05/0.006196, allocations: 12.5 kB / 0.789 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of SimCode: time 4.11e-07/0.006196, allocations: 0 / 0.789 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of Templates: time 0.002538/0.008734, allocations: 211 kB / 0.7892 GB, free: 9.621 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Examples.Performance.Example8.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe ; mkfifo Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe >> ../files/Buildings_11_Buildings.Fluid.Examples.Performance.Example8.sim & ./Buildings_11_Buildings.Fluid.Examples.Performance.Example8 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Examples.Performance.Example8.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Examples.Performance.Example8_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Examples_Performance_Example8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Examples.Performance.Example8.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: 7.69466823595576]