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.001519/0.00152, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 187.4 kB / 16.62 MB, free: 6.613 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.74/1.74, allocations: 205.1 MB / 222.5 MB, free: 4.559 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 2.064/2.064, allocations: 292.3 MB / 0.5489 GB, free: 12.75 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.001427/0.001427, allocations: 66.62 kB / 0.6723 GB, free: 25.94 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.266, allocations: 114.6 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset): time 0.002449/0.2685, allocations: 0.8927 MB / 0.785 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001533/0.2701, allocations: 1.173 MB / 0.7862 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.565e-05/0.2702, allocations: 0 / 0.7862 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.115e-05/0.2702, allocations: 15.8 kB / 0.7862 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.569e-05/0.2703, allocations: 11.81 kB / 0.7862 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005591/0.2709, allocations: 153.9 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002124/0.2711, allocations: 171.7 kB / 0.7865 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001572/0.2713, allocations: 45.06 kB / 0.7865 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001051/0.2714, allocations: 59.78 kB / 0.7866 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.2715, allocations: 75.72 kB / 0.7867 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.2716, allocations: 12 kB / 0.7867 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.09e-05/0.2716, allocations: 31.98 kB / 0.7867 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.448e-05/0.2717, allocations: 23.92 kB / 0.7867 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.972e-05/0.2718, allocations: 67.77 kB / 0.7868 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000224/0.272, allocations: 171.4 kB / 0.787 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.272, allocations: 0 / 0.787 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.813e-06/0.272, allocations: 0 / 0.787 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.797e-06/0.272, allocations: 0 / 0.787 GB, free: 9.84 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.0007051/0.2727, allocations: 452.7 kB / 0.7874 GB, free: 9.34 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.2728, allocations: 8.031 kB / 0.7874 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.458e-05/0.2729, allocations: 20.75 kB / 0.7874 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005437/0.2734, allocations: 252.2 kB / 0.7877 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.838e-05/0.2734, allocations: 4.375 kB / 0.7877 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.412e-05/0.2735, allocations: 20.36 kB / 0.7877 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002288/0.2737, allocations: 82.22 kB / 0.7878 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.2737, allocations: 3.938 kB / 0.7878 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.13e-05/0.2738, allocations: 7.984 kB / 0.7878 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.426e-06/0.2738, allocations: 7.938 kB / 0.7878 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001733/0.274, allocations: 47.95 kB / 0.7878 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007601/0.2747, allocations: 388.4 kB / 0.7882 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.2749, allocations: 46.44 kB / 0.7882 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.979e-05/0.275, allocations: 20.84 kB / 0.7883 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.957e-05/0.275, allocations: 8.109 kB / 0.7883 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002917/0.2753, allocations: 87.36 kB / 0.7883 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 3.246e-06/0.2753, allocations: 3.938 kB / 0.7884 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004662/0.2758, allocations: 141.5 kB / 0.7885 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.241e-05/0.2759, allocations: 63.28 kB / 0.7885 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.276, allocations: 144.1 kB / 0.7887 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.276, allocations: 33.7 kB / 0.7887 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.738e-05/0.2761, allocations: 108.1 kB / 0.7888 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.2761, allocations: 23.62 kB / 0.7888 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.932e-05/0.2762, allocations: 57.69 kB / 0.7889 GB, free: 7.633 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001137/0.2764, allocations: 322.8 kB / 0.7892 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001561/0.2765, allocations: 51.95 kB / 0.7893 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002009/0.2767, allocations: 127.1 kB / 0.7894 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003205/0.2771, allocations: 196.6 kB / 0.7896 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.2771, allocations: 8 kB / 0.7896 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004663/0.2775, allocations: 238.9 kB / 0.7898 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.188e-05/0.2776, allocations: 37.69 kB / 0.7898 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.428e-06/0.2776, allocations: 4.375 kB / 0.7898 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.664e-05/0.2776, allocations: 11.94 kB / 0.7899 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001121/0.2778, allocations: 27.98 kB / 0.7899 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.152e-05/0.2778, allocations: 11.88 kB / 0.7899 GB, free: 6.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002168/0.278, allocations: 35.89 kB / 0.7899 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.512e-05/0.278, allocations: 12 kB / 0.7899 GB, free: 6.457 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.0001147/0.2782, allocations: 130.4 kB / 0.7901 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.03e-05/0.2782, allocations: 19.8 kB / 0.7901 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.86e-05/0.2782, allocations: 8.719 kB / 0.7901 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.2782, allocations: 4.375 kB / 0.7901 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.083e-06/0.2782, allocations: 3.938 kB / 0.7901 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.968e-06/0.2783, allocations: 0 / 0.7901 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005501/0.2788, allocations: 402.3 kB / 0.7905 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.2788, allocations: 0 / 0.7905 GB, free: 5.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.279, allocations: 19.98 kB / 0.7905 GB, free: 5.812 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.279, allocations: 3.938 kB / 0.7905 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.279, allocations: 4 kB / 0.7905 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.279, allocations: 0 / 0.7905 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.279, allocations: 0 / 0.7905 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004886/0.2795, allocations: 243.2 kB / 0.7907 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.371e-05/0.2796, allocations: 93.09 kB / 0.7908 GB, free: 5.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.247e-05/0.2796, allocations: 3.984 kB / 0.7908 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.125e-05/0.2797, allocations: 15.97 kB / 0.7908 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.201e-05/0.2798, allocations: 4 kB / 0.7908 GB, free: 5.418 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.2798, allocations: 7.984 kB / 0.7909 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.013e-05/0.2798, allocations: 103.3 kB / 0.791 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2799, allocations: 0 / 0.791 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002871/0.2801, allocations: 28 kB / 0.791 GB, free: 5.281 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.0001837/0.2803, allocations: 119.2 kB / 0.7911 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003924/0.2807, allocations: 175.2 kB / 0.7913 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2807, allocations: 0 / 0.7913 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.2809, allocations: 40.66 kB / 0.7913 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.2812, allocations: 34.95 kB / 0.7913 GB, free: 4.902 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005321/0.2817, allocations: 271.8 kB / 0.7916 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.282, allocations: 0.7006 MB / 0.7923 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.451e-05/0.2821, allocations: 16.64 kB / 0.7923 GB, free: 3.867 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.615e-05/0.2821, allocations: 15.44 kB / 0.7923 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of SimCode: time 2.61e-07/0.2821, allocations: 0 / 0.7923 GB, free: 3.855 MB / 0.6075 GB Notification: Performance of Templates: time 0.004648/0.2867, allocations: 1.654 MB / 0.7939 GB, free: 2.227 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)