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.001701/0.001701, allocations: 100.9 kB / 16.27 MB, free: 6.418 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.001529/0.001529, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.697/1.697, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.759/1.759, allocations: 292.3 MB / 0.5495 GB, free: 17.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.001675/0.001676, allocations: 63.91 kB / 0.6722 GB, free: 6.484 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2912/0.2929, allocations: 114.6 MB / 0.7841 GB, free: 3.809 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.003155/0.2962, allocations: 0.7287 MB / 0.7848 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.00262/0.2988, allocations: 1.137 MB / 0.7859 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.274e-05/0.2989, allocations: 0 / 0.7859 GB, free: 1.922 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.065e-05/0.299, allocations: 3.938 kB / 0.7859 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.2992, allocations: 15.88 kB / 0.7859 GB, free: 1.902 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008034/0.3, allocations: 123.5 kB / 0.786 GB, free: 1.785 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002642/0.3003, allocations: 131.8 kB / 0.7861 GB, free: 1.656 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.3004, allocations: 15.92 kB / 0.7862 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.3005, allocations: 47.91 kB / 0.7862 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001145/0.3007, allocations: 31.91 kB / 0.7862 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.61e-05/0.3007, allocations: 12 kB / 0.7862 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001146/0.3008, allocations: 27.98 kB / 0.7863 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.966e-05/0.3009, allocations: 11.91 kB / 0.7863 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001/0.301, allocations: 39.86 kB / 0.7863 GB, free: 1.473 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002919/0.3013, allocations: 139.8 kB / 0.7864 GB, free: 1.336 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.573e-06/0.3013, allocations: 4 kB / 0.7865 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3013, allocations: 0 / 0.7865 GB, free: 1.332 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.3014, allocations: 0 / 0.7865 GB, free: 1.332 MB / 0.6544 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.000744/0.3021, allocations: 393 kB / 0.7868 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.273e-05/0.3022, allocations: 12.02 kB / 0.7868 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.715e-05/0.3023, allocations: 8.938 kB / 0.7868 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.3025, allocations: 176.3 kB / 0.787 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.746e-05/0.3025, allocations: 4.375 kB / 0.787 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.816e-05/0.3026, allocations: 4.375 kB / 0.787 GB, free: 0.6523 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001432/0.3028, allocations: 50.19 kB / 0.7871 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.3028, allocations: 192 / 0.7871 GB, free: 0.5977 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.857e-05/0.3028, allocations: 3.938 kB / 0.7871 GB, free: 0.5938 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.3028, allocations: 3.938 kB / 0.7871 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.004e-05/0.3029, allocations: 19.98 kB / 0.7871 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006577/0.3036, allocations: 324.7 kB / 0.7874 GB, free: 208 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.3037, allocations: 38.52 kB / 0.7874 GB, free: 160 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.683e-05/0.3038, allocations: 8.922 kB / 0.7875 GB, free: 148 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.3038, allocations: 3.984 kB / 0.7875 GB, free: 144 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002603/0.3041, allocations: 75.31 kB / 0.7875 GB, free: 56 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 2.545e-06/0.3041, allocations: 0 / 0.7875 GB, free: 56 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.4621/0.7662, allocations: 64.25 kB / 0.7876 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.7663, allocations: 53.69 kB / 0.7876 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001567/0.7665, allocations: 129.9 kB / 0.7878 GB, free: 48.65 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.887e-05/0.7666, allocations: 27.48 kB / 0.7878 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.7666, allocations: 97.17 kB / 0.7879 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.83e-05/0.7667, allocations: 8 kB / 0.7879 GB, free: 48.54 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.241e-05/0.7667, allocations: 31.45 kB / 0.7879 GB, free: 48.52 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.008e-05/0.7668, allocations: 321 kB / 0.7882 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.419e-05/0.7669, allocations: 35.22 kB / 0.7883 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.165e-05/0.767, allocations: 57.52 kB / 0.7883 GB, free: 48.19 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000119/0.7671, allocations: 92.56 kB / 0.7884 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-06/0.7671, allocations: 4.312 kB / 0.7884 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002738/0.7674, allocations: 167.6 kB / 0.7886 GB, free: 48.07 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.528e-05/0.7674, allocations: 38.39 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.231e-06/0.7675, allocations: 2.375 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.169e-05/0.7675, allocations: 0 / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.736e-05/0.7676, allocations: 5.688 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.7676, allocations: 2.938 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002196/0.7678, allocations: 28.59 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.918e-05/0.7678, allocations: 5.625 kB / 0.7886 GB, free: 48.04 MB / 0.6544 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.844e-05/0.7679, allocations: 119.8 kB / 0.7888 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.553e-05/0.7679, allocations: 8.297 kB / 0.7888 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.239e-05/0.768, allocations: 11.59 kB / 0.7888 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.768, allocations: 5.797 kB / 0.7888 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.768, allocations: 0 / 0.7888 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.768, allocations: 0.6562 kB / 0.7888 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.7681, allocations: 173 kB / 0.789 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.7681, allocations: 0.5938 kB / 0.789 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.532e-05/0.7682, allocations: 4.922 kB / 0.789 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/0.7682, allocations: 2.5 kB / 0.789 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.578e-06/0.7682, allocations: 6.891 kB / 0.789 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.7682, allocations: 0 / 0.789 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7682, allocations: 3.844 kB / 0.789 GB, free: 47.73 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.7683, allocations: 86.5 kB / 0.7891 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.372e-05/0.7683, allocations: 86.73 kB / 0.7891 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.848e-05/0.7684, allocations: 10.22 kB / 0.7891 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.686e-05/0.7684, allocations: 0 / 0.7891 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.934e-05/0.7684, allocations: 2.625 kB / 0.7891 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.7685, allocations: 3.188 kB / 0.7892 GB, free: 47.57 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.782e-05/0.7685, allocations: 103.1 kB / 0.7893 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7685, allocations: 0.5 kB / 0.7893 GB, free: 47.49 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002149/0.7687, allocations: 21.44 kB / 0.7893 GB, free: 47.49 MB / 0.6544 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.0001622/0.7689, allocations: 104 kB / 0.7894 GB, free: 47.4 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002233/0.7691, allocations: 135.5 kB / 0.7895 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.7691, allocations: 2.562 kB / 0.7895 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.051e-05/0.7692, allocations: 17.5 kB / 0.7895 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002461/0.7694, allocations: 21.17 kB / 0.7895 GB, free: 47.34 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000321/0.7698, allocations: 169.9 kB / 0.7897 GB, free: 47.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001295/0.7699, allocations: 0.6871 MB / 0.7904 GB, free: 46.51 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.99e-05/0.7699, allocations: 11.16 kB / 0.7904 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of SimCode: time 2.11e-07/0.7699, allocations: 0 / 0.7904 GB, free: 46.5 MB / 0.6544 GB Notification: Performance of Templates: time 0.00268/0.7726, allocations: 1.153 MB / 0.7915 GB, free: 46.46 MB / 0.6544 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)