Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.503/2.503, allocations: 284.9 MB / 292.4 MB, free: 10.57 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001455/0.001455, allocations: 184.8 kB / 360.6 MB, free: 7.277 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.101/2.101, allocations: 205.2 MB / 0.6191 GB, free: 12.22 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001032/0.001032, allocations: 82.64 kB / 0.7321 GB, free: 44.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.807e-05/3.821e-05, allocations: 8 kB / 0.8509 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8041/0.8042, allocations: 115.2 MB / 0.9634 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2393/1.044, allocations: 137.5 MB / 1.098 GB, free: 2.996 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002744/1.044, allocations: 71.95 kB / 1.098 GB, free: 2.926 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01012/1.054, allocations: 2.096 MB / 1.1 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.422e-06/1.054, allocations: 0 / 1.1 GB, free: 0.8789 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.143e-06/1.054, allocations: 0 / 1.1 GB, free: 0.8789 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006389/1.055, allocations: 405 kB / 1.1 GB, free: 448 kB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/1.055, allocations: 8.031 kB / 1.1 GB, free: 440 kB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.931e-05/1.055, allocations: 13.64 kB / 1.1 GB, free: 428 kB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/1.055, allocations: 177.1 kB / 1.1 GB, free: 212 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.782e-05/1.055, allocations: 4.656 kB / 1.1 GB, free: 208 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.674e-05/1.055, allocations: 5.406 kB / 1.1 GB, free: 204 kB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000114/1.055, allocations: 20 kB / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/1.055, allocations: 45.69 kB / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/1.055, allocations: 0 / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/1.055, allocations: 0.5625 kB / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.196e-06/1.056, allocations: 4.719 kB / 1.1 GB, free: 128 kB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006376/1.056, allocations: 313.9 kB / 1.101 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/1.056, allocations: 51.66 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.51e-05/1.056, allocations: 14.02 kB / 1.101 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.435e-05/1.056, allocations: 11.22 kB / 1.101 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/1.057, allocations: 71.3 kB / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 5.891e-06/1.057, allocations: 0 / 1.101 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0002711/1.057, allocations: 83.97 kB / 1.101 GB, free: 15.54 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.401e-05/1.057, allocations: 51.41 kB / 1.101 GB, free: 15.47 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/1.057, allocations: 116.3 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 6.692e-05/1.057, allocations: 25.7 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.738e-05/1.057, allocations: 96.19 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.964e-05/1.057, allocations: 15.81 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.086e-05/1.057, allocations: 4 kB / 1.101 GB, free: 15.21 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.058, allocations: 326.8 kB / 1.102 GB, free: 14.88 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00013/1.058, allocations: 32 kB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001673/1.058, allocations: 68.28 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/1.058, allocations: 47.91 kB / 1.102 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.058, allocations: 4 kB / 1.102 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005825/1.059, allocations: 145.5 kB / 1.102 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.42e-05/1.059, allocations: 34.47 kB / 1.102 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/1.059, allocations: 5.219 kB / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/1.059, allocations: 0 / 1.102 GB, free: 14.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/1.059, allocations: 15.98 kB / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.386e-06/1.059, allocations: 0 / 1.102 GB, free: 14.51 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003888/1.059, allocations: 56.02 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.447e-05/1.06, allocations: 8 kB / 1.102 GB, free: 14.45 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001233/1.06, allocations: 118.7 kB / 1.102 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000192/1.06, allocations: 85.58 kB / 1.102 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/1.06, allocations: 13.53 kB / 1.102 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.352e-05/1.06, allocations: 12.62 kB / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/1.06, allocations: 0 / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/1.06, allocations: 0 / 1.102 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.003e-05/1.06, allocations: 3.953 kB / 1.102 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004652/1.06, allocations: 319.4 kB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/1.06, allocations: 6.062 kB / 1.102 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001071/1.061, allocations: 15.98 kB / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/1.061, allocations: 0 / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.578e-05/1.061, allocations: 4 kB / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/1.061, allocations: 0 / 1.103 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.27e-06/1.061, allocations: 3.953 kB / 1.103 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/1.061, allocations: 179.4 kB / 1.103 GB, free: 13.63 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.638e-05/1.061, allocations: 85.02 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.461e-05/1.061, allocations: 4 kB / 1.103 GB, free: 13.53 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/1.061, allocations: 11.98 kB / 1.103 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/1.061, allocations: 11.94 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.119e-05/1.061, allocations: 4 kB / 1.103 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.264e-05/1.061, allocations: 89.92 kB / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.31e-07/1.061, allocations: 0 / 1.103 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003835/1.062, allocations: 27.98 kB / 1.103 GB, free: 13.39 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (falEdg.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_u) * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0006838/1.063, allocations: 0.7213 MB / 1.104 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003831/1.063, allocations: 147.3 kB / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/1.063, allocations: 0 / 1.104 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 8.135e-05/1.063, allocations: 20 kB / 1.104 GB, free: 12.46 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003132/1.063, allocations: 16.23 kB / 1.104 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005924/1.064, allocations: 144.2 kB / 1.104 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003441/1.064, allocations: 0.6908 MB / 1.105 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 5.767e-05/1.064, allocations: 9.109 kB / 1.105 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.568e-05/1.064, allocations: 19.44 kB / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of SimCode: time 6.81e-07/1.064, allocations: 0 / 1.105 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03865/1.103, allocations: 1.833 MB / 1.106 GB, free: 9.773 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003087/1.104, allocations: 155.7 kB / 1.107 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.263/3.367, allocations: 0 / 1.107 GB, free: 9.578 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge.pipe 2>&1)