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.001171/0.001171, allocations: 108 kB / 15.61 MB, free: 152 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.001257/0.001258, allocations: 195.5 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.483/1.483, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.743/1.743, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001444/0.001444, allocations: 71.92 kB / 0.6716 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2488/0.2503, allocations: 114.5 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.002485/0.2528, allocations: 0.9815 MB / 0.7844 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001811/0.2547, allocations: 1.434 MB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.692e-05/0.2548, allocations: 0 / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.161e-05/0.2548, allocations: 15.81 kB / 0.7859 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.255, allocations: 55.5 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001211/0.2562, allocations: 431.7 kB / 0.7863 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006457/0.2569, allocations: 0.5146 MB / 0.7868 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.2571, allocations: 49.59 kB / 0.7869 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002241/0.2573, allocations: 183.6 kB / 0.7871 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002131/0.2576, allocations: 139.5 kB / 0.7872 GB, free: 9.594 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.2577, allocations: 52 kB / 0.7872 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001624/0.2579, allocations: 67.98 kB / 0.7873 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.937e-05/0.2579, allocations: 39.8 kB / 0.7873 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002385/0.2582, allocations: 163.5 kB / 0.7875 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000587/0.2588, allocations: 491 kB / 0.788 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.858e-06/0.2588, allocations: 0 / 0.788 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.295e-06/0.2588, allocations: 0 / 0.788 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.145e-05/0.2588, allocations: 0 / 0.788 GB, free: 8.797 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.001062/0.2599, allocations: 0.6417 MB / 0.7886 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.479e-05/0.2599, allocations: 12.03 kB / 0.7886 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.304e-05/0.26, allocations: 38.73 kB / 0.7886 GB, free: 8.02 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000106/0.2601, allocations: 32.66 kB / 0.7887 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.2603, allocations: 219 kB / 0.7889 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.998e-05/0.2604, allocations: 12.38 kB / 0.7889 GB, free: 7.723 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.88e-05/0.2605, allocations: 28.3 kB / 0.7889 GB, free: 7.695 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/0.2607, allocations: 128.2 kB / 0.789 GB, free: 7.555 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.2607, allocations: 3.938 kB / 0.789 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.802e-05/0.2607, allocations: 4 kB / 0.789 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.2608, allocations: 0 / 0.789 GB, free: 7.547 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001393/0.2609, allocations: 59.91 kB / 0.7891 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009558/0.2619, allocations: 0.8718 MB / 0.79 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.262, allocations: 118.4 kB / 0.7901 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.103e-05/0.2621, allocations: 51.48 kB / 0.7901 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.2621, allocations: 3.938 kB / 0.7901 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003065/0.2624, allocations: 182.6 kB / 0.7903 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 1.493e-06/0.2625, allocations: 4 kB / 0.7903 GB, free: 6.129 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0004534/0.2629, allocations: 217.9 kB / 0.7905 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001145/0.263, allocations: 144.4 kB / 0.7906 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000243/0.2633, allocations: 240.9 kB / 0.7909 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 5.499e-05/0.2633, allocations: 41.7 kB / 0.7909 GB, free: 5.445 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001129/0.2635, allocations: 128.4 kB / 0.791 GB, free: 5.316 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.2635, allocations: 35.59 kB / 0.7911 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.2637, allocations: 89.66 kB / 0.7912 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.2638, allocations: 330.8 kB / 0.7915 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002893/0.2641, allocations: 144.2 kB / 0.7916 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003517/0.2645, allocations: 226.7 kB / 0.7918 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000485/0.265, allocations: 364.9 kB / 0.7922 GB, free: 4.035 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.265, allocations: 3.938 kB / 0.7922 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0009521/0.2659, allocations: 0.5547 MB / 0.7927 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001045/0.266, allocations: 138.7 kB / 0.7928 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.2661, allocations: 4 kB / 0.7929 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.2661, allocations: 4.281 kB / 0.7929 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.543e-05/0.2662, allocations: 15.94 kB / 0.7929 GB, free: 3.262 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/0.2662, allocations: 3.984 kB / 0.7929 GB, free: 3.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006969/0.2669, allocations: 119.8 kB / 0.793 GB, free: 3.141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.335e-05/0.267, allocations: 27.97 kB / 0.793 GB, free: 3.113 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.0001956/0.2672, allocations: 160.3 kB / 0.7932 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.332e-05/0.2672, allocations: 19.72 kB / 0.7932 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.387e-05/0.2673, allocations: 25.23 kB / 0.7932 GB, free: 2.902 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/0.2673, allocations: 4 kB / 0.7932 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.2673, allocations: 0 / 0.7932 GB, free: 2.898 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.2673, allocations: 7.938 kB / 0.7932 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002481/0.2676, allocations: 257.5 kB / 0.7935 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.447e-06/0.2676, allocations: 4 kB / 0.7935 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.635e-05/0.2676, allocations: 8 kB / 0.7935 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.2676, allocations: 0 / 0.7935 GB, free: 2.578 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.608e-05/0.2676, allocations: 8 kB / 0.7935 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.2676, allocations: 3.938 kB / 0.7935 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.829e-06/0.2677, allocations: 7.984 kB / 0.7935 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002977/0.268, allocations: 219.2 kB / 0.7937 GB, free: 2.316 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.773e-05/0.268, allocations: 100.9 kB / 0.7938 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.855e-05/0.2681, allocations: 0 / 0.7938 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.106e-05/0.2681, allocations: 8 kB / 0.7938 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.532e-05/0.2682, allocations: 15.92 kB / 0.7938 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.565e-05/0.2682, allocations: 19.92 kB / 0.7938 GB, free: 2.156 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001678/0.2684, allocations: 160.5 kB / 0.794 GB, free: 2 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2684, allocations: 0 / 0.794 GB, free: 2 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003429/0.2687, allocations: 71.89 kB / 0.7941 GB, free: 1.93 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.000634/0.2694, allocations: 0.763 MB / 0.7948 GB, free: 1.133 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007186/0.2701, allocations: 0.5326 MB / 0.7953 GB, free: 0.5508 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.2701, allocations: 3.938 kB / 0.7953 GB, free: 0.5469 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.2702, allocations: 68.3 kB / 0.7954 GB, free: 492 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004512/0.2707, allocations: 79.97 kB / 0.7955 GB, free: 412 kB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00405/0.2748, allocations: 3.007 MB / 0.7984 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003435/0.2751, allocations: 0.732 MB / 0.7991 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 8.36e-05/0.2752, allocations: 17.55 kB / 0.7991 GB, free: 12.44 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.576e-05/0.2753, allocations: 59.42 kB / 0.7992 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of SimCode: time 5.21e-07/0.2753, allocations: 0 / 0.7992 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0259/0.3012, allocations: 6.345 MB / 0.8054 GB, free: 6.18 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.044/8.346, allocations: 9 kB / 0.8054 GB, free: 6.176 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)