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.001242/0.001242, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001155/0.001155, allocations: 193.2 kB / 16.25 MB, free: 6.617 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.303/1.303, allocations: 205.1 MB / 222.1 MB, free: 4.711 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.563/1.563, allocations: 292.3 MB / 0.5486 GB, free: 13.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.001237/0.001237, allocations: 68.69 kB / 0.6711 GB, free: 26.27 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1549, allocations: 114.5 MB / 0.783 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001592/0.1565, allocations: 0.829 MB / 0.7838 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.1576, allocations: 1.142 MB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.666e-05/0.1577, allocations: 4 kB / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.676e-05/0.1577, allocations: 0 / 0.7849 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.336e-05/0.1578, allocations: 11.91 kB / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003682/0.1581, allocations: 123.9 kB / 0.785 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001253/0.1583, allocations: 115.8 kB / 0.7852 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.853e-05/0.1584, allocations: 19.97 kB / 0.7852 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.546e-05/0.1584, allocations: 55.83 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.78e-05/0.1585, allocations: 35.89 kB / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.1585, allocations: 8 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.469e-05/0.1586, allocations: 31.92 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.511e-05/0.1586, allocations: 11.94 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.252e-05/0.1587, allocations: 47.83 kB / 0.7854 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001326/0.1588, allocations: 108 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.1588, allocations: 3.984 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.42e-07/0.1588, allocations: 0 / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.507e-06/0.1588, allocations: 0 / 0.7855 GB, free: 11.21 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.000458/0.1593, allocations: 416.9 kB / 0.7859 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.1593, allocations: 8.031 kB / 0.7859 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.951e-05/0.1594, allocations: 38.75 kB / 0.7859 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.1594, allocations: 8.844 kB / 0.7859 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.468e-05/0.1595, allocations: 172.2 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.1595, allocations: 8.375 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.1595, allocations: 12.3 kB / 0.7861 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.1597, allocations: 66.17 kB / 0.7862 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.542e-06/0.1597, allocations: 3.938 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.1597, allocations: 3.984 kB / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-06/0.1597, allocations: 0 / 0.7862 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.1599, allocations: 47.95 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003787/0.1603, allocations: 328.7 kB / 0.7865 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000148/0.1604, allocations: 66.55 kB / 0.7866 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.89e-05/0.1605, allocations: 36.95 kB / 0.7866 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 9.708e-06/0.1606, allocations: 0 / 0.7866 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.1607, allocations: 83.36 kB / 0.7867 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.1608, allocations: 0 / 0.7867 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.0003702/0.1611, allocations: 149.5 kB / 0.7868 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.868e-05/0.1612, allocations: 51.41 kB / 0.7869 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.808e-05/0.1612, allocations: 117.8 kB / 0.787 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.094e-05/0.1613, allocations: 29.7 kB / 0.787 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.884e-05/0.1613, allocations: 96.03 kB / 0.7871 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.852e-05/0.1614, allocations: 15.81 kB / 0.7871 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.642e-05/0.1614, allocations: 45.69 kB / 0.7872 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.082e-05/0.1615, allocations: 314.8 kB / 0.7875 GB, free: 8.898 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.1617, allocations: 55.95 kB / 0.7875 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001522/0.1618, allocations: 84.25 kB / 0.7876 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.1621, allocations: 141.9 kB / 0.7878 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1621, allocations: 0 / 0.7878 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003984/0.1625, allocations: 215.2 kB / 0.788 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.1625, allocations: 37.64 kB / 0.788 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.1625, allocations: 4 kB / 0.788 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.726e-06/0.1626, allocations: 0 / 0.788 GB, free: 8.316 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.558e-05/0.1626, allocations: 11.98 kB / 0.788 GB, free: 8.305 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.1626, allocations: 8.25 kB / 0.788 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002017/0.1629, allocations: 39.89 kB / 0.7881 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.981e-05/0.1629, allocations: 7.984 kB / 0.7881 GB, free: 8.25 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 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,$whenCondition2,edge1.y,edge1.u,$PRE.edge1.u,booPul.y,$PRE.booPul.y,$whenCondition3) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.038e-05/0.163, allocations: 125.8 kB / 0.7882 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.468e-05/0.163, allocations: 7.906 kB / 0.7882 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.357e-05/0.163, allocations: 8.375 kB / 0.7882 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.163, allocations: 4 kB / 0.7882 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.163, allocations: 4.062 kB / 0.7882 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.163, allocations: 0 / 0.7882 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003981/0.1634, allocations: 382.4 kB / 0.7886 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.1635, allocations: 0 / 0.7886 GB, free: 7.664 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.322e-05/0.1635, allocations: 19.91 kB / 0.7886 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1635, allocations: 0 / 0.7886 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.1635, allocations: 4 kB / 0.7886 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.1635, allocations: 0 / 0.7886 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1635, allocations: 0 / 0.7886 GB, free: 7.641 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.1638, allocations: 215.3 kB / 0.7888 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.098e-05/0.1638, allocations: 81.02 kB / 0.7889 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.653e-05/0.1639, allocations: 3.984 kB / 0.7889 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.97e-05/0.164, allocations: 8 kB / 0.7889 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.091e-05/0.164, allocations: 11.92 kB / 0.7889 GB, free: 7.293 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.164, allocations: 4 kB / 0.7889 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.729e-05/0.1641, allocations: 91.27 kB / 0.789 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1641, allocations: 4 kB / 0.789 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002353/0.1643, allocations: 24 kB / 0.789 GB, free: 7.172 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 (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.0004967/0.1648, allocations: 0.7444 MB / 0.7897 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003412/0.1652, allocations: 183.2 kB / 0.7899 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.1652, allocations: 0 / 0.7899 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001082/0.1653, allocations: 39.92 kB / 0.79 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002396/0.1655, allocations: 19.92 kB / 0.79 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.1672, allocations: 1.7 MB / 0.7916 GB, free: 4.34 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002036/0.1674, allocations: 0.6885 MB / 0.7923 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.752e-05/0.1675, allocations: 4 kB / 0.7923 GB, free: 3.621 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.458e-05/0.1675, allocations: 23.44 kB / 0.7923 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.1675, allocations: 0 / 0.7923 GB, free: 3.602 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1613/0.3288, allocations: 2.369 MB / 0.7947 GB, free: 1.352 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002482/0.3291, allocations: 206.3 kB / 0.7948 GB, free: 1.094 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.689/2.019, allocations: 4.062 kB / 0.7949 GB, free: 1.09 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/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)