Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.001536/0.001536, allocations: 88.39 kB / 20.23 MB, free: 4.172 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.001994/0.001994, allocations: 161.3 kB / 23.55 MB, free: 0.8633 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.593/1.593, allocations: 177.1 MB / 203.9 MB, free: 5.605 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.805/2.805, allocations: 359 MB / 0.6048 GB, free: 10.97 MB / 0.573 GB " [Timeout remaining time 176] 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.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") translateModel(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samSta.1.|samSta.2.|samSta.3.|samSta.4.|samSta.5.|samSta.6.|samSta.7.|samSta.8.|samSta.9.|samSta.10.|samSta.11.|samSta.12.|samSta.13.|samSta.14.|samSta.15.|samSta.16.|samSta.17.|samSta.18.|samSta.19.|samSta.20.|samSta.21.",fileNamePrefix="Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.7863 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.282e-05, allocations: 3.969 kB / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002569/0.002602, allocations: 1.234 MB / 0.7876 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002652/0.002867, allocations: 53 kB / 0.7876 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.878e-05/0.002906, allocations: 4 kB / 0.7876 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 4.48e-05/0.00295, allocations: 0 / 0.7876 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.003071, allocations: 12.48 kB / 0.7876 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001573/0.003228, allocations: 9.359 kB / 0.7876 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.259e-05/0.003311, allocations: 19.92 kB / 0.7876 GB, free: 11.53 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.012e-05/0.003351, allocations: 4 kB / 0.7876 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.675e-05/0.003398, allocations: 4 kB / 0.7877 GB, free: 11.52 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.689e-05/0.003465, allocations: 13.56 kB / 0.7877 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.751e-05/0.003482, allocations: 0 / 0.7877 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.87e-05/0.003561, allocations: 8.562 kB / 0.7877 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.003676, allocations: 53.08 kB / 0.7877 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.605e-05/0.003732, allocations: 20.84 kB / 0.7877 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001492/0.003881, allocations: 71.66 kB / 0.7878 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.384e-06/0.003884, allocations: 0.6562 kB / 0.7878 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of FrontEnd: time 6.41e-07/0.003884, allocations: 0 / 0.7878 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.187e-06/0.003889, allocations: 1.656 kB / 0.7878 GB, free: 11.36 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005209/0.004409, allocations: 353.6 kB / 0.7882 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.004449, allocations: 8.031 kB / 0.7882 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001022/0.004551, allocations: 92.11 kB / 0.7882 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002058/0.004757, allocations: 214.2 kB / 0.7885 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.756e-05/0.004854, allocations: 154.9 kB / 0.7886 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002229/0.005077, allocations: 150.9 kB / 0.7887 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.781e-05/0.005175, allocations: 109.1 kB / 0.7888 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.487e-05/0.00522, allocations: 76.88 kB / 0.7889 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.695e-05/0.005307, allocations: 150.6 kB / 0.7891 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.858e-05/0.005395, allocations: 158.5 kB / 0.7892 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.462e-05/0.00548, allocations: 158.5 kB / 0.7894 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004011/0.005881, allocations: 434 kB / 0.7898 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001251/0.006006, allocations: 176.6 kB / 0.7899 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.806e-05/0.006074, allocations: 84.12 kB / 0.79 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.909e-05/0.006123, allocations: 75.28 kB / 0.7901 GB, free: 8.906 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.357e-05/0.006207, allocations: 113.8 kB / 0.7902 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.006208, allocations: 0 / 0.7902 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.0001061/0.006314, allocations: 41.55 kB / 0.7903 GB, free: 8.738 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.574e-05/0.006409, allocations: 126.7 kB / 0.7904 GB, free: 8.602 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003051/0.006715, allocations: 235.1 kB / 0.7906 GB, free: 8.363 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.006738, allocations: 25.7 kB / 0.7906 GB, free: 8.332 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.667e-05/0.006835, allocations: 108.8 kB / 0.7907 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/0.006837, allocations: 0 / 0.7907 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.338e-05/0.006911, allocations: 46.22 kB / 0.7908 GB, free: 8.172 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.007102, allocations: 322.8 kB / 0.7911 GB, free: 7.848 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.292e-05/0.007195, allocations: 52.84 kB / 0.7911 GB, free: 7.797 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.333e-05/0.007278, allocations: 55.95 kB / 0.7912 GB, free: 7.742 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.007481, allocations: 142.8 kB / 0.7913 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.007483, allocations: 0 / 0.7913 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0003852/0.007869, allocations: 180.3 kB / 0.7915 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.007886, allocations: 9.375 kB / 0.7915 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.007892, allocations: 0 / 0.7915 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.00791, allocations: 0 / 0.7915 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.007911, allocations: 0 / 0.7915 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.007916, allocations: 1.25 kB / 0.7915 GB, free: 7.414 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.549e-05/0.007971, allocations: 19.78 kB / 0.7915 GB, free: 7.395 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.007989, allocations: 4 kB / 0.7915 GB, free: 7.391 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 0 * Array equations: 1 * 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.0001601/0.008149, allocations: 201.8 kB / 0.7917 GB, free: 7.184 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.925e-05/0.008248, allocations: 124.8 kB / 0.7918 GB, free: 7.055 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.699e-05/0.008325, allocations: 110.8 kB / 0.7919 GB, free: 6.941 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001054/0.008431, allocations: 192.2 kB / 0.7921 GB, free: 6.746 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001246/0.008555, allocations: 177.4 kB / 0.7923 GB, free: 6.566 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001012/0.008657, allocations: 180.3 kB / 0.7925 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000322/0.008979, allocations: 384.8 kB / 0.7928 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.954e-05/0.009048, allocations: 109.9 kB / 0.7929 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.034e-05/0.009118, allocations: 108.9 kB / 0.793 GB, free: 5.742 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001092/0.009228, allocations: 183.4 kB / 0.7932 GB, free: 5.559 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001106/0.009338, allocations: 184.2 kB / 0.7934 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001251/0.009463, allocations: 184.2 kB / 0.7936 GB, free: 5.184 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001043/0.009568, allocations: 180.2 kB / 0.7937 GB, free: 5 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002116/0.009779, allocations: 311.7 kB / 0.794 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.286e-05/0.009862, allocations: 116.8 kB / 0.7941 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001239/0.009986, allocations: 196.2 kB / 0.7943 GB, free: 4.352 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.0101, allocations: 105 kB / 0.7944 GB, free: 4.242 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.01021, allocations: 185.3 kB / 0.7946 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.13e-05/0.01027, allocations: 101 kB / 0.7947 GB, free: 3.949 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.000175/0.01044, allocations: 160.6 kB / 0.7949 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.1e-08/0.01044, allocations: 0.5312 kB / 0.7949 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002605/0.0107, allocations: 16 kB / 0.7949 GB, free: 3.777 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0002235/0.01093, allocations: 175.6 kB / 0.795 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001581/0.01108, allocations: 64.98 kB / 0.7951 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.01109, allocations: 0 / 0.7951 GB, free: 3.535 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.162e-06/0.01109, allocations: 4 kB / 0.7951 GB, free: 3.531 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004935/0.01159, allocations: 462.4 kB / 0.7955 GB, free: 3.078 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007603/0.01235, allocations: 307.1 kB / 0.7958 GB, free: 2.754 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.01247, allocations: 96.78 kB / 0.7959 GB, free: 2.641 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.376e-05/0.0125, allocations: 7.984 kB / 0.7959 GB, free: 2.633 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.94e-05/0.01254, allocations: 13.03 kB / 0.796 GB, free: 2.617 MB / 0.7448 GB Notification: Performance of SimCode: time 6.41e-07/0.01254, allocations: 0 / 0.796 GB, free: 2.617 MB / 0.7448 GB Notification: Performance of Templates: time 0.003572/0.01611, allocations: 0.7194 MB / 0.7967 GB, free: 1.914 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; mkfifo Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe >> ../files/Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.sim & ./Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_Predictors_BaseClasses_Examples_SampleStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.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.112921327003278]