Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.Continuous.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_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.007316/0.007316, allocations: 100.3 kB / 15.73 MB, free: 6.449 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.001318/0.001318, allocations: 198.2 kB / 16.68 MB, free: 6.355 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.733/1.733, allocations: 205.1 MB / 222.6 MB, free: 4.547 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.736/1.736, allocations: 251.7 MB / 0.5094 GB, free: 3.125 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.001414/0.001414, allocations: 67.91 kB / 0.7258 GB, free: 9.125 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2499, allocations: 104.7 MB / 0.8281 GB, free: 312 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.00261/0.2525, allocations: 1.336 MB / 0.8294 GB, free: 14.96 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0004049/0.253, allocations: 144.8 kB / 0.8295 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.95e-05/0.253, allocations: 0 / 0.8295 GB, free: 14.82 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.703e-05/0.253, allocations: 3.938 kB / 0.8295 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 8.809e-05/0.2532, allocations: 3.938 kB / 0.8295 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.2533, allocations: 23.98 kB / 0.8296 GB, free: 14.79 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 8.887e-05/0.2534, allocations: 39.91 kB / 0.8296 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 6.832e-05/0.2535, allocations: 4 kB / 0.8296 GB, free: 14.74 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001001/0.2536, allocations: 27.86 kB / 0.8296 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.53e-05/0.2537, allocations: 19.91 kB / 0.8296 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.03e-05/0.2537, allocations: 4 kB / 0.8296 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.311e-05/0.2537, allocations: 4 kB / 0.8297 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.79e-05/0.2537, allocations: 7.984 kB / 0.8297 GB, free: 14.68 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.092e-05/0.2538, allocations: 15.92 kB / 0.8297 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001098/0.2539, allocations: 47.8 kB / 0.8297 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.99e-06/0.2539, allocations: 0 / 0.8297 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.435e-06/0.2539, allocations: 0 / 0.8297 GB, free: 14.62 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.2539, allocations: 0 / 0.8297 GB, free: 14.62 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.0006593/0.2546, allocations: 355.4 kB / 0.8301 GB, free: 14.22 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.788e-05/0.2547, allocations: 8.031 kB / 0.8301 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.075e-05/0.2547, allocations: 8.938 kB / 0.8301 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.2548, allocations: 164.3 kB / 0.8302 GB, free: 14 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.2548, allocations: 8.359 kB / 0.8302 GB, free: 14 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.2549, allocations: 4.375 kB / 0.8302 GB, free: 13.99 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.2551, allocations: 62.16 kB / 0.8303 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.2551, allocations: 192 / 0.8303 GB, free: 13.93 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.431e-05/0.2551, allocations: 11.88 kB / 0.8303 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.2551, allocations: 0 / 0.8303 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001988/0.2553, allocations: 39.95 kB / 0.8304 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003758/0.2557, allocations: 264.9 kB / 0.8306 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000229/0.256, allocations: 62.47 kB / 0.8307 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.2561, allocations: 24.94 kB / 0.8307 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 8.656e-06/0.2561, allocations: 0 / 0.8307 GB, free: 13.47 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002536/0.2563, allocations: 91.23 kB / 0.8308 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.232e-06/0.2564, allocations: 0 / 0.8308 GB, free: 13.37 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0004759/0.2568, allocations: 109.6 kB / 0.8309 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.2569, allocations: 51.41 kB / 0.8309 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000101/0.257, allocations: 113.8 kB / 0.831 GB, free: 13.07 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.257, allocations: 29.7 kB / 0.8311 GB, free: 13.04 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 5.223e-05/0.2571, allocations: 88.05 kB / 0.8312 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.2571, allocations: 15.84 kB / 0.8312 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-05/0.2571, allocations: 21.7 kB / 0.8312 GB, free: 12.9 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.83e-05/0.2572, allocations: 310.8 kB / 0.8315 GB, free: 12.59 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.2574, allocations: 31.97 kB / 0.8315 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.2575, allocations: 27.97 kB / 0.8315 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.2577, allocations: 56.81 kB / 0.8316 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.2577, allocations: 7.938 kB / 0.8316 GB, free: 12.46 MB / 0.6544 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002578/0.258, allocations: 101.5 kB / 0.8317 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.258, allocations: 4 kB / 0.8317 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.258, allocations: 4 kB / 0.8317 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.258, allocations: 0 / 0.8317 GB, free: 12.35 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.2581, allocations: 16.11 kB / 0.8317 GB, free: 12.34 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.2581, allocations: 4 kB / 0.8317 GB, free: 12.33 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.029e-05/0.2582, allocations: 11.98 kB / 0.8317 GB, free: 12.32 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.2583, allocations: 0 / 0.8317 GB, free: 12.32 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.268e-05/0.2583, allocations: 129.7 kB / 0.8319 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.022e-05/0.2584, allocations: 0 / 0.8319 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.663e-05/0.2584, allocations: 11.91 kB / 0.8319 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.2584, allocations: 0 / 0.8319 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.2584, allocations: 0 / 0.8319 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2584, allocations: 0 / 0.8319 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.2585, allocations: 173.5 kB / 0.832 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2585, allocations: 0 / 0.832 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.732e-05/0.2586, allocations: 7.984 kB / 0.832 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2586, allocations: 0 / 0.832 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.2586, allocations: 0 / 0.832 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2586, allocations: 4 kB / 0.8321 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2586, allocations: 0 / 0.8321 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002644/0.2589, allocations: 128.8 kB / 0.8322 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.69e-05/0.259, allocations: 77.11 kB / 0.8322 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.655e-05/0.259, allocations: 0 / 0.8322 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.271e-05/0.2591, allocations: 11.98 kB / 0.8323 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.47e-05/0.2591, allocations: 11.98 kB / 0.8323 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.189e-06/0.2591, allocations: 3.938 kB / 0.8323 GB, free: 11.67 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.681e-05/0.2592, allocations: 87.28 kB / 0.8324 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2592, allocations: 0 / 0.8324 GB, free: 11.58 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001784/0.2594, allocations: 8 kB / 0.8324 GB, free: 11.57 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,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001266/0.2595, allocations: 107.2 kB / 0.8325 GB, free: 11.46 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002839/0.2598, allocations: 63.89 kB / 0.8325 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.2598, allocations: 0 / 0.8325 GB, free: 11.4 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.2599, allocations: 27.97 kB / 0.8326 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001997/0.2601, allocations: 16.86 kB / 0.8326 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.2605, allocations: 136.9 kB / 0.8327 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002441/0.2608, allocations: 0.6805 MB / 0.8334 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.082e-05/0.2608, allocations: 4 kB / 0.8334 GB, free: 10.49 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.358e-05/0.2609, allocations: 11.44 kB / 0.8334 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of SimCode: time 2.5e-07/0.2609, allocations: 0 / 0.8334 GB, free: 10.48 MB / 0.6544 GB Notification: Performance of Templates: time 0.003143/0.264, allocations: 0.8096 MB / 0.8342 GB, free: 9.676 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1)