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.009803/0.009804, allocations: 100.9 kB / 15.73 MB, free: 5.988 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.00124/0.00124, allocations: 192.5 kB / 16.67 MB, free: 5.91 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.772/1.772, allocations: 205.1 MB / 222.5 MB, free: 4.398 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.652/1.652, allocations: 251.7 MB / 0.5094 GB, free: 2.988 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.001477/0.001477, allocations: 77.77 kB / 0.7258 GB, free: 9.113 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2548, allocations: 104.7 MB / 0.8281 GB, free: 316 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.002514/0.2573, allocations: 1.293 MB / 0.8293 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004317/0.2578, allocations: 188.7 kB / 0.8295 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.56e-05/0.2578, allocations: 0 / 0.8295 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.463e-05/0.2578, allocations: 0 / 0.8295 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.462e-05/0.258, allocations: 3.938 kB / 0.8295 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001373/0.2581, allocations: 15.92 kB / 0.8295 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.788e-05/0.2582, allocations: 15.94 kB / 0.8295 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 7.718e-05/0.2583, allocations: 7.984 kB / 0.8295 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.288e-05/0.2583, allocations: 11.94 kB / 0.8295 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.345e-05/0.2584, allocations: 11.98 kB / 0.8296 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.694e-05/0.2584, allocations: 4 kB / 0.8296 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-06/0.2585, allocations: 0 / 0.8296 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.943e-05/0.2585, allocations: 3.984 kB / 0.8296 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 4.185e-05/0.2585, allocations: 11.94 kB / 0.8296 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.709e-05/0.2586, allocations: 23.91 kB / 0.8296 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2586, allocations: 0 / 0.8296 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2586, allocations: 0 / 0.8296 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.2586, allocations: 0 / 0.8296 GB, free: 14.71 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005084/0.2592, allocations: 343.4 kB / 0.8299 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.2592, allocations: 8.031 kB / 0.8299 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.136e-05/0.2592, allocations: 8.875 kB / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000144/0.2594, allocations: 168.2 kB / 0.8301 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.2594, allocations: 4.375 kB / 0.8301 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.2594, allocations: 384 / 0.8301 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.149e-05/0.2595, allocations: 34.25 kB / 0.8301 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.2595, allocations: 192 / 0.8301 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.2596, allocations: 7.938 kB / 0.8302 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.2596, allocations: 4 kB / 0.8302 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.694e-05/0.2596, allocations: 4 kB / 0.8302 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001837/0.2598, allocations: 157.7 kB / 0.8303 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.111e-05/0.2599, allocations: 30.55 kB / 0.8303 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.291e-05/0.2599, allocations: 8.922 kB / 0.8303 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.235e-06/0.2599, allocations: 0 / 0.8303 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001205/0.26, allocations: 55.41 kB / 0.8304 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.26, allocations: 0 / 0.8304 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0001934/0.2602, allocations: 65.69 kB / 0.8305 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.2603, allocations: 55.39 kB / 0.8305 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.911e-05/0.2604, allocations: 97.86 kB / 0.8306 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.2604, allocations: 29.7 kB / 0.8306 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.836e-05/0.2605, allocations: 80.14 kB / 0.8307 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-05/0.2605, allocations: 7.906 kB / 0.8307 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.022e-05/0.2605, allocations: 21.7 kB / 0.8307 GB, free: 13.33 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.489e-05/0.2606, allocations: 314.8 kB / 0.831 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.983e-05/0.2607, allocations: 4 kB / 0.831 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.213e-05/0.2607, allocations: 25.7 kB / 0.8311 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.125e-05/0.2607, allocations: 21.66 kB / 0.8311 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.926e-06/0.2607, allocations: 4 kB / 0.8311 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.257e-05/0.2608, allocations: 45.72 kB / 0.8311 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/0.2608, allocations: 15.88 kB / 0.8312 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.2609, allocations: 4 kB / 0.8312 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.2609, allocations: 0 / 0.8312 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.8e-05/0.2609, allocations: 7.938 kB / 0.8312 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2609, allocations: 4 kB / 0.8312 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.535e-05/0.261, allocations: 11.92 kB / 0.8312 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.261, allocations: 4 kB / 0.8312 GB, free: 12.85 MB / 0.6544 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 8.226e-05/0.2611, allocations: 105.8 kB / 0.8313 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.405e-05/0.2611, allocations: 15.84 kB / 0.8313 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.915e-05/0.2612, allocations: 7.5 kB / 0.8313 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.2612, allocations: 3.938 kB / 0.8313 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2612, allocations: 0 / 0.8313 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.2612, allocations: 0 / 0.8313 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001238/0.2613, allocations: 165.6 kB / 0.8315 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2613, allocations: 0 / 0.8315 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.29e-06/0.2613, allocations: 0 / 0.8315 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.775e-06/0.2613, allocations: 3.938 kB / 0.8315 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.2613, allocations: 0 / 0.8315 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2614, allocations: 0 / 0.8315 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.2614, allocations: 4 kB / 0.8315 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.623e-05/0.2615, allocations: 77.06 kB / 0.8315 GB, free: 12.39 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.634e-05/0.2615, allocations: 77.11 kB / 0.8316 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.2615, allocations: 7.922 kB / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.56e-05/0.2616, allocations: 4 kB / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.2616, allocations: 7.984 kB / 0.8316 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.2616, allocations: 432 / 0.8316 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.696e-05/0.2617, allocations: 91.27 kB / 0.8317 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2617, allocations: 0 / 0.8317 GB, free: 12.19 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001732/0.2619, allocations: 4 kB / 0.8317 GB, free: 12.18 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,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.0001219/0.262, allocations: 99.25 kB / 0.8318 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001072/0.2621, allocations: 23.92 kB / 0.8319 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2621, allocations: 0 / 0.8319 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.183e-05/0.2622, allocations: 8 kB / 0.8319 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002001/0.2624, allocations: 12.05 kB / 0.8319 GB, free: 12.03 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003045/0.2627, allocations: 106.1 kB / 0.832 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002501/0.2629, allocations: 0.6805 MB / 0.8326 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.321e-05/0.263, allocations: 8.188 kB / 0.8326 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.562e-05/0.263, allocations: 11.44 kB / 0.8327 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of SimCode: time 2.2e-07/0.263, allocations: 0 / 0.8327 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of Templates: time 0.002667/0.2657, allocations: 0.525 MB / 0.8332 GB, free: 10.66 MB / 0.6544 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)