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.00839/0.00839, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001539/0.001539, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.714/1.714, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.754/1.754, allocations: 251.7 MB / 0.5094 GB, free: 3.031 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.001444/0.001444, allocations: 74.34 kB / 0.7258 GB, free: 9.117 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2625/0.264, allocations: 104.7 MB / 0.8281 GB, free: 312 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.002356/0.2664, allocations: 1.281 MB / 0.8293 GB, free: 15.02 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004155/0.2668, allocations: 192.6 kB / 0.8295 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.708e-05/0.2669, allocations: 0 / 0.8295 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.543e-05/0.2669, allocations: 0 / 0.8295 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 7.669e-05/0.267, allocations: 3.938 kB / 0.8295 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001337/0.2671, allocations: 15.97 kB / 0.8295 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.28e-05/0.2672, allocations: 23.92 kB / 0.8295 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.198e-05/0.2673, allocations: 4 kB / 0.8295 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.028e-05/0.2673, allocations: 11.94 kB / 0.8295 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.66e-05/0.2674, allocations: 15.92 kB / 0.8296 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.219e-05/0.2674, allocations: 0 / 0.8296 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.384e-06/0.2674, allocations: 0 / 0.8296 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.09e-05/0.2674, allocations: 4 kB / 0.8296 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 9.839e-05/0.2676, allocations: 7.938 kB / 0.8296 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.2677, allocations: 23.95 kB / 0.8296 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.2677, allocations: 3.938 kB / 0.8296 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2677, allocations: 0 / 0.8296 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.132e-06/0.2677, 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.0006372/0.2683, allocations: 343.4 kB / 0.8299 GB, free: 14.32 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.2684, allocations: 12.03 kB / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.2684, allocations: 0.9375 kB / 0.8299 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.2686, allocations: 164.3 kB / 0.8301 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.672e-05/0.2686, allocations: 8.359 kB / 0.8301 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.038e-05/0.2686, allocations: 384 / 0.8301 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.603e-05/0.2687, allocations: 38.2 kB / 0.8301 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2687, allocations: 192 / 0.8301 GB, free: 14.06 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/0.2688, allocations: 7.938 kB / 0.8302 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2688, allocations: 0 / 0.8302 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.999e-05/0.2688, allocations: 7.984 kB / 0.8302 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000198/0.269, allocations: 157.6 kB / 0.8303 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 6.969e-05/0.2691, allocations: 26.61 kB / 0.8303 GB, free: 13.81 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.582e-05/0.2691, allocations: 12.92 kB / 0.8303 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.2692, allocations: 0 / 0.8303 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001516/0.2693, allocations: 59.33 kB / 0.8304 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.2693, allocations: 0 / 0.8304 GB, free: 13.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=3): time 0.0001957/0.2695, allocations: 57.62 kB / 0.8305 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.2696, allocations: 51.41 kB / 0.8305 GB, free: 13.6 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.428e-05/0.2697, allocations: 101.9 kB / 0.8306 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.67e-05/0.2697, allocations: 25.7 kB / 0.8306 GB, free: 13.46 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.81e-05/0.2698, allocations: 88.12 kB / 0.8307 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.611e-05/0.2698, allocations: 3.906 kB / 0.8307 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/0.2698, allocations: 21.72 kB / 0.8307 GB, free: 13.34 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.27, allocations: 314.8 kB / 0.831 GB, free: 13.02 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.377e-05/0.27, allocations: 7.922 kB / 0.831 GB, free: 13.01 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.256e-05/0.27, allocations: 22.09 kB / 0.8311 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.838e-05/0.2701, allocations: 25.8 kB / 0.8311 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.2701, allocations: 0 / 0.8311 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.263e-05/0.2702, allocations: 57.62 kB / 0.8311 GB, free: 12.89 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.2702, allocations: 11.94 kB / 0.8312 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2702, allocations: 0 / 0.8312 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.749e-05/0.2703, allocations: 0 / 0.8312 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.604e-05/0.2703, allocations: 3.938 kB / 0.8312 GB, free: 12.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.2703, allocations: 4 kB / 0.8312 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.806e-05/0.2704, allocations: 15.92 kB / 0.8312 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-06/0.2704, allocations: 0 / 0.8312 GB, free: 12.86 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 9.032e-05/0.2705, allocations: 109.8 kB / 0.8313 GB, free: 12.74 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.309e-05/0.2705, allocations: 15.88 kB / 0.8313 GB, free: 12.72 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.924e-05/0.2706, allocations: 3.5 kB / 0.8313 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/0.2706, allocations: 0 / 0.8313 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.2706, allocations: 0 / 0.8313 GB, free: 12.71 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.384e-06/0.2706, allocations: 7.984 kB / 0.8313 GB, free: 12.7 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001386/0.2707, allocations: 157.6 kB / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2707, allocations: 0 / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.98e-06/0.2707, allocations: 0 / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.2707, allocations: 3.938 kB / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.284e-06/0.2708, allocations: 0 / 0.8315 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.2708, allocations: 4 kB / 0.8315 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2708, allocations: 3.938 kB / 0.8315 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.683e-05/0.2709, allocations: 73.12 kB / 0.8315 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.983e-05/0.2709, allocations: 81.09 kB / 0.8316 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.271, allocations: 7.938 kB / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.197e-05/0.271, allocations: 0 / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.416e-05/0.2711, allocations: 7.984 kB / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.2711, allocations: 0 / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.069e-05/0.2711, allocations: 87.28 kB / 0.8317 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2711, allocations: 0 / 0.8317 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001889/0.2713, allocations: 4 kB / 0.8317 GB, free: 12.2 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.0001945/0.2715, allocations: 107.2 kB / 0.8318 GB, free: 12.08 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001371/0.2717, allocations: 16 kB / 0.8318 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2717, allocations: 0 / 0.8318 GB, free: 12.06 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 3.171e-05/0.2717, allocations: 8 kB / 0.8318 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002047/0.2719, allocations: 21.48 kB / 0.8319 GB, free: 12.04 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000336/0.2723, allocations: 110 kB / 0.832 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004142/0.2727, allocations: 0.6805 MB / 0.8326 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.053e-05/0.2727, allocations: 4.25 kB / 0.8326 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.369e-05/0.2727, allocations: 7.438 kB / 0.8326 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of SimCode: time 2.244e-06/0.2727, allocations: 0 / 0.8326 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of Templates: time 0.002717/0.2755, allocations: 0.5267 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)