Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.602/1.602, allocations: 285.4 MB / 298 MB, free: 6 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.001322/0.001322, allocations: 184.8 kB / 366.4 MB, free: 2.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.808/1.808, allocations: 205.1 MB / 0.6248 GB, free: 7.723 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.000822/0.000822, allocations: 100.9 kB / 0.738 GB, free: 40.25 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.488e-05/3.49e-05, allocations: 4 kB / 0.8584 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.797/0.7971, allocations: 115.3 MB / 0.971 GB, free: 77.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1888/0.986, allocations: 138.3 MB / 1.106 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.9863, allocations: 68.61 kB / 1.106 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.006324/0.9926, allocations: 2.088 MB / 1.108 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9927, allocations: 0 / 1.108 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.615e-06/0.9927, allocations: 4.656 kB / 1.108 GB, free: 11.37 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005115/0.9932, allocations: 409.5 kB / 1.109 GB, free: 10.92 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.9933, allocations: 11.5 kB / 1.109 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.543e-05/0.9933, allocations: 34.56 kB / 1.109 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.04e-05/0.9934, allocations: 9.094 kB / 1.109 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.9935, allocations: 171 kB / 1.109 GB, free: 10.66 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.942e-05/0.9935, allocations: 11.98 kB / 1.109 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.9936, allocations: 4.531 kB / 1.109 GB, free: 10.64 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001222/0.9937, allocations: 50.72 kB / 1.109 GB, free: 10.59 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.9937, allocations: 4 kB / 1.109 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.018e-05/0.9937, allocations: 2.125 kB / 1.109 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.223e-06/0.9938, allocations: 0 / 1.109 GB, free: 10.58 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.122e-05/0.9938, allocations: 23.88 kB / 1.109 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005007/0.9943, allocations: 331.1 kB / 1.109 GB, free: 10.19 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001051/0.9944, allocations: 42.64 kB / 1.109 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.379e-05/0.9945, allocations: 21.58 kB / 1.109 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.466e-05/0.9945, allocations: 5.125 kB / 1.109 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001493/0.9947, allocations: 81.94 kB / 1.109 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 1.483e-06/0.9947, allocations: 0 / 1.109 GB, free: 10.02 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0002129/0.9949, allocations: 81.59 kB / 1.109 GB, free: 9.934 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.608e-05/0.995, allocations: 59.41 kB / 1.109 GB, free: 9.863 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.049e-05/0.9951, allocations: 116.2 kB / 1.11 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.9951, allocations: 33.7 kB / 1.11 GB, free: 9.707 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.005e-05/0.9952, allocations: 92.12 kB / 1.11 GB, free: 9.613 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.9952, allocations: 15.8 kB / 1.11 GB, free: 9.598 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.106e-05/0.9952, allocations: 7.938 kB / 1.11 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.9953, allocations: 326.8 kB / 1.11 GB, free: 9.262 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.645e-05/0.9954, allocations: 36 kB / 1.11 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001034/0.9955, allocations: 74.41 kB / 1.11 GB, free: 9.141 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001065/0.9956, allocations: 67.56 kB / 1.11 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.9957, allocations: 0 / 1.11 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003384/0.996, allocations: 183.1 kB / 1.11 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/0.996, allocations: 40.45 kB / 1.11 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.9961, allocations: 4 kB / 1.11 GB, free: 8.832 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.9961, allocations: 7.984 kB / 1.11 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000103/0.9962, allocations: 14.98 kB / 1.11 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.835e-05/0.9962, allocations: 4 kB / 1.11 GB, free: 8.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002202/0.9965, allocations: 47.95 kB / 1.11 GB, free: 8.762 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.349e-05/0.9965, allocations: 8 kB / 1.11 GB, free: 8.754 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,$PRE.edge1.u,edge1.u,edge1.y) * 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 8.419e-05/0.9966, allocations: 126.2 kB / 1.111 GB, free: 8.625 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.556e-05/0.9966, allocations: 7.891 kB / 1.111 GB, free: 8.617 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.193e-05/0.9966, allocations: 8.625 kB / 1.111 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.9966, allocations: 3.938 kB / 1.111 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.9967, allocations: 0 / 1.111 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.9967, allocations: 4 kB / 1.111 GB, free: 8.602 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/0.997, allocations: 357.4 kB / 1.111 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.997, allocations: 0 / 1.111 GB, free: 8.199 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.674e-05/0.9971, allocations: 11.98 kB / 1.111 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.9971, allocations: 0 / 1.111 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.034e-05/0.9971, allocations: 0 / 1.111 GB, free: 8.188 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.108e-06/0.9971, allocations: 5.938 kB / 1.111 GB, free: 8.184 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.9971, allocations: 4 kB / 1.111 GB, free: 8.18 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.9973, allocations: 183.4 kB / 1.111 GB, free: 7.984 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.977e-05/0.9974, allocations: 81.02 kB / 1.111 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.099e-05/0.9974, allocations: 11.92 kB / 1.111 GB, free: 7.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.779e-05/0.9975, allocations: 8 kB / 1.111 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.001e-05/0.9975, allocations: 7.984 kB / 1.111 GB, free: 7.859 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.9976, allocations: 4 kB / 1.111 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.575e-05/0.9976, allocations: 95.27 kB / 1.111 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9976, allocations: 0 / 1.111 GB, free: 7.762 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002593/0.9979, allocations: 27.95 kB / 1.111 GB, free: 7.734 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 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.0005116/0.9984, allocations: 0.7203 MB / 1.112 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002582/0.9987, allocations: 157.1 kB / 1.112 GB, free: 6.824 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.9987, allocations: 3.938 kB / 1.112 GB, free: 6.82 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 5.915e-05/0.9987, allocations: 27.98 kB / 1.112 GB, free: 6.793 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.9989, allocations: 8 kB / 1.112 GB, free: 6.785 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004456/0.9994, allocations: 155.8 kB / 1.112 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002806/0.9997, allocations: 0.6968 MB / 1.113 GB, free: 5.875 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.463e-05/0.9997, allocations: 4 kB / 1.113 GB, free: 5.871 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.656e-05/0.9998, allocations: 19.42 kB / 1.113 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.9998, allocations: 0 / 1.113 GB, free: 5.852 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01475/1.015, allocations: 2.202 MB / 1.115 GB, free: 3.871 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002688/1.015, allocations: 158.6 kB / 1.115 GB, free: 3.652 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/2.591, allocations: 0 / 1.115 GB, free: 3.652 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)