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 1.775/1.775, allocations: 287.5 MB / 302.6 MB, free: 8.285 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.001489/0.001488, allocations: 179 kB / 371.2 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.835/1.835, allocations: 205.4 MB / 0.6298 GB, free: 10.54 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.0008273/0.0008273, allocations: 99.27 kB / 0.7432 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005602/0.0005606, allocations: 12.83 kB / 0.8661 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2899, allocations: 115.3 MB / 0.9787 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.001133/0.2911, allocations: 449.6 kB / 0.9791 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001736/0.2929, allocations: 1.114 MB / 0.9802 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.603e-05/0.293, allocations: 0 / 0.9802 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.293, allocations: 0 / 0.9802 GB, free: 26.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001213/0.2931, allocations: 7.922 kB / 0.9802 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006758/0.2938, allocations: 115 kB / 0.9803 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001651/0.294, allocations: 99.75 kB / 0.9804 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.2941, allocations: 11.98 kB / 0.9805 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.2942, allocations: 35.91 kB / 0.9805 GB, free: 26.33 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.2944, allocations: 27.91 kB / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.939e-05/0.2944, allocations: 4 kB / 0.9805 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001128/0.2946, allocations: 19.98 kB / 0.9805 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.684e-05/0.2946, allocations: 7.938 kB / 0.9805 GB, free: 26.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.141e-05/0.2947, allocations: 33.7 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.2949, allocations: 95.97 kB / 0.9807 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.2949, allocations: 8 kB / 0.9807 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.767e-06/0.2949, allocations: 4 kB / 0.9807 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.094e-06/0.2949, allocations: 3.938 kB / 0.9807 GB, free: 26.12 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.0005724/0.2955, allocations: 373 kB / 0.981 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.544e-05/0.2956, allocations: 12.03 kB / 0.981 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.775e-05/0.2957, allocations: 4.938 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.2958, allocations: 172.3 kB / 0.9812 GB, free: 25.48 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.2959, allocations: 8.359 kB / 0.9812 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.2959, allocations: 4.375 kB / 0.9812 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.2961, allocations: 50.25 kB / 0.9813 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.2961, allocations: 4.172 kB / 0.9813 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.326e-05/0.2961, allocations: 3.938 kB / 0.9813 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.2961, allocations: 0 / 0.9813 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.337e-05/0.2962, allocations: 19.88 kB / 0.9813 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005845/0.2968, allocations: 336.7 kB / 0.9816 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.074e-05/0.2969, allocations: 34.5 kB / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.666e-05/0.297, allocations: 12.92 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.515e-05/0.297, allocations: 4 kB / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002149/0.2972, allocations: 67.23 kB / 0.9817 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 1.653e-06/0.2972, allocations: 0 / 0.9817 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0003282/0.2976, allocations: 69.69 kB / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.479e-05/0.2976, allocations: 55.39 kB / 0.9819 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000108/0.2977, allocations: 125.8 kB / 0.982 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.2978, allocations: 29.7 kB / 0.982 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.577e-05/0.2978, allocations: 96.03 kB / 0.9821 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.2979, allocations: 3.906 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/0.2979, allocations: 8 kB / 0.9821 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.524e-05/0.2979, allocations: 310.8 kB / 0.9824 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001167/0.2981, allocations: 39.98 kB / 0.9824 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.2982, allocations: 66.48 kB / 0.9825 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.2984, allocations: 92.2 kB / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.2984, allocations: 0 / 0.9826 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003371/0.2987, allocations: 159.2 kB / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.347e-05/0.2988, allocations: 39.42 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.2988, allocations: 0 / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.2988, allocations: 0 / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.004e-05/0.2989, allocations: 15.98 kB / 0.9828 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.566e-06/0.2989, allocations: 0 / 0.9828 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002941/0.2992, allocations: 35.97 kB / 0.9828 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.553e-05/0.2993, allocations: 4 kB / 0.9828 GB, free: 23.65 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.2994, allocations: 121.8 kB / 0.983 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.658e-05/0.2994, allocations: 7.984 kB / 0.983 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.432e-05/0.2994, allocations: 7.906 kB / 0.983 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2995, allocations: 4 kB / 0.983 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.524e-06/0.2995, allocations: 0 / 0.983 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.2995, allocations: 0 / 0.983 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001204/0.2996, allocations: 181.4 kB / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.2996, allocations: 64 / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.274e-05/0.2996, allocations: 8 kB / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.2997, allocations: 0 / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.226e-06/0.2997, allocations: 0 / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2997, allocations: 7.938 kB / 0.9832 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.2997, allocations: 4 kB / 0.9832 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001372/0.2998, allocations: 89 kB / 0.9833 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.2999, allocations: 89.22 kB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.2999, allocations: 4 kB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.608e-05/0.3, allocations: 0 / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.715e-05/0.3, allocations: 3.984 kB / 0.9833 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.905e-06/0.3, allocations: 8 kB / 0.9834 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.643e-05/0.3001, allocations: 99.64 kB / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3001, allocations: 4 kB / 0.9834 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003337/0.3004, allocations: 20 kB / 0.9835 GB, free: 22.91 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.0001916/0.3006, allocations: 103.2 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002755/0.3009, allocations: 131.3 kB / 0.9837 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.3009, allocations: 0 / 0.9837 GB, free: 22.66 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.796e-05/0.301, allocations: 20.09 kB / 0.9837 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.3013, allocations: 19.94 kB / 0.9837 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004286/0.3018, allocations: 151.5 kB / 0.9839 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001183/0.3019, allocations: 0.6965 MB / 0.9846 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.312e-05/0.302, allocations: 0 / 0.9846 GB, free: 21.72 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.413e-05/0.302, allocations: 11.44 kB / 0.9846 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of SimCode: time 1.543e-06/0.302, allocations: 0 / 0.9846 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of Templates: time 0.004632/0.3067, allocations: 1.249 MB / 0.9858 GB, free: 20.48 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)