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.001046/0.001046, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001277/0.001277, allocations: 190.4 kB / 16.14 MB, free: 6.707 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.479/1.479, allocations: 205.1 MB / 222 MB, free: 5.004 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.6/1.6, allocations: 292.3 MB / 0.5484 GB, free: 13.71 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.001396/0.001396, allocations: 74.52 kB / 0.671 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2029, allocations: 114.5 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001875/0.2048, allocations: 1.032 MB / 0.7838 GB, free: 12.88 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001711/0.2065, allocations: 1.496 MB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.786e-05/0.2066, allocations: 4 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.575e-05/0.2066, allocations: 11.81 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.2068, allocations: 35.7 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000833/0.2076, allocations: 411.5 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003238/0.2079, allocations: 423.1 kB / 0.7861 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.208, allocations: 41.67 kB / 0.7862 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001422/0.2082, allocations: 151.5 kB / 0.7863 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001462/0.2083, allocations: 127.5 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.373e-05/0.2084, allocations: 24 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.717e-05/0.2085, allocations: 35.98 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.395e-05/0.2085, allocations: 35.77 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001453/0.2087, allocations: 135.5 kB / 0.7867 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003921/0.2091, allocations: 470.9 kB / 0.7871 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2091, allocations: 0 / 0.7871 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.92e-07/0.2091, allocations: 3.938 kB / 0.7871 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.098e-06/0.2091, allocations: 0 / 0.7871 GB, free: 9.508 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.0006937/0.2098, allocations: 0.634 MB / 0.7877 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.2099, allocations: 12.03 kB / 0.7877 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.312e-05/0.2099, allocations: 38.75 kB / 0.7878 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.874e-05/0.21, allocations: 32.66 kB / 0.7878 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.2102, allocations: 226.9 kB / 0.788 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.2102, allocations: 16.36 kB / 0.788 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.212e-05/0.2102, allocations: 24.38 kB / 0.7881 GB, free: 8.406 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001696/0.2104, allocations: 124.7 kB / 0.7882 GB, free: 8.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/0.2104, allocations: 3.938 kB / 0.7882 GB, free: 8.266 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.2105, allocations: 7.984 kB / 0.7882 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.2105, allocations: 4 kB / 0.7882 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001028/0.2106, allocations: 55.92 kB / 0.7883 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008088/0.2114, allocations: 0.8717 MB / 0.7891 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001563/0.2115, allocations: 118.4 kB / 0.7892 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.649e-05/0.2116, allocations: 51.48 kB / 0.7893 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.2117, allocations: 0 / 0.7893 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002595/0.2119, allocations: 178.6 kB / 0.7894 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.313e-06/0.2119, allocations: 0 / 0.7894 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.000475/0.2124, allocations: 225.2 kB / 0.7897 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.277e-05/0.2125, allocations: 136.5 kB / 0.7898 GB, free: 6.461 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002582/0.2128, allocations: 244.8 kB / 0.79 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.561e-05/0.2128, allocations: 37.7 kB / 0.7901 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001234/0.213, allocations: 136.4 kB / 0.7902 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.194e-05/0.213, allocations: 23.62 kB / 0.7902 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001619/0.2132, allocations: 105.5 kB / 0.7903 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001243/0.2133, allocations: 326.8 kB / 0.7906 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003041/0.2136, allocations: 148.2 kB / 0.7908 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003237/0.2139, allocations: 226.7 kB / 0.791 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004052/0.2143, allocations: 372.9 kB / 0.7913 GB, free: 4.738 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.89e-06/0.2144, allocations: 4 kB / 0.7913 GB, free: 4.734 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008537/0.2152, allocations: 0.543 MB / 0.7919 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.874e-05/0.2153, allocations: 142.8 kB / 0.792 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/0.2153, allocations: 4 kB / 0.792 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2153, allocations: 4 kB / 0.792 GB, free: 3.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.837e-05/0.2154, allocations: 8.938 kB / 0.792 GB, free: 3.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.2154, allocations: 7.938 kB / 0.792 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00064/0.2161, allocations: 127.5 kB / 0.7921 GB, free: 3.848 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.458e-05/0.2161, allocations: 31.98 kB / 0.7922 GB, free: 3.816 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.0001422/0.2163, allocations: 149.7 kB / 0.7923 GB, free: 3.66 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.053e-05/0.2163, allocations: 19.81 kB / 0.7923 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.092e-05/0.2164, allocations: 21.23 kB / 0.7924 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.2164, allocations: 4 kB / 0.7924 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.2164, allocations: 4 kB / 0.7924 GB, free: 3.609 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.2164, allocations: 3.938 kB / 0.7924 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002154/0.2166, allocations: 261.5 kB / 0.7926 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.2166, allocations: 0 / 0.7926 GB, free: 3.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4e-05/0.2167, allocations: 11.98 kB / 0.7926 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.2167, allocations: 4 kB / 0.7926 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.262e-05/0.2167, allocations: 8 kB / 0.7926 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2167, allocations: 0 / 0.7926 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2167, allocations: 0 / 0.7926 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002611/0.217, allocations: 227.2 kB / 0.7929 GB, free: 3.027 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.088e-05/0.217, allocations: 96.83 kB / 0.793 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.864e-05/0.2171, allocations: 7.984 kB / 0.793 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.71e-05/0.2171, allocations: 0 / 0.793 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.2172, allocations: 19.92 kB / 0.793 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.41e-05/0.2172, allocations: 19.92 kB / 0.793 GB, free: 2.867 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000129/0.2173, allocations: 164.5 kB / 0.7932 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2173, allocations: 0 / 0.7932 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003159/0.2176, allocations: 67.98 kB / 0.7932 GB, free: 2.641 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.0005313/0.2182, allocations: 0.7613 MB / 0.794 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006238/0.2188, allocations: 0.5247 MB / 0.7945 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.2188, allocations: 0 / 0.7945 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.819e-05/0.2189, allocations: 67.91 kB / 0.7945 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.2193, allocations: 64.77 kB / 0.7946 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003567/0.2229, allocations: 3.042 MB / 0.7976 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.2232, allocations: 0.7359 MB / 0.7983 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.522e-05/0.2233, allocations: 21.53 kB / 0.7983 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.937e-05/0.2233, allocations: 67.34 kB / 0.7984 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of SimCode: time 4.01e-07/0.2234, allocations: 0 / 0.7984 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0151/0.2385, allocations: 6.033 MB / 0.8043 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001931/0.2387, allocations: 216.3 kB / 0.8045 GB, free: 6.941 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.803/2.041, allocations: 4.75 kB / 0.8045 GB, free: 6.938 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)