Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001099/0.001099, allocations: 107.2 kB / 15.99 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001109/0.001109, allocations: 194.7 kB / 16.91 MB, free: 5.746 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.456/1.456, allocations: 205.1 MB / 222.8 MB, free: 4.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.662/1.662, allocations: 292.3 MB / 0.5492 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 74.39 kB / 0.6717 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2674, allocations: 114.5 MB / 0.7835 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.002227/0.2697, allocations: 0.9433 MB / 0.7845 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.2711, allocations: 1.176 MB / 0.7856 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.189e-05/0.2712, allocations: 4 kB / 0.7856 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.269e-05/0.2713, allocations: 15.86 kB / 0.7856 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.406e-05/0.2714, allocations: 7.922 kB / 0.7856 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005098/0.2719, allocations: 139 kB / 0.7858 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000194/0.2721, allocations: 179.6 kB / 0.7859 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.2722, allocations: 33.11 kB / 0.786 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.2723, allocations: 67.77 kB / 0.786 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001027/0.2724, allocations: 67.73 kB / 0.7861 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.905e-05/0.2725, allocations: 12 kB / 0.7861 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.392e-05/0.2725, allocations: 31.98 kB / 0.7861 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.168e-05/0.2726, allocations: 23.91 kB / 0.7862 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 8.089e-05/0.2727, allocations: 67.72 kB / 0.7862 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000167/0.2728, allocations: 120 kB / 0.7863 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.2728, allocations: 4 kB / 0.7863 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2729, allocations: 0 / 0.7863 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.2729, allocations: 0 / 0.7863 GB, free: 11.03 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006809/0.2736, allocations: 448.8 kB / 0.7868 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.2736, allocations: 8.031 kB / 0.7868 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.184e-05/0.2737, allocations: 16.75 kB / 0.7868 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005189/0.2742, allocations: 264.2 kB / 0.787 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.471e-05/0.2742, allocations: 4.375 kB / 0.787 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.728e-05/0.2743, allocations: 12.38 kB / 0.7871 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002249/0.2745, allocations: 93.3 kB / 0.7872 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2745, allocations: 3.938 kB / 0.7872 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.252e-05/0.2745, allocations: 0 / 0.7872 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.2745, allocations: 4 kB / 0.7872 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.2747, allocations: 47.95 kB / 0.7872 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007196/0.2754, allocations: 392.4 kB / 0.7876 GB, free: 9.613 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.2756, allocations: 38.55 kB / 0.7876 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.707e-05/0.2757, allocations: 28.97 kB / 0.7876 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.2757, allocations: 7.922 kB / 0.7876 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002672/0.276, allocations: 87.36 kB / 0.7877 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.276, allocations: 0 / 0.7877 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004059/0.2764, allocations: 145.7 kB / 0.7879 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.373e-05/0.2764, allocations: 63.33 kB / 0.7879 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/0.2766, allocations: 144.5 kB / 0.7881 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.642e-05/0.2766, allocations: 25.7 kB / 0.7881 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.546e-05/0.2767, allocations: 112.1 kB / 0.7882 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.2767, allocations: 27.61 kB / 0.7882 GB, free: 8.887 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.123e-05/0.2768, allocations: 45.7 kB / 0.7883 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.2769, allocations: 326.8 kB / 0.7886 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001481/0.2771, allocations: 47.95 kB / 0.7886 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001906/0.2773, allocations: 135.1 kB / 0.7888 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002906/0.2776, allocations: 200.6 kB / 0.7889 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.2776, allocations: 4 kB / 0.789 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004575/0.278, allocations: 242.9 kB / 0.7892 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.088e-05/0.2781, allocations: 37.7 kB / 0.7892 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.2781, allocations: 4 kB / 0.7892 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.2781, allocations: 4.375 kB / 0.7892 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.2782, allocations: 31.92 kB / 0.7893 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.08e-05/0.2783, allocations: 11.92 kB / 0.7893 GB, free: 7.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002108/0.2785, allocations: 35.91 kB / 0.7893 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.542e-05/0.2785, allocations: 15.98 kB / 0.7893 GB, free: 7.648 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 (booleanPulse.y,$PRE.booleanPulse.y,$whenCondition4,$whenCondition1,$whenCondition2,sampleTrigger.y,$whenCondition3) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001155/0.2786, allocations: 134.4 kB / 0.7894 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.099e-05/0.2787, allocations: 11.81 kB / 0.7895 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.726e-05/0.2787, allocations: 12.72 kB / 0.7895 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.2787, allocations: 4 kB / 0.7895 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.2787, allocations: 3.938 kB / 0.7895 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.2787, allocations: 3.984 kB / 0.7895 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005413/0.2793, allocations: 390.5 kB / 0.7899 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.2793, allocations: 0 / 0.7899 GB, free: 7.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.009e-05/0.2794, allocations: 19.92 kB / 0.7899 GB, free: 7.012 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.2794, allocations: 7.938 kB / 0.7899 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.2794, allocations: 0 / 0.7899 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.2794, allocations: 0 / 0.7899 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.2794, allocations: 0 / 0.7899 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000396/0.2798, allocations: 247.3 kB / 0.7901 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.936e-05/0.2799, allocations: 88.95 kB / 0.7902 GB, free: 6.641 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.073e-05/0.2799, allocations: 4 kB / 0.7902 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.908e-05/0.28, allocations: 12.03 kB / 0.7902 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.305e-05/0.2801, allocations: 7.984 kB / 0.7902 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.467e-06/0.2801, allocations: 4 kB / 0.7902 GB, free: 6.613 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 7.113e-05/0.2801, allocations: 109.8 kB / 0.7903 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2801, allocations: 0 / 0.7903 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000289/0.2804, allocations: 32 kB / 0.7904 GB, free: 6.477 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (intDef.y,intWitRes1.y,intWitRes2.y) * Number of discrete variables: 6 (sampleTrigger.y,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booleanPulse.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001884/0.2806, allocations: 115.2 kB / 0.7905 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003774/0.281, allocations: 183.1 kB / 0.7906 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.281, allocations: 0 / 0.7906 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.2812, allocations: 44.59 kB / 0.7907 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.2815, allocations: 20 kB / 0.7907 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005743/0.282, allocations: 326.5 kB / 0.791 GB, free: 5.75 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.2823, allocations: 0.7084 MB / 0.7917 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.777e-05/0.2824, allocations: 15.44 kB / 0.7917 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.2824, allocations: 0 / 0.7917 GB, free: 5.004 MB / 0.6075 GB Notification: Performance of Templates: time 0.003502/0.2859, allocations: 1.736 MB / 0.7934 GB, free: 3.285 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.pipe 2>&1)