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.001163/0.001163, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00124/0.00124, allocations: 188 kB / 16.25 MB, free: 6.629 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.347/1.347, allocations: 205.1 MB / 222.1 MB, free: 4.918 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.609/1.609, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001372/0.001372, allocations: 66.56 kB / 0.6711 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2003/0.2017, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002394/0.2041, allocations: 1.04 MB / 0.784 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001802/0.206, allocations: 1.425 MB / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.348e-05/0.2061, allocations: 0 / 0.7854 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.655e-05/0.2062, allocations: 7.875 kB / 0.7854 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.2063, allocations: 47.69 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.2074, allocations: 420.1 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005415/0.2079, allocations: 0.5069 MB / 0.7863 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001438/0.2081, allocations: 49.66 kB / 0.7864 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002553/0.2084, allocations: 183.5 kB / 0.7866 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001794/0.2085, allocations: 139.5 kB / 0.7867 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.698e-05/0.2086, allocations: 52 kB / 0.7868 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001215/0.2088, allocations: 63.98 kB / 0.7868 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.021e-05/0.2088, allocations: 35.86 kB / 0.7868 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001776/0.209, allocations: 171.4 kB / 0.787 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005867/0.2096, allocations: 487 kB / 0.7875 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2096, allocations: 4 kB / 0.7875 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.933e-06/0.2096, allocations: 0 / 0.7875 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.068e-05/0.2096, allocations: 4 kB / 0.7875 GB, free: 9.184 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.0009716/0.2106, allocations: 0.6417 MB / 0.7881 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/0.2107, allocations: 8.031 kB / 0.7881 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.376e-05/0.2107, allocations: 38.75 kB / 0.7882 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001014/0.2108, allocations: 32.64 kB / 0.7882 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001869/0.211, allocations: 215 kB / 0.7884 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/0.211, allocations: 16.38 kB / 0.7884 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.751e-05/0.2111, allocations: 24.38 kB / 0.7884 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002108/0.2113, allocations: 128.5 kB / 0.7886 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.2113, allocations: 11.86 kB / 0.7886 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.2114, allocations: 0 / 0.7886 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.582e-06/0.2114, allocations: 7.938 kB / 0.7886 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.2115, allocations: 51.92 kB / 0.7886 GB, free: 7.879 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.2126, allocations: 0.8757 MB / 0.7895 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001759/0.2128, allocations: 118.4 kB / 0.7896 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.719e-05/0.2129, allocations: 47.5 kB / 0.7896 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.2129, allocations: 4 kB / 0.7896 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002809/0.2132, allocations: 182.5 kB / 0.7898 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.883e-06/0.2132, allocations: 0 / 0.7898 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0004893/0.2137, allocations: 222 kB / 0.79 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.386e-05/0.2138, allocations: 140.5 kB / 0.7902 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003003/0.2141, allocations: 248.8 kB / 0.7904 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.058e-05/0.2142, allocations: 37.7 kB / 0.7904 GB, free: 5.836 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.2143, allocations: 132.5 kB / 0.7906 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.653e-05/0.2143, allocations: 27.61 kB / 0.7906 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002084/0.2146, allocations: 93.66 kB / 0.7907 GB, free: 5.578 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001395/0.2147, allocations: 330.8 kB / 0.791 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003532/0.2151, allocations: 144.2 kB / 0.7911 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/0.2154, allocations: 226.7 kB / 0.7913 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004845/0.2159, allocations: 368.9 kB / 0.7917 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.2159, allocations: 0 / 0.7917 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001017/0.2169, allocations: 0.5546 MB / 0.7922 GB, free: 3.836 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001037/0.2171, allocations: 142.7 kB / 0.7924 GB, free: 3.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.2171, allocations: 4 kB / 0.7924 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.2171, allocations: 0 / 0.7924 GB, free: 3.668 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.06e-05/0.2172, allocations: 20.17 kB / 0.7924 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.2172, allocations: 4 kB / 0.7924 GB, free: 3.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006886/0.2179, allocations: 123.8 kB / 0.7925 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.255e-05/0.218, allocations: 31.97 kB / 0.7925 GB, free: 3.492 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.0001832/0.2182, allocations: 153.5 kB / 0.7927 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.551e-05/0.2182, allocations: 19.81 kB / 0.7927 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.238e-05/0.2183, allocations: 25.23 kB / 0.7927 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.546e-06/0.2183, allocations: 0 / 0.7927 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/0.2183, allocations: 4 kB / 0.7927 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2183, allocations: 3.938 kB / 0.7927 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002611/0.2186, allocations: 261.5 kB / 0.793 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.2186, allocations: 0 / 0.793 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.403e-05/0.2186, allocations: 11.98 kB / 0.793 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.2186, allocations: 0 / 0.793 GB, free: 2.961 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.01e-05/0.2187, allocations: 8 kB / 0.793 GB, free: 2.953 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.2187, allocations: 8 kB / 0.793 GB, free: 2.945 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.2187, allocations: 3.938 kB / 0.793 GB, free: 2.941 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003584/0.219, allocations: 215.2 kB / 0.7932 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.2192, allocations: 104.8 kB / 0.7933 GB, free: 2.582 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.32e-05/0.2193, allocations: 4 kB / 0.7933 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.552e-05/0.2193, allocations: 4 kB / 0.7933 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.2194, allocations: 19.92 kB / 0.7934 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.2194, allocations: 11.98 kB / 0.7934 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001713/0.2196, allocations: 168.4 kB / 0.7935 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2196, allocations: 0 / 0.7935 GB, free: 2.379 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003607/0.2199, allocations: 67.98 kB / 0.7936 GB, free: 2.312 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.000741/0.2207, allocations: 0.7611 MB / 0.7943 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007268/0.2214, allocations: 0.533 MB / 0.7949 GB, free: 0.9336 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.2214, allocations: 4.062 kB / 0.7949 GB, free: 0.9297 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001015/0.2216, allocations: 67.86 kB / 0.7949 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00044/0.222, allocations: 76.92 kB / 0.795 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004241/0.2263, allocations: 3.036 MB / 0.798 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.2266, allocations: 0.732 MB / 0.7987 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.846e-05/0.2267, allocations: 17.55 kB / 0.7987 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001006/0.2268, allocations: 55.42 kB / 0.7987 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of SimCode: time 4.91e-07/0.2268, allocations: 4 kB / 0.7987 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01651/0.2433, allocations: 6.255 MB / 0.8049 GB, free: 6.668 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002644/0.2436, allocations: 208.9 kB / 0.8051 GB, free: 6.414 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.823/2.066, allocations: 3.938 kB / 0.8051 GB, free: 6.41 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)