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.001305/0.001305, allocations: 107.4 kB / 16.29 MB, free: 6.43 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.001528/0.001527, allocations: 184 kB / 17.22 MB, free: 5.934 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.715/1.715, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.898/1.898, allocations: 292.3 MB / 0.5495 GB, free: 17.7 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.00149/0.001491, allocations: 71.89 kB / 0.6722 GB, free: 6.477 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3039/0.3054, allocations: 114.5 MB / 0.7841 GB, free: 3.812 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.002675/0.3081, allocations: 0.7378 MB / 0.7848 GB, free: 3.074 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001677/0.3098, allocations: 1.125 MB / 0.7859 GB, free: 1.934 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.655e-05/0.3099, allocations: 4 kB / 0.7859 GB, free: 1.93 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.964e-05/0.3099, allocations: 3.938 kB / 0.7859 GB, free: 1.926 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001101/0.3101, allocations: 19.84 kB / 0.7859 GB, free: 1.906 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005644/0.3106, allocations: 131.1 kB / 0.7861 GB, free: 1.781 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0002145/0.3109, allocations: 131.8 kB / 0.7862 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.311, allocations: 19.97 kB / 0.7862 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.737e-05/0.3111, allocations: 43.91 kB / 0.7863 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.3113, allocations: 39.83 kB / 0.7863 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 3.905e-05/0.3113, allocations: 16 kB / 0.7863 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001081/0.3114, allocations: 23.98 kB / 0.7863 GB, free: 1.512 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.317e-05/0.3115, allocations: 19.92 kB / 0.7863 GB, free: 1.492 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.332e-05/0.3116, allocations: 43.84 kB / 0.7864 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002376/0.3118, allocations: 131.9 kB / 0.7865 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3118, allocations: 0 / 0.7865 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.965e-06/0.3118, allocations: 0 / 0.7865 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.504e-06/0.3118, allocations: 0 / 0.7865 GB, free: 1.32 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.000633/0.3125, allocations: 397 kB / 0.7869 GB, free: 0.875 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.3125, allocations: 8.031 kB / 0.7869 GB, free: 0.8672 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.742e-05/0.3126, allocations: 4.938 kB / 0.7869 GB, free: 0.8633 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.3128, allocations: 180.3 kB / 0.7871 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.998e-05/0.3128, allocations: 384 / 0.7871 GB, free: 0.6484 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.973e-05/0.3129, allocations: 8.375 kB / 0.7871 GB, free: 0.6406 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001151/0.313, allocations: 50.19 kB / 0.7871 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.516e-06/0.313, allocations: 192 / 0.7871 GB, free: 0.5859 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.313, allocations: 3.938 kB / 0.7871 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.313, allocations: 0 / 0.7871 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.448e-05/0.3131, allocations: 12 kB / 0.7871 GB, free: 0.5703 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.3136, allocations: 332.7 kB / 0.7875 GB, free: 200 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.64e-05/0.3136, allocations: 42.44 kB / 0.7875 GB, free: 148 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.629e-05/0.3137, allocations: 12.92 kB / 0.7875 GB, free: 132 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.3137, allocations: 3.938 kB / 0.7875 GB, free: 128 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001427/0.3139, allocations: 59.39 kB / 0.7876 GB, free: 56 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.3139, allocations: 0 / 0.7876 GB, free: 56 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.5792/0.8931, allocations: 72.05 kB / 0.7876 GB, free: 48.91 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/0.8932, allocations: 53.78 kB / 0.7877 GB, free: 48.85 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.8933, allocations: 129.9 kB / 0.7878 GB, free: 48.75 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.282e-05/0.8934, allocations: 31.73 kB / 0.7879 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.171e-05/0.8934, allocations: 94.5 kB / 0.7879 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.859e-05/0.8935, allocations: 9.906 kB / 0.788 GB, free: 48.64 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.95e-05/0.8935, allocations: 31.06 kB / 0.788 GB, free: 48.62 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 5.605e-05/0.8936, allocations: 316.9 kB / 0.7883 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.822e-05/0.8937, allocations: 38.56 kB / 0.7883 GB, free: 48.31 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.186e-05/0.8938, allocations: 57.5 kB / 0.7884 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001137/0.8939, allocations: 94.88 kB / 0.7885 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.8939, allocations: 2.875 kB / 0.7885 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002693/0.8942, allocations: 162.3 kB / 0.7886 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/0.8943, allocations: 41.19 kB / 0.7887 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/0.8943, allocations: 0 / 0.7887 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.8943, allocations: 2.719 kB / 0.7887 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.09e-05/0.8944, allocations: 6.688 kB / 0.7887 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.8944, allocations: 2.812 kB / 0.7887 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001982/0.8946, allocations: 24.27 kB / 0.7887 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.122e-05/0.8946, allocations: 7.859 kB / 0.7887 GB, free: 48.14 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.895e-05/0.8947, allocations: 121.3 kB / 0.7888 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.8947, allocations: 4.906 kB / 0.7888 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.8948, allocations: 10.81 kB / 0.7888 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.8948, allocations: 4.281 kB / 0.7888 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.8948, allocations: 0 / 0.7888 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.8948, allocations: 4.547 kB / 0.7888 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001087/0.8949, allocations: 176.6 kB / 0.789 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.8949, allocations: 0 / 0.789 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.543e-05/0.8949, allocations: 3.75 kB / 0.789 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.8949, allocations: 0 / 0.789 GB, free: 47.83 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.895, allocations: 6.625 kB / 0.789 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.895, allocations: 0 / 0.789 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.895, allocations: 0 / 0.789 GB, free: 47.82 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.8951, allocations: 91.16 kB / 0.7891 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.923e-05/0.8951, allocations: 83.41 kB / 0.7892 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.8951, allocations: 11.48 kB / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.741e-05/0.8952, allocations: 0 / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.529e-05/0.8952, allocations: 7.391 kB / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.8952, allocations: 1.719 kB / 0.7892 GB, free: 47.66 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.404e-05/0.8953, allocations: 97.05 kB / 0.7893 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8953, allocations: 2.375 kB / 0.7893 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002137/0.8955, allocations: 22.72 kB / 0.7893 GB, free: 47.59 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.0001722/0.8957, allocations: 109.5 kB / 0.7894 GB, free: 47.5 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002366/0.8959, allocations: 139.8 kB / 0.7896 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.8959, allocations: 0 / 0.7896 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.126e-05/0.896, allocations: 12.84 kB / 0.7896 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002677/0.8962, allocations: 26.23 kB / 0.7896 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003623/0.8966, allocations: 138 kB / 0.7897 GB, free: 47.33 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001794/0.8968, allocations: 0.6859 MB / 0.7904 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.782e-05/0.8968, allocations: 6.75 kB / 0.7904 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.095e-05/0.8969, allocations: 12.69 kB / 0.7904 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.8969, allocations: 1.719 kB / 0.7904 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of Templates: time 0.00412/0.901, allocations: 1.333 MB / 0.7917 GB, free: 46.6 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)