Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.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.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001509/0.001509, allocations: 195.9 kB / 16.14 MB, free: 6.703 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.622/1.622, allocations: 205.1 MB / 222 MB, free: 4.762 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.706/1.706, allocations: 292.2 MB / 0.5484 GB, free: 13.66 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.001312/0.001312, allocations: 75.25 kB / 0.6708 GB, free: 26.47 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2738, allocations: 114.5 MB / 0.7827 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.00209/0.2759, allocations: 0.7894 MB / 0.7835 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.2772, allocations: 1.15 MB / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.873e-05/0.2773, allocations: 0 / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.696e-05/0.2773, allocations: 0 / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.529e-05/0.2774, allocations: 7.875 kB / 0.7846 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003721/0.2778, allocations: 116.7 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.2779, allocations: 115.7 kB / 0.7848 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.46e-05/0.278, allocations: 8 kB / 0.7848 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.502e-05/0.2781, allocations: 35.91 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.368e-05/0.2782, allocations: 31.91 kB / 0.7849 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.191e-05/0.2782, allocations: 7.938 kB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.319e-05/0.2783, allocations: 23.97 kB / 0.7849 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.884e-05/0.2783, allocations: 7.922 kB / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.56e-05/0.2784, allocations: 31.86 kB / 0.785 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.2785, allocations: 135.8 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.2785, allocations: 0 / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.92e-07/0.2785, allocations: 4 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2785, allocations: 0 / 0.7851 GB, free: 11.51 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005196/0.2791, allocations: 397 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.2791, allocations: 8.031 kB / 0.7855 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.2792, allocations: 12.84 kB / 0.7855 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000132/0.2793, allocations: 168.3 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.2793, allocations: 4.375 kB / 0.7857 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.2794, allocations: 8.375 kB / 0.7857 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.209e-05/0.2794, allocations: 42.25 kB / 0.7857 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.2795, allocations: 8.172 kB / 0.7857 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.2795, allocations: 3.938 kB / 0.7857 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2795, allocations: 0 / 0.7857 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.265e-05/0.2795, allocations: 15.94 kB / 0.7857 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004302/0.28, allocations: 336.7 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.385e-05/0.2801, allocations: 34.52 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.644e-05/0.2801, allocations: 20.91 kB / 0.7861 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.938e-06/0.2801, allocations: 0 / 0.7861 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.2803, allocations: 71.33 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.2803, allocations: 0 / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0002002/0.2805, allocations: 73.59 kB / 0.7862 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.277e-05/0.2805, allocations: 55.41 kB / 0.7863 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/0.2806, allocations: 125.8 kB / 0.7864 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.2807, allocations: 33.7 kB / 0.7865 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.409e-05/0.2807, allocations: 88.14 kB / 0.7865 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.378e-05/0.2807, allocations: 7.906 kB / 0.7865 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.94e-05/0.2808, allocations: 33.69 kB / 0.7866 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.2809, allocations: 318.8 kB / 0.7869 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.967e-05/0.281, allocations: 35.92 kB / 0.7869 GB, free: 9.422 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.661e-05/0.2811, allocations: 58.55 kB / 0.787 GB, free: 9.355 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.2812, allocations: 92.22 kB / 0.7871 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2812, allocations: 3.984 kB / 0.7871 GB, free: 9.246 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000349/0.2816, allocations: 163.2 kB / 0.7872 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.501e-05/0.2816, allocations: 37.7 kB / 0.7873 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2816, allocations: 0 / 0.7873 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/0.2817, allocations: 3.938 kB / 0.7873 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.538e-05/0.2817, allocations: 4 kB / 0.7873 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2817, allocations: 8 kB / 0.7873 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.2819, allocations: 27.95 kB / 0.7873 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.405e-05/0.282, allocations: 8 kB / 0.7873 GB, free: 8.98 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * 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 7.806e-05/0.282, allocations: 117.8 kB / 0.7874 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.76e-05/0.2821, allocations: 7.906 kB / 0.7874 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.633e-05/0.2821, allocations: 11.89 kB / 0.7874 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.2822, allocations: 0 / 0.7874 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.2822, allocations: 4 kB / 0.7874 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.2822, allocations: 0 / 0.7874 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001102/0.2823, allocations: 173.6 kB / 0.7876 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2823, allocations: 0 / 0.7876 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.554e-05/0.2823, allocations: 3.984 kB / 0.7876 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.2823, allocations: 4 kB / 0.7876 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.2823, allocations: 0 / 0.7876 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.2823, allocations: 0 / 0.7876 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.2823, allocations: 64 / 0.7876 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001099/0.2825, allocations: 104.9 kB / 0.7877 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.656e-05/0.2825, allocations: 85.03 kB / 0.7878 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.2825, allocations: 4 kB / 0.7878 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.921e-05/0.2825, allocations: 0 / 0.7878 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.423e-05/0.2826, allocations: 7.938 kB / 0.7878 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.238e-06/0.2826, allocations: 0 / 0.7878 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.202e-05/0.2826, allocations: 99.27 kB / 0.7879 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2827, allocations: 0 / 0.7879 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002315/0.2829, allocations: 16 kB / 0.7879 GB, free: 8.25 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * 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.0001455/0.283, allocations: 115.2 kB / 0.788 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002035/0.2832, allocations: 135.6 kB / 0.7882 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2833, allocations: 0 / 0.7882 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.376e-05/0.2833, allocations: 16.09 kB / 0.7882 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002299/0.2835, allocations: 24.03 kB / 0.7882 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002739/0.2838, allocations: 163.8 kB / 0.7883 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.284, allocations: 0.6809 MB / 0.789 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.409e-05/0.2841, allocations: 11.92 kB / 0.789 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.476e-05/0.2841, allocations: 7.438 kB / 0.789 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of SimCode: time 1.9e-07/0.2841, allocations: 0 / 0.789 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of Templates: time 0.003326/0.2874, allocations: 1.287 MB / 0.7903 GB, free: 5.773 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)