Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Integers.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009281/0.0009284, allocations: 97.95 kB / 15.36 MB, free: 0.7344 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.004543/0.004543, allocations: 170.5 kB / 16.27 MB, free: 6.648 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.154/1.154, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.491/1.491, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.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.0004461/0.0004461, allocations: 18.91 kB / 0.6744 GB, free: 25.93 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1689/0.1694, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.0009263/0.1703, allocations: 0.6891 MB / 0.7887 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001487/0.1718, allocations: 1.48 MB / 0.7901 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.252e-05/0.1719, allocations: 4 kB / 0.7901 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.274e-05/0.1719, allocations: 11.86 kB / 0.7902 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.172, allocations: 43.7 kB / 0.7902 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007732/0.1728, allocations: 408.5 kB / 0.7906 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003152/0.1731, allocations: 423.1 kB / 0.791 GB, free: 8.414 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1732, allocations: 45.66 kB / 0.791 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001321/0.1734, allocations: 143.6 kB / 0.7912 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.1735, allocations: 127.4 kB / 0.7913 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.277e-05/0.1736, allocations: 20 kB / 0.7913 GB, free: 8.082 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.468e-05/0.1737, allocations: 27.98 kB / 0.7913 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.692e-05/0.1737, allocations: 27.92 kB / 0.7914 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.1738, allocations: 165 kB / 0.7915 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003515/0.1742, allocations: 458.8 kB / 0.792 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.1742, allocations: 3.938 kB / 0.792 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1742, allocations: 0 / 0.792 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.1742, allocations: 0 / 0.792 GB, free: 7.406 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000535/0.1748, allocations: 0.5717 MB / 0.7925 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.938e-05/0.1748, allocations: 8.031 kB / 0.7925 GB, free: 6.75 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.571e-05/0.1748, allocations: 42.73 kB / 0.7926 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.645e-05/0.1749, allocations: 32.66 kB / 0.7926 GB, free: 6.668 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/0.1751, allocations: 223 kB / 0.7928 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.256e-05/0.1751, allocations: 16.36 kB / 0.7928 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.28e-05/0.1751, allocations: 24.38 kB / 0.7928 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000163/0.1753, allocations: 117.6 kB / 0.793 GB, free: 6.238 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.1753, allocations: 3.938 kB / 0.793 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.1753, allocations: 3.938 kB / 0.793 GB, free: 6.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/0.1754, allocations: 4 kB / 0.793 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.155e-05/0.1755, allocations: 63.89 kB / 0.793 GB, free: 6.164 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007821/0.1762, allocations: 0.8717 MB / 0.7939 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.1764, allocations: 118.4 kB / 0.794 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.077e-05/0.1765, allocations: 59.42 kB / 0.7941 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.203e-06/0.1765, allocations: 0 / 0.7941 GB, free: 5.008 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002219/0.1767, allocations: 170.7 kB / 0.7942 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.072e-06/0.1767, allocations: 4 kB / 0.7942 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.000373/0.1771, allocations: 229.2 kB / 0.7944 GB, free: 4.582 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.326e-05/0.1772, allocations: 136.5 kB / 0.7946 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000197/0.1774, allocations: 240.8 kB / 0.7948 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.677e-05/0.1774, allocations: 37.7 kB / 0.7948 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.625e-05/0.1775, allocations: 132.5 kB / 0.795 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.595e-05/0.1775, allocations: 27.61 kB / 0.795 GB, free: 3.969 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.685e-05/0.1776, allocations: 41.7 kB / 0.795 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.88e-05/0.1777, allocations: 338.8 kB / 0.7954 GB, free: 3.582 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002579/0.178, allocations: 144.2 kB / 0.7955 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.1783, allocations: 226.6 kB / 0.7957 GB, free: 3.18 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003735/0.1787, allocations: 369 kB / 0.7961 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.1787, allocations: 0 / 0.7961 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007628/0.1794, allocations: 0.5467 MB / 0.7966 GB, free: 2.18 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.903e-05/0.1795, allocations: 138.8 kB / 0.7967 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.1795, allocations: 3.938 kB / 0.7967 GB, free: 2.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.1795, allocations: 4.25 kB / 0.7967 GB, free: 2.012 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.568e-05/0.1796, allocations: 31.92 kB / 0.7968 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.1796, allocations: 4 kB / 0.7968 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000687/0.1803, allocations: 162.3 kB / 0.7969 GB, free: 1.82 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-05/0.1804, allocations: 27.92 kB / 0.7969 GB, free: 1.793 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.booPul.y,$PRE.pul3.booPul.y,pul3.y,$whenCondition5,$whenCondition6,pul1.booPul.y,$PRE.pul1.booPul.y,pul1.y,$whenCondition3,$whenCondition4,pul2.booPul.y,$PRE.pul2.booPul.y,pul2.y,$whenCondition1,$whenCondition2,pul.booPul.y,$PRE.pul.booPul.y,pul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.0001363/0.1805, allocations: 152.4 kB / 0.7971 GB, free: 1.637 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.908e-05/0.1806, allocations: 27.73 kB / 0.7971 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.407e-05/0.1806, allocations: 17.25 kB / 0.7971 GB, free: 1.59 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1806, allocations: 4 kB / 0.7971 GB, free: 1.586 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1806, allocations: 4 kB / 0.7971 GB, free: 1.582 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.181e-06/0.1806, allocations: 7.922 kB / 0.7971 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001953/0.1808, allocations: 261.4 kB / 0.7974 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1808, allocations: 0 / 0.7974 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.1809, allocations: 11.94 kB / 0.7974 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.1809, allocations: 4.938 kB / 0.7974 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.251e-05/0.1809, allocations: 7.984 kB / 0.7974 GB, free: 1.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1809, allocations: 4 kB / 0.7974 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.1809, allocations: 0 / 0.7974 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002521/0.1812, allocations: 226.1 kB / 0.7976 GB, free: 0.9961 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.646e-05/0.1812, allocations: 92.83 kB / 0.7977 GB, free: 0.8867 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.399e-05/0.1812, allocations: 8 kB / 0.7977 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.676e-05/0.1813, allocations: 3.984 kB / 0.7977 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.742e-05/0.1813, allocations: 23.91 kB / 0.7978 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.1814, allocations: 8 kB / 0.7978 GB, free: 0.8438 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001287/0.1815, allocations: 172.5 kB / 0.7979 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1815, allocations: 0 / 0.7979 GB, free: 0.6758 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002798/0.1818, allocations: 64 kB / 0.798 GB, free: 0.6133 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0004911/0.1823, allocations: 0.7591 MB / 0.7987 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005834/0.1829, allocations: 0.5248 MB / 0.7993 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.446e-06/0.1829, allocations: 0 / 0.7993 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 9.139e-05/0.183, allocations: 75.83 kB / 0.7993 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.1834, allocations: 60.83 kB / 0.7994 GB, free: 15.11 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.1866, allocations: 3.052 MB / 0.8024 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000232/0.1869, allocations: 0.7281 MB / 0.8031 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 5.203e-05/0.1869, allocations: 17.55 kB / 0.8031 GB, free: 11.1 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.874e-05/0.187, allocations: 59.41 kB / 0.8031 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of SimCode: time 2.11e-07/0.187, allocations: 0 / 0.8031 GB, free: 11.04 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.045/2.232, allocations: 5.981 MB / 0.809 GB, free: 5.262 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002291/2.232, allocations: 204 kB / 0.8092 GB, free: 5.012 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.79/4.022, allocations: 4.062 kB / 0.8092 GB, free: 5.008 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Integers_Sources_Validation_Pulse.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.pipe 2>&1)