Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Logical.Validation.Edge,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008949/0.0008949, allocations: 98.92 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001049/0.001049, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.4 MB / 222.1 MB, free: 5.5 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.808/1.808, allocations: 292.6 MB / 0.5497 GB, free: 14.6 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.0007429/0.000743, allocations: 23.2 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3616, allocations: 116.3 MB / 0.7872 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001617/0.3633, allocations: 482.1 kB / 0.7877 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002135/0.3655, allocations: 1.103 MB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.484e-05/0.3656, allocations: 3.938 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.841e-05/0.3656, allocations: 3.938 kB / 0.7888 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001046/0.3657, allocations: 15.98 kB / 0.7888 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006453/0.3664, allocations: 114.7 kB / 0.7889 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001498/0.3665, allocations: 55.92 kB / 0.789 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.3667, allocations: 11.98 kB / 0.789 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000132/0.3668, allocations: 39.91 kB / 0.789 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001138/0.367, allocations: 35.83 kB / 0.7891 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.086e-05/0.367, allocations: 8 kB / 0.7891 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.605e-05/0.3671, allocations: 19.98 kB / 0.7891 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.413e-05/0.3671, allocations: 7.984 kB / 0.7891 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.718e-05/0.3672, allocations: 41.64 kB / 0.7891 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.3674, allocations: 76.09 kB / 0.7892 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.3674, allocations: 4 kB / 0.7892 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.414e-06/0.3674, allocations: 0 / 0.7892 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.3674, allocations: 0 / 0.7892 GB, free: 9.82 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007021/0.3681, allocations: 404.8 kB / 0.7896 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.3682, allocations: 8.031 kB / 0.7896 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.452e-05/0.3683, allocations: 30.56 kB / 0.7896 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.459e-05/0.3683, allocations: 8 kB / 0.7896 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.3685, allocations: 170.9 kB / 0.7898 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.168e-05/0.3685, allocations: 8 kB / 0.7898 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.957e-05/0.3685, allocations: 11.98 kB / 0.7898 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002533/0.3688, allocations: 73.59 kB / 0.7899 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.3688, allocations: 7.938 kB / 0.7899 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.3688, allocations: 0 / 0.7899 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.3689, allocations: 3.984 kB / 0.7899 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002501/0.3691, allocations: 47.97 kB / 0.7899 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006524/0.3698, allocations: 332.7 kB / 0.7903 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000249/0.37, allocations: 66.55 kB / 0.7903 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.511e-05/0.3701, allocations: 4 kB / 0.7903 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003313/0.3704, allocations: 95.39 kB / 0.7904 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.3704, allocations: 0 / 0.7904 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0006089/0.371, allocations: 161.6 kB / 0.7906 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.47e-05/0.3711, allocations: 55.41 kB / 0.7906 GB, free: 8.164 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001174/0.3713, allocations: 126.1 kB / 0.7907 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.269e-05/0.3713, allocations: 25.7 kB / 0.7908 GB, free: 8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.802e-05/0.3714, allocations: 88.14 kB / 0.7909 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.056e-05/0.3714, allocations: 23.8 kB / 0.7909 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.435e-05/0.3714, allocations: 0 / 0.7909 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.3716, allocations: 322.8 kB / 0.7912 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002073/0.3718, allocations: 59.95 kB / 0.7912 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.3721, allocations: 92.25 kB / 0.7913 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000226/0.3723, allocations: 81.98 kB / 0.7914 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.3723, allocations: 0 / 0.7914 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005853/0.3729, allocations: 227.1 kB / 0.7916 GB, free: 7.078 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.208e-05/0.373, allocations: 37.7 kB / 0.7917 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.373, allocations: 0 / 0.7917 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/0.3731, allocations: 8.062 kB / 0.7917 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.3732, allocations: 23.92 kB / 0.7917 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.3732, allocations: 0 / 0.7917 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003208/0.3735, allocations: 47.89 kB / 0.7917 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.221e-05/0.3736, allocations: 16.06 kB / 0.7918 GB, free: 6.941 MB / 0.6075 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 () * Number of clocked 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.0001141/0.3737, allocations: 117.8 kB / 0.7919 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.3737, allocations: 15.89 kB / 0.7919 GB, free: 6.801 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.259e-05/0.3738, allocations: 12.38 kB / 0.7919 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.3738, allocations: 0 / 0.7919 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3738, allocations: 0 / 0.7919 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.689e-06/0.3738, allocations: 0 / 0.7919 GB, free: 6.789 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006142/0.3745, allocations: 394.3 kB / 0.7923 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.3745, allocations: 0 / 0.7923 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.401e-05/0.3745, allocations: 11.98 kB / 0.7923 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.3746, allocations: 0 / 0.7923 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.3746, allocations: 4 kB / 0.7923 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.3746, allocations: 0 / 0.7923 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3746, allocations: 0 / 0.7923 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003996/0.375, allocations: 227.3 kB / 0.7925 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.667e-05/0.3751, allocations: 85.02 kB / 0.7926 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.374e-05/0.3751, allocations: 0 / 0.7926 GB, free: 5.992 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001294/0.3752, allocations: 15.98 kB / 0.7926 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.799e-05/0.3753, allocations: 3.984 kB / 0.7926 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.235e-05/0.3753, allocations: 4 kB / 0.7926 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.817e-05/0.3754, allocations: 95.42 kB / 0.7927 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3754, allocations: 0 / 0.7927 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003954/0.3758, allocations: 27.95 kB / 0.7927 GB, free: 5.848 MB / 0.6075 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) * Number of clocked states: 0 () * 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.0008027/0.3766, allocations: 0.7631 MB / 0.7935 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005168/0.3771, allocations: 183.3 kB / 0.7936 GB, free: 4.867 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3772, allocations: 4 kB / 0.7936 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001667/0.3773, allocations: 44.22 kB / 0.7937 GB, free: 4.82 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003119/0.3777, allocations: 15.92 kB / 0.7937 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001075/0.3788, allocations: 1.003 MB / 0.7947 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.3791, allocations: 0.6926 MB / 0.7954 GB, free: 3.012 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.493e-05/0.3791, allocations: 4 kB / 0.7954 GB, free: 3.008 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.3792, allocations: 19.42 kB / 0.7954 GB, free: 2.992 MB / 0.6075 GB Notification: Performance of SimCode: time 3.4e-07/0.3792, allocations: 4 kB / 0.7954 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01873/0.3979, allocations: 2.177 MB / 0.7975 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003339/0.3983, allocations: 182.7 kB / 0.7977 GB, free: 0.7109 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.784/2.183, allocations: 64 / 0.7977 GB, free: 0.7109 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1) Environment - environmentSimulation: