Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.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.001315/0.001315, allocations: 80.75 kB / 20.82 MB, free: 3.633 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.001443/0.001443, allocations: 165 kB / 24.25 MB, free: 212 kB / 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.9598/0.9598, allocations: 177.1 MB / 204.7 MB, free: 5.43 MB / 186.7 MB " [Timeout remaining time 179] 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 1.953/1.953, allocations: 389.6 MB / 0.6355 GB, free: 12.28 MB / 0.6042 GB " [Timeout remaining time 178] 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.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.7754 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.67e-05/1.878e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.215 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Modulo): time 0.001873/0.001892, allocations: 0.756 MB / 0.7762 GB, free: 4.48 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.003274, allocations: 0.9135 MB / 0.7771 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.405e-05/0.003328, allocations: 4 kB / 0.7771 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.419e-05/0.003372, allocations: 3.938 kB / 0.7771 GB, free: 3.551 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 9.852e-05/0.003471, allocations: 11.22 kB / 0.7771 GB, free: 3.543 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002055/0.003676, allocations: 12.52 kB / 0.7771 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001112/0.003787, allocations: 53.11 kB / 0.7771 GB, free: 3.488 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.003889, allocations: 4 kB / 0.7772 GB, free: 3.484 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001182/0.004007, allocations: 30.16 kB / 0.7772 GB, free: 3.457 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.661e-05/0.004064, allocations: 17.34 kB / 0.7772 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.813e-05/0.004092, allocations: 4 kB / 0.7772 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 1.212e-05/0.004104, allocations: 4.812 kB / 0.7772 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.739e-05/0.004131, allocations: 9.312 kB / 0.7772 GB, free: 3.426 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.805e-05/0.00416, allocations: 20.41 kB / 0.7772 GB, free: 3.406 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.004261, allocations: 24.66 kB / 0.7773 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004263, allocations: 0 / 0.7773 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.21e-07/0.004264, allocations: 2.375 kB / 0.7773 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.004269, allocations: 0 / 0.7773 GB, free: 3.383 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003854/0.004654, allocations: 248.9 kB / 0.7775 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.004699, allocations: 17.28 kB / 0.7775 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.03e-05/0.004729, allocations: 0.9375 kB / 0.7775 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.004841, allocations: 117.7 kB / 0.7776 GB, free: 2.957 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.004855, allocations: 7.125 kB / 0.7776 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.004867, allocations: 384 / 0.7776 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001621/0.005029, allocations: 70.88 kB / 0.7777 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.005039, allocations: 192 / 0.7777 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.005047, allocations: 384 / 0.7777 GB, free: 2.875 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.005055, allocations: 4.375 kB / 0.7777 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.137e-05/0.005086, allocations: 11.92 kB / 0.7777 GB, free: 2.859 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002802/0.005367, allocations: 155 kB / 0.7779 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.398e-05/0.005441, allocations: 22.58 kB / 0.7779 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.547e-05/0.005466, allocations: 16.94 kB / 0.7779 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.005483, allocations: 4 kB / 0.7779 GB, free: 2.641 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.768e-05/0.005511, allocations: 30.56 kB / 0.7779 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.774e-06/0.005513, allocations: 0 / 0.7779 GB, free: 2.602 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001384/0.005651, allocations: 47.38 kB / 0.778 GB, free: 2.551 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.005691, allocations: 51.41 kB / 0.778 GB, free: 2.488 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.776e-05/0.005779, allocations: 114.7 kB / 0.7781 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.508e-05/0.005794, allocations: 25.7 kB / 0.7782 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.956e-05/0.005844, allocations: 93.3 kB / 0.7783 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-05/0.005868, allocations: 7.953 kB / 0.7783 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.621e-05/0.005905, allocations: 17.72 kB / 0.7783 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.006015, allocations: 318.8 kB / 0.7786 GB, free: 1.887 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.342e-05/0.006029, allocations: 4.594 kB / 0.7786 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.388e-05/0.006043, allocations: 5.125 kB / 0.7786 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.138e-05/0.006084, allocations: 16.83 kB / 0.7786 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.006086, allocations: 0 / 0.7786 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.404e-05/0.00616, allocations: 42.25 kB / 0.7786 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.006175, allocations: 4 kB / 0.7787 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.00618, allocations: 0.5 kB / 0.7787 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.006193, allocations: 4.719 kB / 0.7787 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.77e-05/0.006281, allocations: 11.98 kB / 0.7787 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.006285, allocations: 4.562 kB / 0.7787 GB, free: 1.789 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.433e-05/0.006319, allocations: 8.906 kB / 0.7787 GB, free: 1.781 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.254e-06/0.006326, allocations: 7.938 kB / 0.7787 GB, free: 1.773 MB / 0.7292 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 (3): * Single equations (assignments): 3 * 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 6.077e-05/0.006387, allocations: 111.3 kB / 0.7788 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.006403, allocations: 7.984 kB / 0.7788 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.593e-05/0.006429, allocations: 4 kB / 0.7788 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.006434, allocations: 3.938 kB / 0.7788 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.006436, allocations: 0.6562 kB / 0.7788 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.00644, allocations: 0 / 0.7788 GB, free: 1.645 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.006565, allocations: 79.52 kB / 0.7789 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.006567, allocations: 0 / 0.7789 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.119e-05/0.006618, allocations: 8 kB / 0.7789 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.515e-06/0.00662, allocations: 0 / 0.7789 GB, free: 1.543 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.00663, allocations: 4.859 kB / 0.7789 GB, free: 1.539 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.384e-06/0.006633, allocations: 4 kB / 0.7789 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.006634, allocations: 1.094 kB / 0.7789 GB, free: 1.535 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.006761, allocations: 143.7 kB / 0.779 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-06/0.006771, allocations: 3.953 kB / 0.779 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.255e-05/0.006783, allocations: 0.9844 kB / 0.779 GB, free: 1.375 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.65e-05/0.00685, allocations: 11.97 kB / 0.7791 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/0.006892, allocations: 8.531 kB / 0.7791 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.47e-06/0.006897, allocations: 3.938 kB / 0.7791 GB, free: 1.352 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.822e-05/0.006916, allocations: 14.41 kB / 0.7791 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9e-08/0.006916, allocations: 0 / 0.7791 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000211/0.007127, allocations: 8 kB / 0.7791 GB, free: 1.328 MB / 0.7292 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 (3): * Single equations (assignments): 3 * 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 8.591e-05/0.007213, allocations: 77.89 kB / 0.7792 GB, free: 1.246 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.545e-05/0.007288, allocations: 20.84 kB / 0.7792 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.00729, allocations: 0 / 0.7792 GB, free: 1.223 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.012e-05/0.00731, allocations: 14.14 kB / 0.7792 GB, free: 1.207 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001858/0.007496, allocations: 11.94 kB / 0.7792 GB, free: 1.195 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002861/0.007782, allocations: 133.3 kB / 0.7793 GB, free: 1.039 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.854e-05/0.007821, allocations: 60.39 kB / 0.7794 GB, free: 0.9609 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.168e-05/0.007853, allocations: 5.016 kB / 0.7794 GB, free: 0.957 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.992e-05/0.007913, allocations: 55.38 kB / 0.7795 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of SimCode: time 8.12e-07/0.007913, allocations: 0 / 0.7795 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of Templates: time 0.002474/0.01039, allocations: 0.7299 MB / 0.7802 GB, free: 216 kB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Reals.Validation.Modulo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.958725458011031]