Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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.Logical.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001268/0.001268, allocations: 195.1 kB / 16.14 MB, free: 6.711 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.767/1.767, allocations: 205.1 MB / 222 MB, free: 4.766 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.68/1.68, allocations: 251.6 MB / 0.5088 GB, free: 3.316 MB / 414.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.001368/0.001368, allocations: 63.91 kB / 0.6216 GB, free: 1.945 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8184/0.8198, allocations: 104.7 MB / 0.7238 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.003274/0.8231, allocations: 1.346 MB / 0.7251 GB, free: 11.79 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004107/0.8235, allocations: 184.3 kB / 0.7253 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.011e-05/0.8236, allocations: 0 / 0.7253 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.115e-05/0.8236, allocations: 0 / 0.7253 GB, free: 11.6 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.092e-05/0.8237, allocations: 11.91 kB / 0.7253 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001277/0.8239, allocations: 12 kB / 0.7253 GB, free: 11.58 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.465e-05/0.8239, allocations: 19.92 kB / 0.7254 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.557e-05/0.824, allocations: 4 kB / 0.7254 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.521e-05/0.8241, allocations: 7.938 kB / 0.7254 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.608e-05/0.8241, allocations: 7.984 kB / 0.7254 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.8241, allocations: 4 kB / 0.7254 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.8242, allocations: 0 / 0.7254 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.941e-05/0.8242, allocations: 3.938 kB / 0.7254 GB, free: 11.53 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.733e-05/0.8242, allocations: 8 kB / 0.7254 GB, free: 11.52 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.047e-05/0.8243, allocations: 19.89 kB / 0.7254 GB, free: 11.5 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/0.8243, allocations: 4 kB / 0.7254 GB, free: 11.5 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.542e-06/0.8244, allocations: 0 / 0.7254 GB, free: 11.5 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.8244, allocations: 0 / 0.7254 GB, free: 11.5 MB / 0.545 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.0005122/0.8249, allocations: 345.4 kB / 0.7258 GB, free: 11.11 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.847e-05/0.8249, allocations: 8.031 kB / 0.7258 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.825, allocations: 0.9375 kB / 0.7258 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.8251, allocations: 176.2 kB / 0.7259 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.8252, allocations: 4.359 kB / 0.7259 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.8252, allocations: 384 / 0.7259 GB, free: 10.89 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.892e-05/0.8253, allocations: 34.27 kB / 0.726 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.734e-06/0.8253, allocations: 4.188 kB / 0.726 GB, free: 10.85 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.624e-05/0.8253, allocations: 3.938 kB / 0.726 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.67e-06/0.8253, allocations: 0 / 0.726 GB, free: 10.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.423e-05/0.8254, allocations: 11.98 kB / 0.726 GB, free: 10.83 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002093/0.8256, allocations: 153.7 kB / 0.7261 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 7.44e-05/0.8257, allocations: 26.52 kB / 0.7262 GB, free: 10.6 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.47e-05/0.8257, allocations: 12.92 kB / 0.7262 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.998e-06/0.8257, allocations: 0 / 0.7262 GB, free: 10.58 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001656/0.8259, allocations: 55.39 kB / 0.7262 GB, free: 10.52 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.8259, allocations: 3.938 kB / 0.7262 GB, free: 10.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0002333/0.8261, allocations: 65.55 kB / 0.7263 GB, free: 10.44 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.992e-05/0.8262, allocations: 55.41 kB / 0.7263 GB, free: 10.38 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.113e-05/0.8263, allocations: 97.86 kB / 0.7264 GB, free: 10.27 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.8263, allocations: 29.7 kB / 0.7265 GB, free: 10.23 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.29e-05/0.8264, allocations: 84.12 kB / 0.7265 GB, free: 10.15 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.942e-05/0.8264, allocations: 11.91 kB / 0.7266 GB, free: 10.14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.8264, allocations: 13.72 kB / 0.7266 GB, free: 10.12 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.8266, allocations: 318.8 kB / 0.7269 GB, free: 9.797 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.421e-05/0.8266, allocations: 7.984 kB / 0.7269 GB, free: 9.789 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.784e-05/0.8266, allocations: 17.72 kB / 0.7269 GB, free: 9.766 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.025e-05/0.8267, allocations: 29.66 kB / 0.7269 GB, free: 9.73 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.8267, allocations: 0 / 0.7269 GB, free: 9.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.63e-05/0.8268, allocations: 49.69 kB / 0.727 GB, free: 9.676 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.8268, allocations: 7.938 kB / 0.727 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/0.8268, allocations: 0 / 0.727 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.8268, allocations: 0 / 0.727 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.277e-05/0.8269, allocations: 7.938 kB / 0.727 GB, free: 9.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.8269, allocations: 3.984 kB / 0.727 GB, free: 9.656 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.058e-05/0.827, allocations: 16.02 kB / 0.727 GB, free: 9.641 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.827, allocations: 0 / 0.727 GB, free: 9.641 MB / 0.545 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.pulseStart,$PRE.booPul.pulseStart,booPul.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.702e-05/0.8271, allocations: 109.8 kB / 0.7271 GB, free: 9.523 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.209e-05/0.8271, allocations: 7.844 kB / 0.7271 GB, free: 9.516 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.191e-05/0.8271, allocations: 11.5 kB / 0.7271 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.8271, allocations: 0 / 0.7271 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.8271, allocations: 0 / 0.7271 GB, free: 9.5 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.8272, allocations: 3.984 kB / 0.7271 GB, free: 9.496 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.8273, allocations: 153.7 kB / 0.7273 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.8273, allocations: 0 / 0.7273 GB, free: 9.297 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.025e-06/0.8273, allocations: 8 kB / 0.7273 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.8273, allocations: 7.938 kB / 0.7273 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.8273, allocations: 0 / 0.7273 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.8273, allocations: 0 / 0.7273 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.8274, allocations: 0 / 0.7273 GB, free: 9.281 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.346e-05/0.8275, allocations: 73.06 kB / 0.7274 GB, free: 9.191 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.981e-05/0.8275, allocations: 81.66 kB / 0.7274 GB, free: 9.094 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/0.8275, allocations: 7.938 kB / 0.7274 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.511e-05/0.8276, allocations: 8 kB / 0.7275 GB, free: 9.078 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.224e-05/0.8276, allocations: 7.922 kB / 0.7275 GB, free: 9.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.8276, allocations: 4 kB / 0.7275 GB, free: 9.066 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.85e-05/0.8277, allocations: 83.27 kB / 0.7275 GB, free: 8.984 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8277, allocations: 0 / 0.7275 GB, free: 8.984 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001934/0.8279, allocations: 8 kB / 0.7276 GB, free: 8.977 MB / 0.545 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 (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.0001423/0.828, allocations: 99.23 kB / 0.7276 GB, free: 8.867 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.8281, allocations: 27.88 kB / 0.7277 GB, free: 8.84 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.8282, allocations: 0 / 0.7277 GB, free: 8.84 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.594e-05/0.8282, allocations: 11.98 kB / 0.7277 GB, free: 8.828 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.8284, allocations: 11.94 kB / 0.7277 GB, free: 8.816 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000355/0.8288, allocations: 111.8 kB / 0.7278 GB, free: 8.684 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.8292, allocations: 0.677 MB / 0.7285 GB, free: 7.98 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.573e-05/0.8292, allocations: 8.062 kB / 0.7285 GB, free: 7.973 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.578e-05/0.8293, allocations: 7.438 kB / 0.7285 GB, free: 7.965 MB / 0.545 GB Notification: Performance of SimCode: time 2.31e-07/0.8293, allocations: 0 / 0.7285 GB, free: 7.965 MB / 0.545 GB Notification: Performance of Templates: time 0.002588/0.8319, allocations: 462.6 kB / 0.7289 GB, free: 7.52 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)