Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.846/2.846, allocations: 287.5 MB / 302.4 MB, free: 8.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001554/0.001554, allocations: 178.4 kB / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.452/2.452, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009721/0.000972, allocations: 104.5 kB / 0.743 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007572/0.0007575, allocations: 13.36 kB / 0.8658 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2545/0.2553, allocations: 115.3 MB / 0.9784 GB, free: 28.36 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.0009949/0.2563, allocations: 449.6 kB / 0.9788 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001663/0.258, allocations: 1.111 MB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.397e-05/0.2581, allocations: 0 / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.016e-05/0.2582, allocations: 3.938 kB / 0.9799 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.878e-05/0.2583, allocations: 11.92 kB / 0.9799 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006304/0.2589, allocations: 107.7 kB / 0.98 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.2591, allocations: 95.75 kB / 0.9801 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.2592, allocations: 15.98 kB / 0.9801 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.681e-05/0.2593, allocations: 27.92 kB / 0.9801 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 9.774e-05/0.2594, allocations: 35.83 kB / 0.9802 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.187e-05/0.2595, allocations: 8 kB / 0.9802 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.191e-05/0.2596, allocations: 19.97 kB / 0.9802 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.833e-05/0.2596, allocations: 12 kB / 0.9802 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.899e-05/0.2596, allocations: 33.64 kB / 0.9803 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.2598, allocations: 99.98 kB / 0.9803 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.2598, allocations: 0 / 0.9803 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.016e-06/0.2599, allocations: 0 / 0.9803 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2599, allocations: 0 / 0.9803 GB, free: 26.33 MB / 0.6198 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.0004671/0.2603, allocations: 380.9 kB / 0.9807 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.079e-05/0.2604, allocations: 8.031 kB / 0.9807 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.336e-05/0.2605, allocations: 4 kB / 0.9807 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.2606, allocations: 186.9 kB / 0.9809 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.778e-05/0.2606, allocations: 4 kB / 0.9809 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.597e-05/0.2607, allocations: 11.98 kB / 0.9809 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001176/0.2608, allocations: 41.62 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.037e-05/0.2608, allocations: 0 / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.2609, allocations: 4 kB / 0.981 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.2609, allocations: 7.922 kB / 0.981 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.469e-05/0.2609, allocations: 8 kB / 0.981 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004776/0.2614, allocations: 336.8 kB / 0.9813 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.029e-05/0.2615, allocations: 30.56 kB / 0.9813 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.67e-05/0.2616, allocations: 28.86 kB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.375e-05/0.2616, allocations: 3.938 kB / 0.9814 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000175/0.2618, allocations: 63.39 kB / 0.9814 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.964e-06/0.2618, allocations: 0 / 0.9814 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0002524/0.2621, allocations: 77.59 kB / 0.9815 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.2621, allocations: 55.34 kB / 0.9815 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001141/0.2622, allocations: 129.8 kB / 0.9817 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.892e-05/0.2623, allocations: 29.7 kB / 0.9817 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.196e-05/0.2623, allocations: 88.14 kB / 0.9818 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.856e-05/0.2624, allocations: 11.89 kB / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.728e-05/0.2624, allocations: 0 / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.234e-05/0.2625, allocations: 318.8 kB / 0.9821 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001476/0.2626, allocations: 35.98 kB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.2628, allocations: 58.55 kB / 0.9822 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001308/0.2629, allocations: 61.7 kB / 0.9822 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.2629, allocations: 0 / 0.9822 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003842/0.2633, allocations: 163.2 kB / 0.9824 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.469e-05/0.2634, allocations: 37.7 kB / 0.9824 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.074e-06/0.2634, allocations: 0 / 0.9824 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.848e-05/0.2634, allocations: 8.062 kB / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.203e-05/0.2635, allocations: 0 / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.989e-06/0.2635, allocations: 3.938 kB / 0.9824 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003807/0.2639, allocations: 47.91 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.86e-05/0.264, allocations: 4 kB / 0.9825 GB, free: 23.88 MB / 0.6198 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,$PRE.pulse.booPul.y,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.2641, allocations: 121.8 kB / 0.9826 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.955e-05/0.2641, allocations: 3.906 kB / 0.9826 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.559e-05/0.2641, allocations: 11.89 kB / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.2642, allocations: 0 / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.2642, allocations: 0 / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.2642, allocations: 3.938 kB / 0.9826 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001298/0.2643, allocations: 177.6 kB / 0.9828 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.2643, allocations: 4 kB / 0.9828 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.284e-05/0.2644, allocations: 0 / 0.9828 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.2644, allocations: 7.984 kB / 0.9828 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-06/0.2644, allocations: 0 / 0.9828 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.2644, allocations: 4 kB / 0.9828 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.2644, allocations: 0 / 0.9828 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001592/0.2646, allocations: 92.92 kB / 0.9829 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.2646, allocations: 85.05 kB / 0.983 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.053e-05/0.2647, allocations: 7.922 kB / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.031e-05/0.2647, allocations: 64 / 0.983 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.751e-05/0.2648, allocations: 8.281 kB / 0.983 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-06/0.2648, allocations: 4 kB / 0.983 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.42e-05/0.2648, allocations: 99.27 kB / 0.9831 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2649, allocations: 0 / 0.9831 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002809/0.2651, allocations: 16 kB / 0.9831 GB, free: 23.14 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001576/0.2653, allocations: 105.9 kB / 0.9832 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000311/0.2656, allocations: 139.3 kB / 0.9833 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.2657, allocations: 128 / 0.9833 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.997e-05/0.2657, allocations: 16 kB / 0.9834 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003359/0.2661, allocations: 22.17 kB / 0.9834 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.2664, allocations: 158.7 kB / 0.9835 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001567/0.2666, allocations: 0.6926 MB / 0.9842 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.247e-05/0.2667, allocations: 192 / 0.9842 GB, free: 21.95 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.2667, allocations: 11.44 kB / 0.9842 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of SimCode: time 8.12e-07/0.2667, allocations: 0 / 0.9842 GB, free: 21.94 MB / 0.6198 GB Notification: Performance of Templates: time 0.00478/0.2715, allocations: 1.233 MB / 0.9854 GB, free: 20.72 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)