Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.482/2.482, allocations: 251.3 MB / 266.2 MB, free: 11.53 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001383/0.001383, allocations: 182.9 kB / 325.8 MB, free: 2.809 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.686/2.686, allocations: 205.4 MB / 0.5767 GB, free: 20.73 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008873/0.0008869, allocations: 88.84 kB / 0.6812 GB, free: 13.57 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004728/0.0004731, allocations: 15.62 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2876, allocations: 106.3 MB / 0.8991 GB, free: 65.4 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.003677/0.2914, allocations: 1.002 MB / 0.9 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0009429/0.2924, allocations: 177.5 kB / 0.9002 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.111e-05/0.2926, allocations: 0 / 0.9002 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.426e-05/0.2926, allocations: 0 / 0.9002 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001303/0.2928, allocations: 7.922 kB / 0.9002 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002229/0.293, allocations: 11.98 kB / 0.9002 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001293/0.2932, allocations: 23.92 kB / 0.9003 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.933e-05/0.2933, allocations: 4 kB / 0.9003 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.617e-05/0.2934, allocations: 7.938 kB / 0.9003 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 8.809e-05/0.2935, allocations: 7.984 kB / 0.9003 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.2936, allocations: 0 / 0.9003 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 2.67e-05/0.2937, allocations: 4 kB / 0.9003 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.601e-05/0.2937, allocations: 3.938 kB / 0.9003 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.237e-05/0.2938, allocations: 29.7 kB / 0.9003 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001127/0.2939, allocations: 11.97 kB / 0.9003 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.055e-06/0.294, allocations: 0 / 0.9003 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.256e-06/0.294, allocations: 4 kB / 0.9003 GB, free: 64.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.294, allocations: 4 kB / 0.9003 GB, free: 64.09 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0009166/0.295, allocations: 335.5 kB / 0.9006 GB, free: 63.71 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 7.896e-05/0.2951, allocations: 12.03 kB / 0.9007 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.912e-05/0.2952, allocations: 0.9375 kB / 0.9007 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.2954, allocations: 160.7 kB / 0.9008 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.049e-05/0.2955, allocations: 4.375 kB / 0.9008 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.276e-05/0.2955, allocations: 384 / 0.9008 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.2957, allocations: 38.25 kB / 0.9009 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.791e-05/0.2958, allocations: 4.125 kB / 0.9009 GB, free: 63.45 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.2958, allocations: 11.88 kB / 0.9009 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.193e-05/0.2959, allocations: 0 / 0.9009 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001128/0.296, allocations: 7.938 kB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003389/0.2964, allocations: 161.6 kB / 0.901 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001521/0.2966, allocations: 26.61 kB / 0.9011 GB, free: 63.19 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.712e-05/0.2967, allocations: 16.91 kB / 0.9011 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.2967, allocations: 0 / 0.9011 GB, free: 63.17 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000291/0.297, allocations: 67.23 kB / 0.9011 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=3): time 5.871e-06/0.2971, allocations: 0 / 0.9011 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.00042/0.2975, allocations: 57.62 kB / 0.9012 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.93e-05/0.2976, allocations: 55.39 kB / 0.9012 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001564/0.2978, allocations: 97.86 kB / 0.9013 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.2979, allocations: 33.7 kB / 0.9014 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.96e-05/0.298, allocations: 80.14 kB / 0.9014 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.194e-05/0.298, allocations: 7.906 kB / 0.9015 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.067e-05/0.2981, allocations: 0 / 0.9015 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.2982, allocations: 314.8 kB / 0.9018 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.495e-05/0.2983, allocations: 8 kB / 0.9018 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001127/0.2984, allocations: 21.66 kB / 0.9018 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.405e-05/0.2985, allocations: 15.98 kB / 0.9018 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.292e-06/0.2986, allocations: 0 / 0.9018 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0003186/0.2989, allocations: 41.7 kB / 0.9018 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.822e-05/0.299, allocations: 7.938 kB / 0.9018 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.299, allocations: 4 kB / 0.9019 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.234e-05/0.2991, allocations: 3.984 kB / 0.9019 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001239/0.2992, allocations: 3.938 kB / 0.9019 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.504e-05/0.2993, allocations: 4 kB / 0.9019 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.2996, allocations: 12 kB / 0.9019 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.68e-05/0.2996, allocations: 4.031 kB / 0.9019 GB, free: 62.27 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * 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.0001606/0.2998, allocations: 109.8 kB / 0.902 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.808e-05/0.2999, allocations: 7.922 kB / 0.902 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.346e-05/0.3, allocations: 7.5 kB / 0.902 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.3, allocations: 4 kB / 0.902 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.3, allocations: 0 / 0.902 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.3001, allocations: 0 / 0.902 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002841/0.3004, allocations: 153.7 kB / 0.9021 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.3004, allocations: 0 / 0.9021 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.392e-05/0.3005, allocations: 7.938 kB / 0.9022 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/0.3005, allocations: 11.86 kB / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.687e-05/0.3006, allocations: 4 kB / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.011e-06/0.3006, allocations: 0 / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.3006, allocations: 0 / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003164/0.301, allocations: 73.48 kB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.952e-05/0.3011, allocations: 81.11 kB / 0.9023 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.064e-05/0.3011, allocations: 7.984 kB / 0.9023 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000235/0.3014, allocations: 15.97 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.742e-05/0.3015, allocations: 4 kB / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.731e-05/0.3016, allocations: 0 / 0.9023 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.127e-05/0.3017, allocations: 83.27 kB / 0.9024 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.433e-06/0.3017, allocations: 0 / 0.9024 GB, free: 61.61 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001026/0.3028, allocations: 8 kB / 0.9024 GB, free: 61.61 MB / 0.6042 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,booPul.y,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * 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.0002138/0.303, allocations: 95.25 kB / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002676/0.3033, allocations: 27.92 kB / 0.9025 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.3033, allocations: 0 / 0.9025 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001033/0.3035, allocations: 8 kB / 0.9026 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007973/0.3043, allocations: 11.94 kB / 0.9026 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006013/0.3049, allocations: 114.7 kB / 0.9027 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002144/0.3052, allocations: 0.677 MB / 0.9033 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 6.655e-05/0.3053, allocations: 4.312 kB / 0.9033 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.572e-05/0.3054, allocations: 11.44 kB / 0.9034 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of SimCode: time 2.034e-06/0.3054, allocations: 0 / 0.9034 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of Templates: time 0.007324/0.3128, allocations: 445.1 kB / 0.9038 GB, free: 60.17 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)