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.001046/0.001046, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001088/0.001088, allocations: 169 kB / 23.82 MB, free: 0.7461 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 0.993/0.993, allocations: 177.1 MB / 204.2 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 179] 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.206/2.206, allocations: 359 MB / 0.6052 GB, free: 11.01 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.Controls.Predictors.BaseClasses.Examples.SampleStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|samSta.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.324e-06/2.324e-06, allocations: 0 / 0.7871 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.818e-05/4.051e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.002745/0.002786, allocations: 1.26 MB / 0.7883 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.000388/0.003174, allocations: 55.7 kB / 0.7884 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.025e-05/0.003224, allocations: 0.8438 kB / 0.7884 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 6.926e-05/0.003293, allocations: 3.938 kB / 0.7884 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002024/0.003496, allocations: 4.562 kB / 0.7884 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.003774, allocations: 16.66 kB / 0.7884 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001233/0.003897, allocations: 11.94 kB / 0.7884 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 7.104e-05/0.003968, allocations: 0.9062 kB / 0.7884 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 7.589e-05/0.004044, allocations: 7.984 kB / 0.7884 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 9.812e-05/0.004142, allocations: 25.31 kB / 0.7884 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.772e-05/0.00417, allocations: 0 / 0.7884 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.004295, allocations: 5.594 kB / 0.7884 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001373/0.004433, allocations: 48.47 kB / 0.7885 GB, free: 11.06 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 4.399e-05/0.004477, allocations: 19.94 kB / 0.7885 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.004671, allocations: 68.23 kB / 0.7886 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.004676, allocations: 3.438 kB / 0.7886 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.284e-06/0.004678, allocations: 4 kB / 0.7886 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.777e-06/0.004687, allocations: 0 / 0.7886 GB, free: 10.97 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.0005726/0.00526, allocations: 459.9 kB / 0.789 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.338e-05/0.005333, allocations: 11.97 kB / 0.789 GB, free: 10.48 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001294/0.005462, allocations: 132 kB / 0.7891 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001843/0.005647, allocations: 255.6 kB / 0.7894 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.705e-05/0.005724, allocations: 238.8 kB / 0.7896 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.675e-05/0.00581, allocations: 238.8 kB / 0.7898 GB, free: 9.602 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.724e-05/0.005898, allocations: 153.7 kB / 0.79 GB, free: 9.445 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.523e-05/0.005933, allocations: 119.2 kB / 0.7901 GB, free: 9.328 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.952e-05/0.006002, allocations: 244 kB / 0.7903 GB, free: 9.09 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-05/0.006073, allocations: 242.4 kB / 0.7906 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.438e-05/0.006148, allocations: 242.3 kB / 0.7908 GB, free: 8.613 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.006533, allocations: 0.6265 MB / 0.7914 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001244/0.006657, allocations: 267.4 kB / 0.7917 GB, free: 7.68 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.709e-05/0.006704, allocations: 126.9 kB / 0.7918 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.574e-05/0.00674, allocations: 119.2 kB / 0.7919 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.289e-05/0.006803, allocations: 156.5 kB / 0.792 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 1.212e-06/0.006804, allocations: 1.188 kB / 0.7921 GB, free: 7.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 0.0001089/0.006913, allocations: 45.55 kB / 0.7921 GB, free: 7.219 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.251e-05/0.006995, allocations: 174.6 kB / 0.7923 GB, free: 7.035 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002523/0.007248, allocations: 270.4 kB / 0.7925 GB, free: 6.754 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.007263, allocations: 25.7 kB / 0.7925 GB, free: 6.723 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 9.302e-05/0.007356, allocations: 167.5 kB / 0.7927 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.757e-06/0.00736, allocations: 0 / 0.7927 GB, free: 6.555 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.21e-05/0.007422, allocations: 52.56 kB / 0.7928 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.00758, allocations: 0.4962 MB / 0.7932 GB, free: 5.988 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.96e-05/0.00762, allocations: 16 kB / 0.7933 GB, free: 5.973 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.049e-05/0.00765, allocations: 16.7 kB / 0.7933 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001011/0.007752, allocations: 65.23 kB / 0.7933 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.007755, allocations: 1.344 kB / 0.7933 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0002331/0.007988, allocations: 107.4 kB / 0.7934 GB, free: 5.781 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.008009, allocations: 4 kB / 0.7934 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.00802, allocations: 0.5625 kB / 0.7934 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.008042, allocations: 0.5625 kB / 0.7934 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.519e-06/0.008047, allocations: 0 / 0.7934 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.008054, allocations: 1.156 kB / 0.7934 GB, free: 5.777 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.267e-05/0.008097, allocations: 19.81 kB / 0.7935 GB, free: 5.758 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.008116, allocations: 8 kB / 0.7935 GB, free: 5.75 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.0001307/0.008246, allocations: 280.5 kB / 0.7937 GB, free: 5.465 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.793e-05/0.008324, allocations: 164.7 kB / 0.7939 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.703e-05/0.008401, allocations: 162.7 kB / 0.794 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-05/0.008486, allocations: 268 kB / 0.7943 GB, free: 4.863 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.282e-05/0.008569, allocations: 272.1 kB / 0.7946 GB, free: 4.59 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.91e-05/0.008658, allocations: 273.4 kB / 0.7948 GB, free: 4.316 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002673/0.008925, allocations: 0.5271 MB / 0.7953 GB, free: 3.746 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.836e-05/0.008974, allocations: 144.9 kB / 0.7955 GB, free: 3.598 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.628e-05/0.00902, allocations: 153.4 kB / 0.7956 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.704e-05/0.009097, allocations: 264.1 kB / 0.7959 GB, free: 3.176 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.43e-05/0.009181, allocations: 272.5 kB / 0.7961 GB, free: 2.902 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.835e-05/0.00927, allocations: 276.9 kB / 0.7964 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.756e-05/0.009347, allocations: 264.1 kB / 0.7966 GB, free: 2.359 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001875/0.009535, allocations: 451.9 kB / 0.7971 GB, free: 1.891 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.719e-05/0.009612, allocations: 161.6 kB / 0.7972 GB, free: 1.727 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001065/0.009719, allocations: 279.9 kB / 0.7975 GB, free: 1.445 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.589e-05/0.009784, allocations: 145.4 kB / 0.7976 GB, free: 1.297 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.002e-05/0.009874, allocations: 268.8 kB / 0.7979 GB, free: 1.027 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.138e-05/0.009926, allocations: 152.9 kB / 0.798 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.00012/0.01005, allocations: 181.5 kB / 0.7982 GB, free: 0.6953 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.01005, allocations: 4 kB / 0.7982 GB, free: 0.6914 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001913/0.01024, allocations: 16 kB / 0.7982 GB, free: 0.6758 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.0002484/0.01049, allocations: 223.6 kB / 0.7984 GB, free: 460 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001604/0.01065, allocations: 40.58 kB / 0.7985 GB, free: 416 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.01065, allocations: 4 kB / 0.7985 GB, free: 412 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.244e-06/0.01065, allocations: 0 / 0.7985 GB, free: 412 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00042/0.01107, allocations: 0.7103 MB / 0.7992 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005203/0.01159, allocations: 330.1 kB / 0.7995 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.761e-05/0.01165, allocations: 74.61 kB / 0.7996 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 2.51e-05/0.01168, allocations: 7.984 kB / 0.7996 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/0.01171, allocations: 8.5 kB / 0.7996 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of SimCode: time 2.585e-06/0.01172, allocations: 0 / 0.7996 GB, free: 15.23 MB / 0.7605 GB Notification: Performance of Templates: time 0.003551/0.01527, allocations: 0.7267 MB / 0.8003 GB, free: 14.52 MB / 0.7605 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.204501253087074]