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.001027/0.001027, allocations: 80.3 kB / 21.47 MB, free: 3.031 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.00168/0.00168, allocations: 168.2 kB / 24.86 MB, free: 9.277 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.051/1.051, allocations: 177.1 MB / 205.3 MB, free: 5.508 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 1.767/1.767, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] 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 1.262e-06/1.262e-06, allocations: 0 / 0.7883 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.496e-05/1.622e-05, allocations: 2.312 kB / 0.7883 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Predictors.BaseClasses.Examples.SampleStart): time 0.001459/0.001475, allocations: 1.264 MB / 0.7895 GB, free: 11 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001688/0.001644, allocations: 59.7 kB / 0.7896 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.726e-05/0.001671, allocations: 6.375 kB / 0.7896 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.58e-05/0.001707, allocations: 3.984 kB / 0.7896 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 9.664e-05/0.001804, allocations: 0 / 0.7896 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.001936, allocations: 11.98 kB / 0.7896 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 6.089e-05/0.001997, allocations: 15.92 kB / 0.7896 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.059e-05/0.002028, allocations: 4 kB / 0.7896 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.255e-05/0.00207, allocations: 9.828 kB / 0.7896 GB, free: 10.89 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.522e-05/0.002126, allocations: 12.69 kB / 0.7896 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.285e-05/0.002138, allocations: 0 / 0.7896 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 6.315e-05/0.002202, allocations: 11.92 kB / 0.7896 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.766e-05/0.002269, allocations: 50.47 kB / 0.7897 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.41e-05/0.002293, allocations: 27.92 kB / 0.7897 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.327e-05/0.002387, allocations: 67.64 kB / 0.7898 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.293e-06/0.002388, allocations: 0 / 0.7898 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of FrontEnd: time 4.61e-07/0.002388, allocations: 5.031 kB / 0.7898 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.437e-06/0.002392, allocations: 0 / 0.7898 GB, free: 10.72 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.000286/0.002678, allocations: 459.8 kB / 0.7902 GB, free: 10.24 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.087e-05/0.002709, allocations: 8.781 kB / 0.7902 GB, free: 10.23 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.839e-05/0.002777, allocations: 132 kB / 0.7904 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001376/0.002915, allocations: 252.6 kB / 0.7906 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.294e-05/0.002978, allocations: 238.8 kB / 0.7908 GB, free: 9.594 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.207e-05/0.00303, allocations: 246.8 kB / 0.7911 GB, free: 9.352 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.29e-05/0.003082, allocations: 151.6 kB / 0.7912 GB, free: 9.199 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.003107, allocations: 119.2 kB / 0.7913 GB, free: 9.082 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.604e-05/0.003153, allocations: 238.4 kB / 0.7915 GB, free: 8.848 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.821e-05/0.003202, allocations: 246.3 kB / 0.7918 GB, free: 8.605 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/0.003499, allocations: 238.4 kB / 0.792 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002125/0.003712, allocations: 0.5925 MB / 0.7926 GB, free: 7.754 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.677e-05/0.003788, allocations: 266.2 kB / 0.7928 GB, free: 7.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.883e-05/0.003817, allocations: 126.9 kB / 0.793 GB, free: 7.352 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.505e-05/0.003842, allocations: 119.7 kB / 0.7931 GB, free: 7.234 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.785e-05/0.00388, allocations: 160.5 kB / 0.7932 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.003881, allocations: 1.656 kB / 0.7932 GB, free: 7.066 MB / 0.7448 GB Notification: Performance of matching and sorting (n=0): time 4.855e-05/0.003929, allocations: 41.55 kB / 0.7933 GB, free: 7.02 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.174e-05/0.003971, allocations: 170.6 kB / 0.7934 GB, free: 6.84 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.004104, allocations: 277.6 kB / 0.7937 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-06/0.004113, allocations: 26.27 kB / 0.7937 GB, free: 6.52 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.004165, allocations: 167.3 kB / 0.7939 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.112e-06/0.004166, allocations: 0 / 0.7939 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.929e-05/0.004206, allocations: 44.2 kB / 0.7939 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001088/0.004315, allocations: 0.504 MB / 0.7944 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.39e-05/0.004338, allocations: 13.16 kB / 0.7944 GB, free: 5.773 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.755e-05/0.004356, allocations: 13.62 kB / 0.7944 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.554e-05/0.004412, allocations: 61.66 kB / 0.7945 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-06/0.004413, allocations: 1.375 kB / 0.7945 GB, free: 5.699 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0001223/0.004535, allocations: 97.58 kB / 0.7946 GB, free: 5.598 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.004547, allocations: 11.94 kB / 0.7946 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.488e-06/0.004552, allocations: 0 / 0.7946 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.923e-06/0.004559, allocations: 1.75 kB / 0.7946 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.00456, allocations: 3.938 kB / 0.7946 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.004562, allocations: 0 / 0.7946 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.424e-05/0.004586, allocations: 11.89 kB / 0.7946 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.416e-05/0.0046, allocations: 8.828 kB / 0.7946 GB, free: 5.562 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 7.912e-05/0.004679, allocations: 275.8 kB / 0.7949 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.871e-05/0.004728, allocations: 161.6 kB / 0.795 GB, free: 5.117 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.43e-05/0.004772, allocations: 169.3 kB / 0.7952 GB, free: 4.945 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.056e-05/0.004823, allocations: 273.3 kB / 0.7955 GB, free: 4.672 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.065e-05/0.004873, allocations: 268.1 kB / 0.7957 GB, free: 4.402 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.326e-05/0.004927, allocations: 272.1 kB / 0.796 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.005082, allocations: 0.4926 MB / 0.7965 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.701e-05/0.005109, allocations: 145.7 kB / 0.7966 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.952e-05/0.005138, allocations: 152.8 kB / 0.7968 GB, free: 3.297 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.035e-05/0.005189, allocations: 269.2 kB / 0.797 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.402e-05/0.005243, allocations: 268.1 kB / 0.7973 GB, free: 2.758 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.812e-05/0.005291, allocations: 268 kB / 0.7975 GB, free: 2.488 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.97e-05/0.005341, allocations: 269.4 kB / 0.7978 GB, free: 2.219 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001125/0.005453, allocations: 459.9 kB / 0.7982 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.963e-05/0.005493, allocations: 164.7 kB / 0.7984 GB, free: 1.574 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.97e-05/0.005553, allocations: 265.6 kB / 0.7986 GB, free: 1.309 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.696e-05/0.005609, allocations: 148.9 kB / 0.7988 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.289e-05/0.005672, allocations: 276 kB / 0.799 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-05/0.005701, allocations: 144.9 kB / 0.7992 GB, free: 0.7305 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003215/0.006022, allocations: 183.3 kB / 0.7993 GB, free: 0.5547 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.006023, allocations: 0 / 0.7993 GB, free: 0.5547 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001557/0.006178, allocations: 20 kB / 0.7994 GB, free: 0.5352 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.0001084/0.006287, allocations: 222.4 kB / 0.7996 GB, free: 316 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 6.423e-05/0.006351, allocations: 31.62 kB / 0.7996 GB, free: 280 kB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.006352, allocations: 0 / 0.7996 GB, free: 280 kB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.002e-06/0.006353, allocations: 0.5 kB / 0.7996 GB, free: 280 kB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.006642, allocations: 0.7066 MB / 0.8003 GB, free: 15.56 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002427/0.006885, allocations: 336.1 kB / 0.8006 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.505e-05/0.00692, allocations: 71.31 kB / 0.8007 GB, free: 15.12 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 1.443e-05/0.006934, allocations: 12.64 kB / 0.8007 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.317e-05/0.006967, allocations: 70.83 kB / 0.8008 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of SimCode: time 6.11e-07/0.006968, allocations: 0 / 0.8008 GB, free: 15.04 MB / 0.7605 GB Notification: Performance of Templates: time 0.002153/0.009121, allocations: 0.8253 MB / 0.8016 GB, free: 14.23 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: 4.945518473628908]