Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 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.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_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.0007875/0.0007875, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0008934/0.0008933, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.211/1.211, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.554/1.554, allocations: 292.7 MB / 0.5499 GB, free: 14.54 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.000551/0.0005511, allocations: 16.31 kB / 0.6739 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1897, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse): time 0.0008593/0.1906, allocations: 453.4 kB / 0.7879 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001253/0.1919, allocations: 1.111 MB / 0.789 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.748e-05/0.1919, allocations: 0 / 0.789 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.306e-05/0.1919, allocations: 0 / 0.789 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.05e-05/0.192, allocations: 7.922 kB / 0.789 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004046/0.1924, allocations: 116.8 kB / 0.7891 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.1925, allocations: 95.77 kB / 0.7892 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.351e-05/0.1926, allocations: 11.92 kB / 0.7892 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.117e-05/0.1927, allocations: 35.92 kB / 0.7892 GB, free: 10 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.566e-05/0.1928, allocations: 31.88 kB / 0.7892 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.764e-05/0.1928, allocations: 4 kB / 0.7892 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.577e-05/0.1929, allocations: 19.98 kB / 0.7893 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.334e-05/0.1929, allocations: 3.938 kB / 0.7893 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.201e-05/0.1929, allocations: 41.7 kB / 0.7893 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.1931, allocations: 104 kB / 0.7894 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.86e-06/0.1931, allocations: 0 / 0.7894 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.1931, allocations: 0 / 0.7894 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.1931, allocations: 4 kB / 0.7894 GB, free: 9.793 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003624/0.1935, allocations: 376.9 kB / 0.7898 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.1935, allocations: 12.03 kB / 0.7898 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.797e-05/0.1935, allocations: 38.44 kB / 0.7898 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.1936, allocations: 4 kB / 0.7898 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.1937, allocations: 174.9 kB / 0.79 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.719e-05/0.1937, allocations: 15.98 kB / 0.79 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.1937, allocations: 7.984 kB / 0.79 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.825e-05/0.1938, allocations: 41.69 kB / 0.79 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.971e-06/0.1938, allocations: 0 / 0.79 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.793e-06/0.1938, allocations: 0 / 0.79 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.1939, allocations: 4 kB / 0.7901 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.735e-05/0.1939, allocations: 8 kB / 0.7901 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003468/0.1943, allocations: 340.8 kB / 0.7904 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.477e-05/0.1943, allocations: 34.56 kB / 0.7904 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.109e-05/0.1943, allocations: 12.92 kB / 0.7904 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.125e-06/0.1944, allocations: 0 / 0.7904 GB, free: 8.574 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001189/0.1945, allocations: 67.33 kB / 0.7905 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=4): time 1.002e-06/0.1945, allocations: 0 / 0.7905 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4): time 0.0001634/0.1947, allocations: 73.59 kB / 0.7906 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.178e-05/0.1947, allocations: 55.41 kB / 0.7906 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.236e-05/0.1948, allocations: 133.7 kB / 0.7907 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.1948, allocations: 29.7 kB / 0.7908 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.875e-05/0.1949, allocations: 88.14 kB / 0.7909 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.692e-05/0.1949, allocations: 19.78 kB / 0.7909 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.029e-05/0.1949, allocations: 0 / 0.7909 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.225e-05/0.195, allocations: 318.8 kB / 0.7912 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.264e-05/0.1951, allocations: 31.98 kB / 0.7912 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.072e-05/0.1952, allocations: 66.48 kB / 0.7913 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.834e-05/0.1952, allocations: 57.7 kB / 0.7913 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.1953, allocations: 4 kB / 0.7913 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000231/0.1955, allocations: 159.3 kB / 0.7915 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.24e-05/0.1955, allocations: 37.7 kB / 0.7915 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1955, allocations: 0 / 0.7915 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.698e-06/0.1956, allocations: 4.125 kB / 0.7915 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.466e-05/0.1956, allocations: 8 kB / 0.7915 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1956, allocations: 0 / 0.7915 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000193/0.1958, allocations: 39.95 kB / 0.7916 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.83e-05/0.1958, allocations: 11.95 kB / 0.7916 GB, free: 7.301 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.68e-05/0.1959, allocations: 119.2 kB / 0.7917 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.205e-05/0.1959, allocations: 7.906 kB / 0.7917 GB, free: 7.168 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.283e-05/0.196, allocations: 11.83 kB / 0.7917 GB, free: 7.148 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.196, allocations: 4 kB / 0.7917 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.196, allocations: 0 / 0.7917 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.196, allocations: 0 / 0.7917 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.1961, allocations: 181.5 kB / 0.7919 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.1961, allocations: 0 / 0.7919 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.633e-05/0.1961, allocations: 7.984 kB / 0.7919 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.1961, allocations: 0 / 0.7919 GB, free: 6.91 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.1962, allocations: 4 kB / 0.7919 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1962, allocations: 0 / 0.7919 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.1962, allocations: 4.234 kB / 0.7919 GB, free: 6.902 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.859e-05/0.1963, allocations: 92.97 kB / 0.792 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.223e-05/0.1963, allocations: 77.11 kB / 0.7921 GB, free: 6.699 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.1963, allocations: 11.92 kB / 0.7921 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.706e-05/0.1963, allocations: 0 / 0.7921 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.91e-05/0.1964, allocations: 0 / 0.7921 GB, free: 6.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.352e-06/0.1964, allocations: 8 kB / 0.7921 GB, free: 6.68 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.677e-05/0.1964, allocations: 95.27 kB / 0.7922 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1964, allocations: 4 kB / 0.7922 GB, free: 6.582 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002056/0.1967, allocations: 19.91 kB / 0.7922 GB, free: 6.562 MB / 0.6075 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,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003265/0.197, allocations: 0.6241 MB / 0.7928 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001848/0.1972, allocations: 143.3 kB / 0.7929 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.1972, allocations: 0 / 0.7929 GB, free: 5.758 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.957e-05/0.1972, allocations: 15.98 kB / 0.793 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001931/0.1974, allocations: 15.98 kB / 0.793 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007845/0.1982, allocations: 0.595 MB / 0.7936 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001725/0.1984, allocations: 0.6848 MB / 0.7942 GB, free: 4.363 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.34e-05/0.1984, allocations: 4.188 kB / 0.7942 GB, free: 4.359 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.065e-05/0.1985, allocations: 19.42 kB / 0.7943 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of SimCode: time 2.71e-07/0.1985, allocations: 0 / 0.7943 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01128/0.2098, allocations: 2.153 MB / 0.7964 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/0.21, allocations: 206.5 kB / 0.7966 GB, free: 2.105 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.549/1.759, allocations: 0 / 0.7966 GB, free: 2.105 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Pulse.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Pulse.pipe 2>&1) Environment - environmentSimulation: