Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.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.001931/0.001931, allocations: 80.52 kB / 19.96 MB, free: 4.598 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.002084/0.002084, allocations: 173.2 kB / 23.23 MB, free: 1.324 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.644/1.644, allocations: 177.1 MB / 203.5 MB, free: 5.777 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.245/3.245, allocations: 389.5 MB / 0.6343 GB, free: 12.61 MB / 0.6042 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative,tolerance=1e-07,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 3.357e-06/3.357e-06, allocations: 0 / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.151e-05/3.487e-05, allocations: 2.281 kB / 1.001 GB, free: 12.99 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Derivative): time 0.002553/0.002587, allocations: 1.01 MB / 1.002 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001739/0.004327, allocations: 1.022 MB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.004453, allocations: 4 kB / 1.003 GB, free: 10.94 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000152/0.004605, allocations: 19.73 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.397e-05/0.004679, allocations: 27.75 kB / 1.003 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003759/0.005055, allocations: 75.77 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002493/0.005304, allocations: 184 kB / 1.003 GB, free: 10.64 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001862/0.00549, allocations: 56.52 kB / 1.004 GB, free: 10.58 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003114/0.005802, allocations: 103.8 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001261/0.005928, allocations: 59.78 kB / 1.004 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 4.047e-05/0.005968, allocations: 16 kB / 1.004 GB, free: 10.41 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.275e-05/0.006031, allocations: 20 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 5.407e-05/0.006085, allocations: 39.83 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.958e-05/0.006155, allocations: 51.89 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003156/0.00647, allocations: 199.2 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.006477, allocations: 3.984 kB / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.162e-06/0.006478, allocations: 0 / 1.004 GB, free: 10.1 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.006483, allocations: 4 kB / 1.004 GB, free: 10.09 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.000951/0.007434, allocations: 418.4 kB / 1.004 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.007479, allocations: 9.344 kB / 1.004 GB, free: 9.641 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001153/0.007594, allocations: 28.8 kB / 1.004 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.007899, allocations: 161.9 kB / 1.005 GB, free: 9.43 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.886e-05/0.007928, allocations: 12.38 kB / 1.005 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.165e-05/0.007969, allocations: 28.25 kB / 1.005 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003775/0.008347, allocations: 173.4 kB / 1.005 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.008359, allocations: 192 / 1.005 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.125e-05/0.00838, allocations: 8.125 kB / 1.005 GB, free: 9.203 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.008391, allocations: 4 kB / 1.005 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000304/0.008695, allocations: 111.9 kB / 1.005 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.009801, allocations: 439.8 kB / 1.005 GB, free: 8.629 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004107/0.01021, allocations: 130.7 kB / 1.005 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001897/0.0104, allocations: 80.81 kB / 1.006 GB, free: 8.41 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 3.418e-05/0.01044, allocations: 4 kB / 1.006 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002926/0.01073, allocations: 147.2 kB / 1.006 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=19): time 1.293e-06/0.01073, allocations: 0 / 1.006 GB, free: 8.246 MB / 0.9636 GB Notification: Performance of matching and sorting (n=19): time 0.0006025/0.01133, allocations: 229.3 kB / 1.006 GB, free: 8.016 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.542e-05/0.01139, allocations: 55.41 kB / 1.006 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001548/0.01154, allocations: 147.5 kB / 1.006 GB, free: 7.797 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.01158, allocations: 33.7 kB / 1.006 GB, free: 7.758 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001147/0.01169, allocations: 120.4 kB / 1.006 GB, free: 7.637 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 7.31e-05/0.01176, allocations: 71.41 kB / 1.006 GB, free: 7.566 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.65e-05/0.01184, allocations: 41.7 kB / 1.006 GB, free: 7.52 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.01201, allocations: 322.8 kB / 1.007 GB, free: 7.195 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002127/0.01223, allocations: 71.89 kB / 1.007 GB, free: 7.125 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002222/0.01245, allocations: 85.67 kB / 1.007 GB, free: 7.035 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003805/0.01283, allocations: 147 kB / 1.007 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01283, allocations: 0 / 1.007 GB, free: 6.887 MB / 0.9636 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005054/0.01334, allocations: 211.2 kB / 1.007 GB, free: 6.676 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.608e-05/0.01335, allocations: 4 kB / 1.007 GB, free: 6.672 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/0.01336, allocations: 3.984 kB / 1.007 GB, free: 6.668 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.01338, allocations: 8.031 kB / 1.007 GB, free: 6.66 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001996/0.01358, allocations: 35.92 kB / 1.007 GB, free: 6.625 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.0136, allocations: 7.984 kB / 1.007 GB, free: 6.617 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001392/0.01373, allocations: 23.92 kB / 1.007 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.676e-05/0.01375, allocations: 4 kB / 1.007 GB, free: 6.59 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,lesThr.lesHys.y,$PRE.lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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 0.0001393/0.01389, allocations: 133.7 kB / 1.007 GB, free: 6.449 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.783e-05/0.01392, allocations: 15.95 kB / 1.007 GB, free: 6.434 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004552/0.01437, allocations: 193.2 kB / 1.008 GB, free: 6.242 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.434e-06/0.01438, allocations: 3.984 kB / 1.008 GB, free: 6.238 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.01439, allocations: 0 / 1.008 GB, free: 6.238 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.01439, allocations: 0 / 1.008 GB, free: 6.238 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009046/0.01529, allocations: 0.5146 MB / 1.008 GB, free: 5.668 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.0153, allocations: 0 / 1.008 GB, free: 5.668 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000178/0.01547, allocations: 39.91 kB / 1.008 GB, free: 5.629 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.01548, allocations: 0 / 1.008 GB, free: 5.629 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.867e-05/0.01551, allocations: 8 kB / 1.008 GB, free: 5.621 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.003e-06/0.01551, allocations: 4 kB / 1.008 GB, free: 5.617 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.871e-06/0.01552, allocations: 3.938 kB / 1.008 GB, free: 5.613 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006722/0.01619, allocations: 378.9 kB / 1.008 GB, free: 5.211 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.817e-05/0.01622, allocations: 19.88 kB / 1.008 GB, free: 5.191 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.114e-05/0.01625, allocations: 11.94 kB / 1.009 GB, free: 5.18 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.0164, allocations: 19.92 kB / 1.009 GB, free: 5.16 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.789e-05/0.01649, allocations: 23.91 kB / 1.009 GB, free: 5.137 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.766e-05/0.01651, allocations: 11.98 kB / 1.009 GB, free: 5.125 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 8.738e-05/0.0166, allocations: 105.7 kB / 1.009 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.0166, allocations: 0 / 1.009 GB, free: 5.023 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002634/0.01686, allocations: 31.94 kB / 1.009 GB, free: 4.992 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der2.x,intWitRes.y,der1.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0001693/0.01703, allocations: 111.2 kB / 1.009 GB, free: 4.871 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.00045/0.01748, allocations: 155.8 kB / 1.009 GB, free: 4.719 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.01748, allocations: 4 kB / 1.009 GB, free: 4.715 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001938/0.01768, allocations: 80.28 kB / 1.009 GB, free: 4.637 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.01801, allocations: 31.92 kB / 1.009 GB, free: 4.605 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007331/0.01875, allocations: 355.2 kB / 1.009 GB, free: 4.215 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.01888, allocations: 112.6 kB / 1.009 GB, free: 4.074 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 7.482e-05/0.01896, allocations: 13.48 kB / 1.01 GB, free: 4.062 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.987e-05/0.01902, allocations: 24.48 kB / 1.01 GB, free: 4.039 MB / 0.9636 GB Notification: Performance of SimCode: time 4.31e-07/0.01902, allocations: 0 / 1.01 GB, free: 4.039 MB / 0.9636 GB Notification: Performance of Templates: time 0.005816/0.02483, allocations: 1.757 MB / 1.011 GB, free: 2.32 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Derivative.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.253046468831599]