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.0008433/0.0008475, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0008308/0.0008308, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.722/2.722, allocations: 205.4 MB / 222.1 MB, free: 5.648 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 2.232/2.232, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0004912/0.0004913, allocations: 17.31 kB / 0.6737 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2282/0.2287, allocations: 116.3 MB / 0.7873 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001229/0.23, allocations: 0.6546 MB / 0.7879 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001441/0.2314, allocations: 1.34 MB / 0.7892 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.906e-05/0.2315, allocations: 0 / 0.7892 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.192e-05/0.2315, allocations: 3.938 kB / 0.7892 GB, free: 9.852 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001294/0.2317, allocations: 59.83 kB / 0.7893 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009658/0.2326, allocations: 373.6 kB / 0.7896 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002738/0.2329, allocations: 231.6 kB / 0.7898 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001463/0.2331, allocations: 45.83 kB / 0.7899 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001772/0.2333, allocations: 135.6 kB / 0.79 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001792/0.2334, allocations: 119.6 kB / 0.7901 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.011e-05/0.2335, allocations: 20 kB / 0.7902 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.674e-05/0.2336, allocations: 27.98 kB / 0.7902 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.679e-05/0.2336, allocations: 35.83 kB / 0.7902 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.379e-05/0.2337, allocations: 65.64 kB / 0.7903 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003107/0.234, allocations: 375.3 kB / 0.7906 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.234, allocations: 0 / 0.7906 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.615e-06/0.2341, allocations: 0 / 0.7906 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.2341, allocations: 7.875 kB / 0.7906 GB, free: 8.383 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.0005916/0.2347, allocations: 0.5677 MB / 0.7912 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.171e-05/0.2347, allocations: 8.031 kB / 0.7912 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.903e-05/0.2348, allocations: 38.56 kB / 0.7912 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.749e-05/0.2348, allocations: 31.67 kB / 0.7913 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001925/0.235, allocations: 221.7 kB / 0.7915 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.057e-05/0.2351, allocations: 20 kB / 0.7915 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.377e-05/0.2351, allocations: 24 kB / 0.7915 GB, free: 7.355 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001883/0.2353, allocations: 113 kB / 0.7916 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.2353, allocations: 0 / 0.7916 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.2354, allocations: 11.98 kB / 0.7916 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.2354, allocations: 0 / 0.7916 GB, free: 7.215 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001032/0.2355, allocations: 51.92 kB / 0.7917 GB, free: 7.164 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008844/0.2364, allocations: 0.8796 MB / 0.7925 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001337/0.2365, allocations: 118.4 kB / 0.7927 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.2365, allocations: 3.953 kB / 0.7927 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002587/0.2368, allocations: 181.7 kB / 0.7928 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.283e-06/0.2368, allocations: 0 / 0.7928 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0003974/0.2372, allocations: 222 kB / 0.7931 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.285e-05/0.2373, allocations: 136.5 kB / 0.7932 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002287/0.2375, allocations: 244.8 kB / 0.7934 GB, free: 5.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.185e-05/0.2376, allocations: 37.7 kB / 0.7935 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001061/0.2377, allocations: 132.3 kB / 0.7936 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.2377, allocations: 31.69 kB / 0.7936 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.403e-05/0.2378, allocations: 12 kB / 0.7936 GB, free: 5.012 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.2379, allocations: 326.8 kB / 0.7939 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.2382, allocations: 144.2 kB / 0.7941 GB, free: 4.539 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003035/0.2385, allocations: 230.6 kB / 0.7943 GB, free: 4.277 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002987/0.2388, allocations: 258.7 kB / 0.7945 GB, free: 4 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.2388, allocations: 3.938 kB / 0.7945 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008046/0.2396, allocations: 0.5544 MB / 0.7951 GB, free: 3.41 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.685e-05/0.2397, allocations: 138.8 kB / 0.7952 GB, free: 3.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.674e-06/0.2397, allocations: 4.25 kB / 0.7952 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.2397, allocations: 8.281 kB / 0.7952 GB, free: 3.238 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.598e-05/0.2398, allocations: 8 kB / 0.7952 GB, free: 3.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.2398, allocations: 7.938 kB / 0.7952 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007251/0.2406, allocations: 162.5 kB / 0.7954 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.126e-05/0.2406, allocations: 23.97 kB / 0.7954 GB, free: 3.043 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.y,$PRE.pul3.booPul.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,$PRE.pul1.booPul.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,$PRE.pul2.booPul.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,$PRE.pul.booPul.y,pul.booPul.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001552/0.2408, allocations: 157.7 kB / 0.7956 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.009e-05/0.2408, allocations: 23.67 kB / 0.7956 GB, free: 2.855 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.425e-05/0.2409, allocations: 21.23 kB / 0.7956 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.2409, allocations: 8 kB / 0.7956 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2409, allocations: 0 / 0.7956 GB, free: 2.824 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.2409, allocations: 4 kB / 0.7956 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002221/0.2411, allocations: 257.5 kB / 0.7959 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.667e-06/0.2411, allocations: 3.984 kB / 0.7959 GB, free: 2.516 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.611e-05/0.2412, allocations: 8 kB / 0.7959 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.2412, allocations: 3.953 kB / 0.7959 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.2412, allocations: 8 kB / 0.7959 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2412, allocations: 0 / 0.7959 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.2412, allocations: 4 kB / 0.7959 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002863/0.2415, allocations: 252.4 kB / 0.7961 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.585e-05/0.2416, allocations: 100.9 kB / 0.7962 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.2416, allocations: 0 / 0.7962 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.158e-05/0.2417, allocations: 12 kB / 0.7962 GB, free: 2.07 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.309e-05/0.2417, allocations: 11.97 kB / 0.7963 GB, free: 2.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.2417, allocations: 12 kB / 0.7963 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001357/0.2419, allocations: 168.4 kB / 0.7964 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2419, allocations: 0 / 0.7964 GB, free: 1.883 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003261/0.2422, allocations: 71.91 kB / 0.7965 GB, free: 1.812 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 (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.0006038/0.2428, allocations: 0.9978 MB / 0.7975 GB, free: 0.7656 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005965/0.2434, allocations: 0.5325 MB / 0.798 GB, free: 188 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2435, allocations: 0 / 0.798 GB, free: 188 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.582e-05/0.2436, allocations: 67.91 kB / 0.7981 GB, free: 120 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003618/0.2439, allocations: 63.58 kB / 0.7981 GB, free: 56 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.2453, allocations: 2.321 MB / 0.8004 GB, free: 13.63 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002479/0.2456, allocations: 0.7323 MB / 0.8011 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 6.731e-05/0.2457, allocations: 29.52 kB / 0.8011 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.314e-05/0.2457, allocations: 55.42 kB / 0.8012 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of SimCode: time 2.41e-07/0.2457, allocations: 0 / 0.8012 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4998/0.7456, allocations: 5.992 MB / 0.807 GB, free: 7.004 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.173/0.9186, allocations: 195.6 kB / 0.8072 GB, free: 6.762 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.747/2.666, allocations: 0 / 0.8072 GB, free: 6.762 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/linux/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) Environment - environmentSimulation: