Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.281/1.281, allocations: 251.5 MB / 266.7 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008661/0.000866, allocations: 167.4 kB / 325.8 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.464/1.464, allocations: 205 MB / 0.576 GB, free: 21.01 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006638/0.0006637, allocations: 85.47 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003313/0.0003315, allocations: 8.625 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1907/0.1911, allocations: 105.4 MB / 0.8962 GB, free: 68.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001565/0.1927, allocations: 1.21 MB / 0.8974 GB, free: 66.84 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004282/0.1931, allocations: 217.9 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.544e-05/0.1932, allocations: 4 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.44e-05/0.1933, allocations: 3.938 kB / 0.8976 GB, free: 66.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.739e-05/0.1933, allocations: 3.938 kB / 0.8976 GB, free: 66.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001757/0.1935, allocations: 23.98 kB / 0.8976 GB, free: 66.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.31e-05/0.1936, allocations: 59.78 kB / 0.8977 GB, free: 66.53 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/0.1937, allocations: 28.19 kB / 0.8977 GB, free: 66.5 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.844e-05/0.1938, allocations: 15.88 kB / 0.8977 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.865e-05/0.1938, allocations: 23.91 kB / 0.8978 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.993e-05/0.1939, allocations: 4 kB / 0.8978 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.114e-05/0.1939, allocations: 0 / 0.8978 GB, free: 66.46 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.282e-05/0.1939, allocations: 11.92 kB / 0.8978 GB, free: 66.45 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.205e-05/0.194, allocations: 19.88 kB / 0.8978 GB, free: 66.43 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.341e-05/0.194, allocations: 47.83 kB / 0.8978 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1941, allocations: 0 / 0.8978 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.633e-06/0.1941, allocations: 0 / 0.8978 GB, free: 66.38 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.1941, allocations: 4 kB / 0.8978 GB, free: 66.38 MB / 0.6042 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.0004973/0.1946, allocations: 379.3 kB / 0.8982 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.1946, allocations: 8.031 kB / 0.8982 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.896e-05/0.1947, allocations: 34.75 kB / 0.8982 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.87e-05/0.1947, allocations: 8.844 kB / 0.8983 GB, free: 65.9 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.894e-05/0.1948, allocations: 188.1 kB / 0.8984 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.1948, allocations: 8.375 kB / 0.8984 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.1948, allocations: 384 / 0.8984 GB, free: 65.67 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000172/0.195, allocations: 66.23 kB / 0.8985 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.195, allocations: 7.922 kB / 0.8985 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1951, allocations: 4 kB / 0.8985 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.1951, allocations: 0 / 0.8985 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001724/0.1953, allocations: 59.95 kB / 0.8986 GB, free: 65.53 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.1957, allocations: 308.7 kB / 0.8989 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000364/0.196, allocations: 118.5 kB / 0.899 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.923e-05/0.1961, allocations: 36.95 kB / 0.899 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.1961, allocations: 0 / 0.899 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001961/0.1963, allocations: 91.38 kB / 0.8991 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 1.974e-06/0.1964, allocations: 3.984 kB / 0.8991 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0003679/0.1967, allocations: 145.5 kB / 0.8992 GB, free: 64.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.266e-05/0.1968, allocations: 55.41 kB / 0.8993 GB, free: 64.69 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.244e-05/0.1968, allocations: 113.8 kB / 0.8994 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.1969, allocations: 29.7 kB / 0.8994 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/0.1969, allocations: 96.09 kB / 0.8995 GB, free: 64.44 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.684e-05/0.1969, allocations: 15.81 kB / 0.8995 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.292e-05/0.1969, allocations: 21.72 kB / 0.8996 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.467e-05/0.197, allocations: 322.8 kB / 0.8999 GB, free: 64.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.675e-05/0.1971, allocations: 31.97 kB / 0.8999 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.836e-05/0.1973, allocations: 67.72 kB / 0.9 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001675/0.1974, allocations: 95.34 kB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.1974, allocations: 0 / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002171/0.1977, allocations: 117.8 kB / 0.9002 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.1977, allocations: 4 kB / 0.9002 GB, free: 63.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.1977, allocations: 8.031 kB / 0.9002 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.1977, allocations: 4 kB / 0.9002 GB, free: 63.72 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.744e-05/0.1978, allocations: 19.92 kB / 0.9002 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.615e-06/0.1978, allocations: 0 / 0.9002 GB, free: 63.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.202e-05/0.1979, allocations: 23.83 kB / 0.9002 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.462e-06/0.1979, allocations: 7.938 kB / 0.9002 GB, free: 63.67 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 (triggeredSampler.y,$PRE.triggeredSampler.y,$whenCondition1,edge1.y,edge1.u,$PRE.edge1.u,booPul.pulseStart,$PRE.booPul.pulseStart,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * 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 7.135e-05/0.198, allocations: 127.3 kB / 0.9004 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.198, allocations: 4 kB / 0.9004 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.726e-05/0.198, allocations: 8.375 kB / 0.9004 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.198, allocations: 0 / 0.9004 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.198, allocations: 7.984 kB / 0.9004 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.1981, allocations: 0 / 0.9004 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003614/0.1984, allocations: 378.3 kB / 0.9007 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.1984, allocations: 0 / 0.9007 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.832e-05/0.1985, allocations: 11.98 kB / 0.9007 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1985, allocations: 0 / 0.9007 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.496e-06/0.1985, allocations: 0 / 0.9007 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1985, allocations: 0 / 0.9007 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1985, allocations: 4.328 kB / 0.9007 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.1987, allocations: 211.5 kB / 0.901 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.616e-05/0.1988, allocations: 81.02 kB / 0.901 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.67e-05/0.1988, allocations: 0 / 0.901 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.1989, allocations: 28.05 kB / 0.9011 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.583e-05/0.199, allocations: 15.86 kB / 0.9011 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.16e-06/0.199, allocations: 0 / 0.9011 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.32e-05/0.199, allocations: 95.27 kB / 0.9012 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.199, allocations: 0 / 0.9012 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002123/0.1992, allocations: 12 kB / 0.9012 GB, free: 62.61 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (edge1.y,$whenCondition2,$whenCondition1,booPul.pulseStart,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 (7): * Single equations (assignments): 5 * 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.000417/0.1997, allocations: 0.7358 MB / 0.9019 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002223/0.1999, allocations: 91.86 kB / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.1999, allocations: 0 / 0.902 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001027/0.2, allocations: 44.2 kB / 0.902 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002592/0.2003, allocations: 20.05 kB / 0.902 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001274/0.2016, allocations: 1.493 MB / 0.9035 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.2017, allocations: 0.6887 MB / 0.9042 GB, free: 59.39 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.192e-05/0.2017, allocations: 7.859 kB / 0.9042 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.255e-05/0.2018, allocations: 19.42 kB / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of SimCode: time 3.2e-07/0.2018, allocations: 0 / 0.9042 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01311/0.2149, allocations: 1.636 MB / 0.9058 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001586/0.2151, allocations: 213 kB / 0.906 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.572/1.787, allocations: 0 / 0.906 GB, free: 57.6 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Edge_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Logical_Validation_Edge.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.pipe 2>&1)