Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_1.6_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_1.6_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.000834/0.0008339, allocations: 91.53 kB / 15.36 MB, free: 0.7383 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.00619/0.00619, allocations: 172.6 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.602/1.602, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.083/3.083, allocations: 473.4 MB / 0.7469 GB, free: 6.055 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00046/0.00046, allocations: 19.66 kB / 0.9158 GB, free: 33.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4492/0.4497, allocations: 162.1 MB / 1.074 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse): time 0.001604/0.4514, allocations: 0.877 MB / 1.075 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003275/0.4547, allocations: 2.348 MB / 1.077 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001206/0.4548, allocations: 4 kB / 1.077 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 5.116e-05/0.4549, allocations: 11.81 kB / 1.077 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002278/0.4551, allocations: 71.39 kB / 1.077 GB, free: 4.156 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003094/0.4582, allocations: 1.321 MB / 1.079 GB, free: 2.879 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001145/0.4594, allocations: 1.057 MB / 1.08 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001153/0.4595, allocations: 24.73 kB / 1.08 GB, free: 1.793 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005255/0.46, allocations: 423.2 kB / 1.08 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003971/0.4604, allocations: 323.1 kB / 1.08 GB, free: 1.062 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.00014/0.4606, allocations: 60 kB / 1.08 GB, free: 1.004 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000204/0.4608, allocations: 79.92 kB / 1.081 GB, free: 0.9258 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.595e-05/0.4609, allocations: 59.75 kB / 1.081 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000422/0.4613, allocations: 376.7 kB / 1.081 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0009725/0.4623, allocations: 0.9078 MB / 1.082 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.4623, allocations: 4 kB / 1.082 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4623, allocations: 0 / 1.082 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.046e-06/0.4623, allocations: 0 / 1.082 GB, free: 15.58 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.001252/0.4636, allocations: 0.9924 MB / 1.083 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.4637, allocations: 8.031 kB / 1.083 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.4639, allocations: 60.66 kB / 1.083 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002438/0.4641, allocations: 228.3 kB / 1.083 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.45e-05/0.4642, allocations: 36.36 kB / 1.083 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/0.4644, allocations: 68.36 kB / 1.083 GB, free: 14.01 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003419/0.4647, allocations: 220.9 kB / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.4647, allocations: 192 / 1.083 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.4648, allocations: 7.938 kB / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/0.4648, allocations: 4 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001354/0.4649, allocations: 71.72 kB / 1.084 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.466, allocations: 0.8483 MB / 1.084 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003967/0.4664, allocations: 327.2 kB / 1.085 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002106/0.4667, allocations: 140.9 kB / 1.085 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.789e-05/0.4667, allocations: 7.938 kB / 1.085 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007686/0.4675, allocations: 458.9 kB / 1.085 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 1.814e-06/0.4675, allocations: 0 / 1.085 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.001101/0.4686, allocations: 0.5693 MB / 1.086 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002427/0.4688, allocations: 431.2 kB / 1.086 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003202/0.4692, allocations: 304.3 kB / 1.087 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.000141/0.4693, allocations: 65.7 kB / 1.087 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/0.4695, allocations: 161.3 kB / 1.087 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.4696, allocations: 94.84 kB / 1.087 GB, free: 9.824 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000203/0.4698, allocations: 97.67 kB / 1.087 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001751/0.47, allocations: 346.8 kB / 1.087 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008692/0.4709, allocations: 425.3 kB / 1.088 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001243/0.4722, allocations: 0.6989 MB / 1.088 GB, free: 8.129 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/0.4741, allocations: 1.203 MB / 1.089 GB, free: 6.695 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/0.4741, allocations: 7.938 kB / 1.09 GB, free: 6.688 MB / 0.8419 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.003184/0.4773, allocations: 1.709 MB / 1.091 GB, free: 4.879 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005185/0.4778, allocations: 487.6 kB / 1.092 GB, free: 4.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.96e-05/0.4779, allocations: 12 kB / 1.092 GB, free: 4.301 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.427e-05/0.4779, allocations: 16 kB / 1.092 GB, free: 4.285 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001626/0.4781, allocations: 31.84 kB / 1.092 GB, free: 4.254 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.267e-05/0.4781, allocations: 15.94 kB / 1.092 GB, free: 4.238 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002942/0.481, allocations: 0.5691 MB / 1.092 GB, free: 3.672 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002005/0.4813, allocations: 103.9 kB / 1.092 GB, free: 3.57 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 60 (booPul_c5.y,$PRE.booPul_c5.y,$whenCondition29,$whenCondition30,booPul_b5.y,$PRE.booPul_b5.y,$whenCondition27,$whenCondition28,booPul_a5.y,$PRE.booPul_a5.y,$whenCondition25,$whenCondition26,booPul_c4.y,$PRE.booPul_c4.y,$whenCondition23,$whenCondition24,booPul_b4.y,$PRE.booPul_b4.y,$whenCondition21,$whenCondition22,booPul_a4.y,$PRE.booPul_a4.y,$whenCondition19,$whenCondition20,booPul_c3.y,$PRE.booPul_c3.y,$whenCondition17,$whenCondition18,booPul_b3.y,$PRE.booPul_b3.y,$whenCondition15,$whenCondition16,booPul_a3.y,$PRE.booPul_a3.y,$whenCondition13,$whenCondition14,booPul_c2.y,$PRE.booPul_c2.y,$whenCondition11,$whenCondition12,booPul_b2.y,$PRE.booPul_b2.y,$whenCondition9,$whenCondition10,booPul_a2.y,$PRE.booPul_a2.y,$whenCondition7,$whenCondition8,booPul_c1.y,$PRE.booPul_c1.y,$whenCondition5,$whenCondition6,booPul_b1.y,$PRE.booPul_b1.y,$whenCondition3,$whenCondition4,booPul_a1.y,$PRE.booPul_a1.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 15 * 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.0004533/0.4817, allocations: 221.5 kB / 1.093 GB, free: 3.344 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001133/0.4818, allocations: 47.45 kB / 1.093 GB, free: 3.297 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.167e-05/0.4819, allocations: 38.14 kB / 1.093 GB, free: 3.258 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.368e-06/0.4819, allocations: 8 kB / 1.093 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.034e-05/0.482, allocations: 4 kB / 1.093 GB, free: 3.246 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.482, allocations: 4 kB / 1.093 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004962/0.4825, allocations: 333.4 kB / 1.093 GB, free: 2.867 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.172e-06/0.4825, allocations: 4 kB / 1.093 GB, free: 2.863 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.86e-05/0.4826, allocations: 19.92 kB / 1.093 GB, free: 2.844 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.116e-05/0.4826, allocations: 11.94 kB / 1.093 GB, free: 2.832 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.4826, allocations: 15.98 kB / 1.093 GB, free: 2.816 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-05/0.4826, allocations: 11.94 kB / 1.093 GB, free: 2.805 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.245e-06/0.4826, allocations: 7.984 kB / 1.093 GB, free: 2.797 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007159/0.4834, allocations: 0.5196 MB / 1.094 GB, free: 2.219 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.972e-05/0.4835, allocations: 120.5 kB / 1.094 GB, free: 2.082 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.882e-05/0.4835, allocations: 15.98 kB / 1.094 GB, free: 2.066 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.4836, allocations: 8 kB / 1.094 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.4838, allocations: 63.81 kB / 1.094 GB, free: 1.996 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-05/0.4838, allocations: 31.97 kB / 1.094 GB, free: 1.965 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.000179/0.484, allocations: 191.1 kB / 1.094 GB, free: 1.781 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.484, allocations: 0 / 1.094 GB, free: 1.781 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007564/0.4848, allocations: 204 kB / 1.094 GB, free: 1.582 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 45 ($whenCondition29,$whenCondition30,booPul_c5.y,$whenCondition27,$whenCondition28,booPul_b5.y,$whenCondition25,$whenCondition26,booPul_a5.y,$whenCondition23,$whenCondition24,booPul_c4.y,$whenCondition21,$whenCondition22,booPul_b4.y,$whenCondition19,$whenCondition20,booPul_a4.y,$whenCondition17,$whenCondition18,booPul_c3.y,$whenCondition15,$whenCondition16,booPul_b3.y,$whenCondition13,$whenCondition14,booPul_a3.y,$whenCondition11,$whenCondition12,booPul_c2.y,$whenCondition9,$whenCondition10,booPul_b2.y,$whenCondition7,$whenCondition8,booPul_a2.y,$whenCondition5,$whenCondition6,booPul_c1.y,$whenCondition3,$whenCondition4,booPul_b1.y,$whenCondition1,$whenCondition2,booPul_a1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 15 * 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.0003167/0.4851, allocations: 127.2 kB / 1.094 GB, free: 1.449 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002503/0.4876, allocations: 1.749 MB / 1.096 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/0.4876, allocations: 2 kB / 1.096 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003016/0.4879, allocations: 187.6 kB / 1.096 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000903/0.4888, allocations: 126.2 kB / 1.096 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001287/0.4901, allocations: 0.7036 MB / 1.097 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004298/0.4906, allocations: 0.7764 MB / 1.098 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001306/0.4907, allocations: 42.97 kB / 1.098 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.753e-05/0.4908, allocations: 39.42 kB / 1.098 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of SimCode: time 5.91e-07/0.4908, allocations: 0 / 1.098 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of Templates: time 0.0233/0.5141, allocations: 11.36 MB / 1.109 GB, free: 2.352 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)