Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.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.Edge,fileNamePrefix="Buildings_8_0_0_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_0_0_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.0/package.mo): time 2.781/2.781, allocations: 287.3 MB / 302.3 MB, free: 8.25 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.001531/0.001531, allocations: 182.7 kB / 370.8 MB, free: 10.88 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.211/2.211, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001167/0.001167, allocations: 90.31 kB / 0.7428 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007719/0.0007723, allocations: 12.81 kB / 0.8657 GB, free: 140.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2095/0.2103, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.0009499/0.2113, allocations: 470.4 kB / 0.9787 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001545/0.2129, allocations: 1.115 MB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.271e-05/0.213, allocations: 0 / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.49e-05/0.213, allocations: 3.938 kB / 0.9798 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.452e-05/0.2131, allocations: 11.97 kB / 0.9798 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005968/0.2137, allocations: 122.6 kB / 0.98 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.2139, allocations: 51.94 kB / 0.98 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.214, allocations: 23.97 kB / 0.98 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 9.263e-05/0.2141, allocations: 43.89 kB / 0.9801 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.922e-05/0.2142, allocations: 31.89 kB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.2142, allocations: 4 kB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.582e-05/0.2143, allocations: 19.92 kB / 0.9801 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.184e-05/0.2143, allocations: 8 kB / 0.9801 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.788e-05/0.2144, allocations: 37.7 kB / 0.9802 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001433/0.2145, allocations: 76.09 kB / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.2146, allocations: 3.938 kB / 0.9802 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2146, allocations: 0 / 0.9802 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.2146, allocations: 8 kB / 0.9803 GB, free: 26.27 MB / 0.6198 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.0005668/0.2152, allocations: 396.8 kB / 0.9806 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.2152, allocations: 12.02 kB / 0.9806 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.176e-05/0.2153, allocations: 34.56 kB / 0.9807 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.115e-05/0.2153, allocations: 15.92 kB / 0.9807 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.673e-05/0.2154, allocations: 166.9 kB / 0.9809 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.66e-05/0.2155, allocations: 4 kB / 0.9809 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.448e-05/0.2155, allocations: 15.94 kB / 0.9809 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000256/0.2158, allocations: 69.64 kB / 0.9809 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.2158, allocations: 0 / 0.9809 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.261e-05/0.2158, allocations: 4 kB / 0.9809 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/0.2158, allocations: 0 / 0.9809 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003225/0.2162, allocations: 59.89 kB / 0.981 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005356/0.2167, allocations: 332.7 kB / 0.9813 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000245/0.217, allocations: 62.56 kB / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.217, allocations: 4.109 kB / 0.9814 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000307/0.2173, allocations: 99.27 kB / 0.9815 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 2.515e-06/0.2173, allocations: 4 kB / 0.9815 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.0006485/0.218, allocations: 153.7 kB / 0.9816 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.123e-05/0.2181, allocations: 59.34 kB / 0.9817 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.19e-05/0.2182, allocations: 121.7 kB / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.2182, allocations: 33.7 kB / 0.9818 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.62e-05/0.2183, allocations: 92.12 kB / 0.9819 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.567e-05/0.2183, allocations: 15.81 kB / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.86e-05/0.2183, allocations: 0 / 0.9819 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.174e-05/0.2184, allocations: 322.8 kB / 0.9822 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000248/0.2187, allocations: 55.97 kB / 0.9823 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002622/0.2189, allocations: 89.75 kB / 0.9824 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002556/0.2192, allocations: 85.67 kB / 0.9825 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.2192, allocations: 0 / 0.9825 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006592/0.2199, allocations: 227.2 kB / 0.9827 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.479e-05/0.22, allocations: 37.69 kB / 0.9827 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.22, allocations: 0 / 0.9827 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.22, allocations: 4 kB / 0.9827 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.2202, allocations: 8 kB / 0.9827 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.2202, allocations: 11.92 kB / 0.9827 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003959/0.2206, allocations: 55.89 kB / 0.9828 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.329e-05/0.2207, allocations: 15.92 kB / 0.9828 GB, free: 23.39 MB / 0.6198 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.0001134/0.2208, allocations: 115.7 kB / 0.9829 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.2208, allocations: 11.91 kB / 0.9829 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.779e-05/0.2209, allocations: 4.375 kB / 0.9829 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.2209, allocations: 8 kB / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.2209, allocations: 64 / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.722e-06/0.2209, allocations: 7.984 kB / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006439/0.2216, allocations: 394.3 kB / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.2216, allocations: 0 / 0.9833 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.432e-05/0.2217, allocations: 15.92 kB / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.2217, allocations: 0 / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.2217, allocations: 0 / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.036e-06/0.2218, allocations: 0 / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.2218, allocations: 3.953 kB / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004175/0.2222, allocations: 219.4 kB / 0.9836 GB, free: 22.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.077e-05/0.2222, allocations: 89 kB / 0.9836 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/0.2223, allocations: 3.984 kB / 0.9836 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001371/0.2224, allocations: 4 kB / 0.9836 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.81e-05/0.2225, allocations: 11.98 kB / 0.9837 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.2225, allocations: 7.953 kB / 0.9837 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.141e-05/0.2226, allocations: 95.27 kB / 0.9838 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.3e-07/0.2226, allocations: 0 / 0.9838 GB, free: 22.33 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003819/0.223, allocations: 20 kB / 0.9838 GB, free: 22.31 MB / 0.6198 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.0007165/0.2237, allocations: 0.7596 MB / 0.9845 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00059/0.2243, allocations: 187.3 kB / 0.9847 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2243, allocations: 0 / 0.9847 GB, free: 21.32 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001923/0.2245, allocations: 44.05 kB / 0.9847 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.2248, allocations: 13.56 kB / 0.9847 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007607/0.2256, allocations: 1.011 MB / 0.9857 GB, free: 20.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.2257, allocations: 0.6926 MB / 0.9864 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.971e-05/0.2258, allocations: 4 kB / 0.9864 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.659e-05/0.2259, allocations: 19.44 kB / 0.9864 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of SimCode: time 1.032e-06/0.2259, allocations: 0 / 0.9864 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02114/0.247, allocations: 2.199 MB / 0.9886 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/0.2473, allocations: 181.3 kB / 0.9888 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.456/2.704, allocations: 0 / 0.9888 GB, free: 17.16 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)