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.001274/0.001274, 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.001247/0.001247, allocations: 197.7 kB / 16.14 MB, free: 6.703 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.701/1.701, allocations: 205.1 MB / 222 MB, free: 5 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.723/1.723, allocations: 251.6 MB / 0.5088 GB, free: 3.32 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.001486/0.001487, allocations: 59.92 kB / 0.6216 GB, free: 1.922 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6208/0.6223, allocations: 104.7 MB / 0.7238 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.002888/0.6253, allocations: 1.409 MB / 0.7252 GB, free: 11.7 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003445/0.6256, allocations: 136.5 kB / 0.7253 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.161e-05/0.6257, allocations: 4 kB / 0.7253 GB, free: 11.56 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.262e-05/0.6257, allocations: 3.938 kB / 0.7253 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.37e-05/0.6258, allocations: 3.984 kB / 0.7253 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001626/0.626, allocations: 15.94 kB / 0.7254 GB, free: 11.54 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.519e-05/0.6261, allocations: 39.84 kB / 0.7254 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.929e-05/0.6261, allocations: 4 kB / 0.7254 GB, free: 11.49 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 7.115e-05/0.6262, allocations: 15.97 kB / 0.7254 GB, free: 11.48 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.973e-05/0.6263, allocations: 19.92 kB / 0.7254 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.955e-05/0.6263, allocations: 0 / 0.7254 GB, free: 11.46 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.592e-05/0.6263, allocations: 8 kB / 0.7254 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.438e-05/0.6263, allocations: 7.984 kB / 0.7255 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.672e-05/0.6264, allocations: 19.86 kB / 0.7255 GB, free: 11.42 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001009/0.6265, allocations: 31.92 kB / 0.7255 GB, free: 11.39 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.6265, allocations: 3.938 kB / 0.7255 GB, free: 11.39 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.052e-06/0.6265, allocations: 0 / 0.7255 GB, free: 11.39 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.6265, allocations: 0 / 0.7255 GB, free: 11.39 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006542/0.6272, allocations: 365.3 kB / 0.7259 GB, free: 10.98 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.6272, allocations: 11.97 kB / 0.7259 GB, free: 10.97 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.6273, allocations: 8.938 kB / 0.7259 GB, free: 10.96 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001227/0.6274, allocations: 164.3 kB / 0.726 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.6274, allocations: 4.375 kB / 0.726 GB, free: 10.76 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.6274, allocations: 4.359 kB / 0.726 GB, free: 10.75 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002272/0.6277, allocations: 62.22 kB / 0.7261 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.6277, allocations: 192 / 0.7261 GB, free: 10.69 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.6277, allocations: 7.875 kB / 0.7261 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.6277, allocations: 3.984 kB / 0.7261 GB, free: 10.68 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002049/0.6279, allocations: 47.89 kB / 0.7262 GB, free: 10.63 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004271/0.6284, allocations: 253 kB / 0.7264 GB, free: 10.33 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002507/0.6286, allocations: 70.45 kB / 0.7265 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001113/0.6288, allocations: 24.94 kB / 0.7265 GB, free: 10.23 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.167e-05/0.6288, allocations: 4 kB / 0.7265 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002825/0.6291, allocations: 75.36 kB / 0.7266 GB, free: 10.14 MB / 0.545 GB Notification: Performance of pre-optimization done (n=4): time 3.447e-06/0.6291, allocations: 0 / 0.7266 GB, free: 10.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=4): time 0.0004793/0.6296, allocations: 109.6 kB / 0.7267 GB, free: 10.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.773e-05/0.6296, allocations: 59.39 kB / 0.7267 GB, free: 9.953 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.6297, allocations: 109.8 kB / 0.7268 GB, free: 9.836 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.146e-05/0.6298, allocations: 29.7 kB / 0.7269 GB, free: 9.801 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.359e-05/0.6298, allocations: 84.05 kB / 0.7269 GB, free: 9.715 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/0.6299, allocations: 15.84 kB / 0.727 GB, free: 9.699 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.836e-05/0.6299, allocations: 21.7 kB / 0.727 GB, free: 9.672 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001487/0.6301, allocations: 314.8 kB / 0.7273 GB, free: 9.355 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001257/0.6302, allocations: 31.97 kB / 0.7273 GB, free: 9.324 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001085/0.6303, allocations: 24.3 kB / 0.7273 GB, free: 9.301 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002301/0.6306, allocations: 68.88 kB / 0.7274 GB, free: 9.23 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.6306, allocations: 3.938 kB / 0.7274 GB, free: 9.227 MB / 0.545 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002671/0.6309, allocations: 97.55 kB / 0.7275 GB, free: 9.125 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.6309, allocations: 4 kB / 0.7275 GB, free: 9.121 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.6309, allocations: 4 kB / 0.7275 GB, free: 9.117 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.6309, allocations: 4 kB / 0.7275 GB, free: 9.113 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001165/0.631, allocations: 11.98 kB / 0.7275 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.633e-06/0.631, allocations: 0 / 0.7275 GB, free: 9.102 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.053e-05/0.6311, allocations: 11.98 kB / 0.7275 GB, free: 9.09 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.6312, allocations: 3.938 kB / 0.7275 GB, free: 9.086 MB / 0.545 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 0.000111/0.6313, allocations: 125.7 kB / 0.7276 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.6313, allocations: 0 / 0.7276 GB, free: 8.953 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.763e-05/0.6313, allocations: 15.91 kB / 0.7277 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-06/0.6313, allocations: 0 / 0.7277 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.436e-06/0.6314, allocations: 4 kB / 0.7277 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.6314, allocations: 0 / 0.7277 GB, free: 8.926 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001408/0.6315, allocations: 165.6 kB / 0.7278 GB, free: 8.715 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6315, allocations: 0 / 0.7278 GB, free: 8.715 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.673e-05/0.6316, allocations: 7.984 kB / 0.7278 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.6316, allocations: 0 / 0.7278 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.298e-05/0.6316, allocations: 7.938 kB / 0.7278 GB, free: 8.699 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.6316, allocations: 4 kB / 0.7278 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.492e-06/0.6316, allocations: 0 / 0.7278 GB, free: 8.695 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.6319, allocations: 116.9 kB / 0.728 GB, free: 8.562 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.632, allocations: 81.09 kB / 0.728 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/0.632, allocations: 0 / 0.728 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.512e-05/0.6321, allocations: 15.92 kB / 0.728 GB, free: 8.449 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.767e-05/0.6322, allocations: 12.22 kB / 0.7281 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.6322, allocations: 4 kB / 0.7281 GB, free: 8.434 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.146e-05/0.6323, allocations: 83.28 kB / 0.7281 GB, free: 8.352 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6323, allocations: 4 kB / 0.7281 GB, free: 8.348 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001825/0.6324, allocations: 8 kB / 0.7282 GB, free: 8.34 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,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.0001712/0.6326, allocations: 99.23 kB / 0.7283 GB, free: 8.234 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002947/0.6329, allocations: 67.94 kB / 0.7283 GB, free: 8.168 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6329, allocations: 4 kB / 0.7283 GB, free: 8.164 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.6331, allocations: 31.91 kB / 0.7283 GB, free: 8.133 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002282/0.6333, allocations: 15.92 kB / 0.7284 GB, free: 8.117 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004048/0.6337, allocations: 135.7 kB / 0.7285 GB, free: 7.961 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000277/0.634, allocations: 0.6809 MB / 0.7292 GB, free: 7.254 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.282e-05/0.6341, allocations: 4 kB / 0.7292 GB, free: 7.25 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.742e-05/0.6341, allocations: 11.44 kB / 0.7292 GB, free: 7.238 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.6341, allocations: 0 / 0.7292 GB, free: 7.238 MB / 0.545 GB Notification: Performance of Templates: time 0.002774/0.6369, allocations: 0.7125 MB / 0.7299 GB, free: 6.527 MB / 0.545 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)