Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.001233/0.001234, 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.01003/0.01003, allocations: 172.8 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.657/1.657, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.001/3.001, allocations: 473.4 MB / 0.7469 GB, free: 6.012 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004354/0.0004354, allocations: 15.56 kB / 0.9158 GB, free: 33.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4196/0.42, allocations: 162.2 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.001465/0.4216, allocations: 0.877 MB / 1.075 GB, free: 6.605 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003135/0.4247, allocations: 2.344 MB / 1.077 GB, free: 4.246 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.516e-05/0.4248, allocations: 4 kB / 1.077 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.519e-05/0.4249, allocations: 11.81 kB / 1.077 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001996/0.4251, allocations: 71.39 kB / 1.077 GB, free: 4.16 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.002956/0.428, allocations: 1.316 MB / 1.079 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001089/0.4291, allocations: 1.057 MB / 1.08 GB, free: 1.828 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.029e-05/0.4292, allocations: 28.72 kB / 1.08 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004911/0.4297, allocations: 427.2 kB / 1.08 GB, free: 1.379 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003779/0.4301, allocations: 327.1 kB / 1.08 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001412/0.4303, allocations: 60 kB / 1.081 GB, free: 1 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.4305, allocations: 79.92 kB / 1.081 GB, free: 0.9219 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 6.15e-05/0.4305, allocations: 55.77 kB / 1.081 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0004007/0.431, allocations: 376.7 kB / 1.081 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001545/0.4325, allocations: 0.9156 MB / 1.082 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.4326, allocations: 0 / 1.082 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of FrontEnd: time 3.556e-06/0.4326, allocations: 0 / 1.082 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.4326, allocations: 0 / 1.082 GB, free: 15.57 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.001433/0.434, allocations: 0.9924 MB / 1.083 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.4341, allocations: 8.031 kB / 1.083 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002479/0.4343, allocations: 60.66 kB / 1.083 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.4346, allocations: 228.3 kB / 1.083 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.031e-05/0.4347, allocations: 36.36 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002351/0.4349, allocations: 72.36 kB / 1.083 GB, free: 14 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004136/0.4354, allocations: 216.9 kB / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.4354, allocations: 192 / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.994e-05/0.4354, allocations: 7.938 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.4354, allocations: 4 kB / 1.083 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001649/0.4356, allocations: 71.72 kB / 1.084 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001328/0.4369, allocations: 0.8444 MB / 1.084 GB, free: 12.72 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000427/0.4374, allocations: 323.2 kB / 1.085 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002352/0.4376, allocations: 140.9 kB / 1.085 GB, free: 12.09 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.945e-05/0.4377, allocations: 7.938 kB / 1.085 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008388/0.4385, allocations: 458.9 kB / 1.085 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 2.655e-06/0.4385, allocations: 0 / 1.085 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.001551/0.4401, allocations: 0.5657 MB / 1.086 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002738/0.4404, allocations: 443.2 kB / 1.086 GB, free: 10.46 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004529/0.4408, allocations: 300.3 kB / 1.087 GB, free: 10.15 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0002007/0.441, allocations: 65.7 kB / 1.087 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/0.4413, allocations: 157.3 kB / 1.087 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.000125/0.4415, allocations: 94.83 kB / 1.087 GB, free: 9.828 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002572/0.4417, allocations: 101.7 kB / 1.087 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.4419, allocations: 346.8 kB / 1.087 GB, free: 9.375 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/0.4432, allocations: 425.3 kB / 1.088 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001553/0.4448, allocations: 0.7028 MB / 1.088 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00188/0.4467, allocations: 1.191 MB / 1.089 GB, free: 6.703 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.238e-06/0.4467, allocations: 7.938 kB / 1.089 GB, free: 6.695 MB / 0.8419 GB Notification: Performance of matching and sorting (n=90) (initialization): time 0.00398/0.4507, allocations: 1.721 MB / 1.091 GB, free: 4.875 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003616/0.451, allocations: 485.4 kB / 1.092 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.4511, allocations: 8 kB / 1.092 GB, free: 4.301 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.842e-05/0.4511, allocations: 19.94 kB / 1.092 GB, free: 4.281 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.413e-05/0.4512, allocations: 31.84 kB / 1.092 GB, free: 4.25 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.553e-05/0.4513, allocations: 15.94 kB / 1.092 GB, free: 4.234 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003753/0.455, allocations: 0.5687 MB / 1.092 GB, free: 3.668 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002683/0.4553, allocations: 99.92 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.0005134/0.4558, allocations: 221.5 kB / 1.093 GB, free: 3.344 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001408/0.456, allocations: 47.45 kB / 1.093 GB, free: 3.297 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001067/0.4561, allocations: 38.14 kB / 1.093 GB, free: 3.258 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/0.4561, allocations: 8 kB / 1.093 GB, free: 3.25 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.571e-05/0.4562, allocations: 4 kB / 1.093 GB, free: 3.246 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.239e-05/0.4562, allocations: 4 kB / 1.093 GB, free: 3.242 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00053/0.4567, allocations: 333.4 kB / 1.093 GB, free: 2.867 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.333e-06/0.4567, allocations: 8 kB / 1.093 GB, free: 2.859 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.163e-05/0.4568, allocations: 15.92 kB / 1.093 GB, free: 2.844 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.715e-05/0.4568, allocations: 11.94 kB / 1.093 GB, free: 2.832 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.73e-05/0.4569, allocations: 15.98 kB / 1.093 GB, free: 2.816 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.752e-05/0.4569, allocations: 11.98 kB / 1.093 GB, free: 2.805 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.115e-05/0.4569, allocations: 11.94 kB / 1.093 GB, free: 2.793 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009434/0.4579, allocations: 0.5196 MB / 1.094 GB, free: 2.215 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.458, allocations: 124.5 kB / 1.094 GB, free: 2.074 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.526e-05/0.4581, allocations: 15.98 kB / 1.094 GB, free: 2.059 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.4582, allocations: 8 kB / 1.094 GB, free: 2.051 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001307/0.4584, allocations: 63.81 kB / 1.094 GB, free: 1.988 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-05/0.4584, allocations: 35.97 kB / 1.094 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002457/0.4587, allocations: 187.1 kB / 1.094 GB, free: 1.773 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2e-07/0.4587, allocations: 0 / 1.094 GB, free: 1.773 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009602/0.4597, allocations: 204 kB / 1.094 GB, free: 1.574 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.000246/0.4599, allocations: 123.2 kB / 1.094 GB, free: 1.445 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002908/0.4629, allocations: 1.75 MB / 1.096 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.4629, allocations: 0 / 1.096 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003857/0.4633, allocations: 185.3 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.001171/0.4645, allocations: 124.8 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.001382/0.4658, allocations: 0.7077 MB / 1.097 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.4663, allocations: 0.7764 MB / 1.098 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0001628/0.4664, allocations: 38.98 kB / 1.098 GB, free: 13.58 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.589e-05/0.4665, allocations: 39.42 kB / 1.098 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of SimCode: time 4e-07/0.4665, allocations: 0 / 1.098 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of Templates: time 0.02676/0.4933, allocations: 11.36 MB / 1.109 GB, free: 2.355 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.Pulse.pipe 2>&1)