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.001374/0.001374, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001203/0.001203, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.361/1.361, allocations: 205.1 MB / 222.4 MB, free: 4.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.652/1.652, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.002234/0.002234, allocations: 70.92 kB / 0.6716 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2046, allocations: 114.6 MB / 0.7835 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002173/0.2068, allocations: 0.973 MB / 0.7844 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.2085, allocations: 1.43 MB / 0.7858 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.148e-05/0.2085, allocations: 4 kB / 0.7858 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.206e-05/0.2086, allocations: 19.73 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001236/0.2087, allocations: 47.56 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009519/0.2097, allocations: 438.5 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0004641/0.2102, allocations: 0.5147 MB / 0.7868 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.2103, allocations: 45.66 kB / 0.7869 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001622/0.2105, allocations: 175.6 kB / 0.787 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001688/0.2106, allocations: 151.4 kB / 0.7872 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.474e-05/0.2107, allocations: 48 kB / 0.7872 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001199/0.2108, allocations: 64 kB / 0.7873 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.721e-05/0.2109, allocations: 35.84 kB / 0.7873 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.2111, allocations: 171.4 kB / 0.7875 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000423/0.2115, allocations: 491 kB / 0.788 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.2115, allocations: 4 kB / 0.788 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2115, allocations: 0 / 0.788 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.227e-06/0.2115, allocations: 0 / 0.788 GB, free: 8.777 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.0007153/0.2123, allocations: 0.6339 MB / 0.7886 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.95e-05/0.2123, allocations: 8.031 kB / 0.7886 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.071e-05/0.2124, allocations: 38.75 kB / 0.7886 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.373e-05/0.2124, allocations: 32.64 kB / 0.7887 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001827/0.2126, allocations: 226.9 kB / 0.7889 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.2127, allocations: 16.38 kB / 0.7889 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.342e-05/0.2127, allocations: 28.31 kB / 0.7889 GB, free: 7.676 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.2129, allocations: 117.6 kB / 0.789 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.2129, allocations: 3.938 kB / 0.789 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.213, allocations: 7.984 kB / 0.789 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.213, allocations: 8 kB / 0.7891 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.883e-05/0.2131, allocations: 47.92 kB / 0.7891 GB, free: 7.477 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008725/0.2139, allocations: 0.8757 MB / 0.79 GB, free: 6.539 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.2141, allocations: 126.3 kB / 0.7901 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.765e-05/0.2142, allocations: 47.5 kB / 0.7901 GB, free: 6.32 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.179e-05/0.2142, allocations: 4 kB / 0.7901 GB, free: 6.316 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002606/0.2145, allocations: 182.6 kB / 0.7903 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.302e-06/0.2145, allocations: 0 / 0.7903 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0004337/0.2149, allocations: 225.9 kB / 0.7905 GB, free: 5.887 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.221e-05/0.215, allocations: 132.5 kB / 0.7906 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002243/0.2152, allocations: 244.9 kB / 0.7909 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.06e-05/0.2153, allocations: 41.69 kB / 0.7909 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.2154, allocations: 136.4 kB / 0.791 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.569e-05/0.2154, allocations: 23.62 kB / 0.7911 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001597/0.2156, allocations: 97.64 kB / 0.7912 GB, free: 5.168 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.2157, allocations: 326.8 kB / 0.7915 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002827/0.216, allocations: 148.2 kB / 0.7916 GB, free: 4.691 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003165/0.2163, allocations: 222.6 kB / 0.7918 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004242/0.2168, allocations: 364.9 kB / 0.7922 GB, free: 4.02 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.2168, allocations: 7.938 kB / 0.7922 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009156/0.2177, allocations: 0.5509 MB / 0.7927 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.963e-05/0.2178, allocations: 141.4 kB / 0.7929 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.2178, allocations: 4 kB / 0.7929 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.2178, allocations: 4 kB / 0.7929 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.642e-05/0.2179, allocations: 15.94 kB / 0.7929 GB, free: 3.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.108e-06/0.218, allocations: 4 kB / 0.7929 GB, free: 3.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006876/0.2186, allocations: 119.9 kB / 0.793 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.373e-05/0.2187, allocations: 27.97 kB / 0.793 GB, free: 3.098 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.0001728/0.2189, allocations: 161.4 kB / 0.7932 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.419e-05/0.2189, allocations: 23.72 kB / 0.7932 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.631e-05/0.219, allocations: 25.23 kB / 0.7932 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.219, allocations: 0 / 0.7932 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.219, allocations: 4 kB / 0.7932 GB, free: 2.875 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.219, allocations: 3.938 kB / 0.7932 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002428/0.2193, allocations: 257.5 kB / 0.7935 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.2193, allocations: 0 / 0.7935 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.939e-05/0.2193, allocations: 15.92 kB / 0.7935 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.2193, allocations: 0 / 0.7935 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.2194, allocations: 4 kB / 0.7935 GB, free: 2.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.2194, allocations: 8 kB / 0.7935 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2194, allocations: 0 / 0.7935 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.2197, allocations: 223.2 kB / 0.7937 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.661e-05/0.2197, allocations: 96.91 kB / 0.7938 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.256e-05/0.2198, allocations: 12 kB / 0.7938 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.989e-05/0.2198, allocations: 4 kB / 0.7938 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.2199, allocations: 19.92 kB / 0.7938 GB, free: 2.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.188e-05/0.2199, allocations: 7.984 kB / 0.7938 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001558/0.2201, allocations: 168.5 kB / 0.794 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2201, allocations: 0 / 0.794 GB, free: 1.977 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0004636/0.2205, allocations: 71.89 kB / 0.7941 GB, free: 1.906 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.000604/0.2212, allocations: 0.7553 MB / 0.7948 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006684/0.2218, allocations: 0.5364 MB / 0.7953 GB, free: 0.5312 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.2218, allocations: 4.438 kB / 0.7953 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.222, allocations: 71.92 kB / 0.7954 GB, free: 468 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.2224, allocations: 67.56 kB / 0.7955 GB, free: 400 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003668/0.2261, allocations: 3.014 MB / 0.7984 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.2264, allocations: 0.7281 MB / 0.7991 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.236e-05/0.2264, allocations: 21.53 kB / 0.7991 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.54e-05/0.2265, allocations: 55.42 kB / 0.7992 GB, free: 12.37 MB / 0.6231 GB Notification: Performance of SimCode: time 5.31e-07/0.2265, allocations: 4 kB / 0.7992 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02213/0.2487, allocations: 6.346 MB / 0.8054 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.357/7.606, allocations: 10.5 kB / 0.8054 GB, free: 6.152 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)