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.001455/0.001455, allocations: 109.4 kB / 15.69 MB, free: 128 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.001312/0.001312, allocations: 189 kB / 16.62 MB, free: 6.613 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.461/1.461, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.676/1.676, allocations: 292.3 MB / 0.549 GB, free: 12.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.00141/0.00141, allocations: 69.11 kB / 0.6718 GB, free: 26.21 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2284, allocations: 114.5 MB / 0.7836 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002236/0.2306, allocations: 0.9839 MB / 0.7846 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001754/0.2324, allocations: 1.422 MB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.603e-05/0.2325, allocations: 4 kB / 0.786 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.167e-05/0.2326, allocations: 23.73 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001464/0.2327, allocations: 51.56 kB / 0.7861 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009687/0.2337, allocations: 443.4 kB / 0.7865 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005077/0.2342, allocations: 0.5186 MB / 0.787 GB, free: 9.762 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.2344, allocations: 41.66 kB / 0.787 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001823/0.2346, allocations: 183.6 kB / 0.7872 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002253/0.2348, allocations: 171.3 kB / 0.7874 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.28e-05/0.2349, allocations: 48 kB / 0.7874 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001164/0.235, allocations: 63.98 kB / 0.7875 GB, free: 9.262 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.679e-05/0.235, allocations: 35.91 kB / 0.7875 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000165/0.2352, allocations: 171.3 kB / 0.7877 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004627/0.2357, allocations: 498.9 kB / 0.7882 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.2357, allocations: 0 / 0.7882 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.562e-06/0.2357, allocations: 0 / 0.7882 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.2357, allocations: 0 / 0.7882 GB, free: 8.57 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.0008517/0.2365, allocations: 0.634 MB / 0.7888 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.2366, allocations: 11.97 kB / 0.7888 GB, free: 7.848 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.487e-05/0.2367, allocations: 46.67 kB / 0.7888 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.54e-05/0.2367, allocations: 36.66 kB / 0.7889 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001973/0.237, allocations: 219 kB / 0.7891 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.887e-05/0.237, allocations: 12.38 kB / 0.7891 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.391e-05/0.237, allocations: 24.38 kB / 0.7891 GB, free: 7.469 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/0.2373, allocations: 128.8 kB / 0.7892 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.2373, allocations: 3.938 kB / 0.7892 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.211e-05/0.2373, allocations: 0 / 0.7892 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.2373, allocations: 4 kB / 0.7892 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001043/0.2374, allocations: 55.91 kB / 0.7893 GB, free: 7.266 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009079/0.2383, allocations: 0.8795 MB / 0.7902 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.2385, allocations: 110.4 kB / 0.7903 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.91e-05/0.2386, allocations: 55.48 kB / 0.7903 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.2387, allocations: 4 kB / 0.7903 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002775/0.2389, allocations: 178.6 kB / 0.7905 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.143e-06/0.239, allocations: 0 / 0.7905 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0004285/0.2394, allocations: 225.2 kB / 0.7907 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.948e-05/0.2395, allocations: 136.5 kB / 0.7908 GB, free: 5.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002272/0.2397, allocations: 244.8 kB / 0.7911 GB, free: 5.27 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.714e-05/0.2398, allocations: 37.7 kB / 0.7911 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001132/0.2399, allocations: 140.3 kB / 0.7912 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.988e-05/0.2399, allocations: 27.61 kB / 0.7913 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001574/0.2401, allocations: 93.66 kB / 0.7914 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.2402, allocations: 334.8 kB / 0.7917 GB, free: 4.625 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002793/0.2405, allocations: 144.2 kB / 0.7918 GB, free: 4.48 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.2408, allocations: 218.7 kB / 0.792 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004068/0.2412, allocations: 372.9 kB / 0.7924 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/0.2412, allocations: 0 / 0.7924 GB, free: 3.805 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.000854/0.2421, allocations: 0.5514 MB / 0.7929 GB, free: 3.223 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.547e-05/0.2422, allocations: 134.8 kB / 0.793 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2422, allocations: 256 / 0.793 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.665e-05/0.2422, allocations: 8 kB / 0.793 GB, free: 3.059 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.58e-05/0.2423, allocations: 15.98 kB / 0.7931 GB, free: 3.043 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/0.2423, allocations: 7.938 kB / 0.7931 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006155/0.2429, allocations: 111.7 kB / 0.7932 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-05/0.243, allocations: 31.97 kB / 0.7932 GB, free: 2.895 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.0001434/0.2432, allocations: 149.7 kB / 0.7933 GB, free: 2.738 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.116e-05/0.2432, allocations: 19.91 kB / 0.7934 GB, free: 2.719 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.538e-05/0.2432, allocations: 29.22 kB / 0.7934 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.2433, allocations: 0 / 0.7934 GB, free: 2.688 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.2433, allocations: 4 kB / 0.7934 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.2433, allocations: 3.938 kB / 0.7934 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.2435, allocations: 261.5 kB / 0.7937 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.2435, allocations: 0 / 0.7937 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.799e-05/0.2436, allocations: 11.98 kB / 0.7937 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.2436, allocations: 0 / 0.7937 GB, free: 2.363 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.2436, allocations: 8 kB / 0.7937 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.318e-06/0.2436, allocations: 4 kB / 0.7937 GB, free: 2.352 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.2436, allocations: 4 kB / 0.7937 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.2439, allocations: 227.1 kB / 0.7939 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.588e-05/0.2439, allocations: 96.91 kB / 0.794 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.244, allocations: 4 kB / 0.794 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.992e-05/0.244, allocations: 7.938 kB / 0.794 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.38e-05/0.2441, allocations: 19.92 kB / 0.794 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.254e-05/0.2441, allocations: 7.984 kB / 0.794 GB, free: 1.945 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001316/0.2442, allocations: 164.5 kB / 0.7942 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2442, allocations: 8 kB / 0.7942 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003026/0.2445, allocations: 67.89 kB / 0.7943 GB, free: 1.711 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.0005785/0.2451, allocations: 0.7671 MB / 0.795 GB, free: 0.9102 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0006551/0.2458, allocations: 0.5287 MB / 0.7955 GB, free: 340 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.2458, allocations: 0 / 0.7955 GB, free: 340 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.576e-05/0.2459, allocations: 59.92 kB / 0.7956 GB, free: 280 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004139/0.2463, allocations: 68.81 kB / 0.7956 GB, free: 208 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003569/0.2499, allocations: 3.023 MB / 0.7986 GB, free: 13 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002655/0.2502, allocations: 0.7242 MB / 0.7993 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.434e-05/0.2503, allocations: 25.53 kB / 0.7993 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.755e-05/0.2504, allocations: 59.41 kB / 0.7994 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of SimCode: time 3.31e-07/0.2504, allocations: 0 / 0.7994 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02333/0.2737, allocations: 6.373 MB / 0.8056 GB, free: 5.949 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.079/8.353, allocations: 7.219 kB / 0.8056 GB, free: 5.945 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-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)